Page 1 of 1

Need help

Posted: Mon May 02, 2016 5:36 am
by Yzn_1
Hello,
I got this error several time on my site, how can i fix it ( please check attachment)
Website is: www.ebuyjo.com
Thanks in Advance

Re: Need help

Posted: Mon May 02, 2016 6:20 am
by IP_CAM
by publishing your URL only, anything else would be plain guessing.
But generally spoken, the path to your stylesheet.css file cannot be found, for what reason ever... ;)
Ernie

Re: Need help

Posted: Mon May 02, 2016 6:40 am
by Yzn_1

Re: Need help

Posted: Mon May 02, 2016 7:36 am
by IP_CAM
your real href url:
<base href="http://ebuyjo.com/store/" />
some header-link-href's:
http://ebuyjo.ebuyjo.netdna-cdn.com/

Fix your Configuration Files, then it will function!
Ernie

Re: Need help

Posted: Mon May 02, 2016 7:41 am
by Yzn_1
I really apreciate your help,
Could you please show me how to fix my configuration file
Thanks in advance

Re: Need help

Posted: Mon May 02, 2016 7:52 am
by IP_CAM
NOP, I cannot, you have to show us YOUR BOTH Config.php Files, in order to be assisted. Just remove your DB-Password, but leave everything else, and copy/paste the content of each one
(the /shop/config.php + the /shop/admin/config.php file)
here, or make an image of them, and publish it here.
Ernie

Re: Need help

Posted: Mon May 02, 2016 8:04 am
by Yzn_1

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://ebuyjo.com/store/');
define('HTTP_IMAGE', 'http://ebuyjo.com/store/image/');
define('HTTP_ADMIN', 'http://ebuyjo.com/store/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://ebuyjo.com/store/');
define('HTTPS_IMAGE', 'https://ebuyjo.com/store/image/');

// DIR
define('DIR_APPLICATION', '/home/yazansh/public_html/ebuyjo.com/store/catalog/');
define('DIR_SYSTEM', '/home/yazansh/public_html/ebuyjo.com/store/system/');
define('DIR_DATABASE', '/home/yazansh/public_html/ebuyjo.com/store/system/database/');
define('DIR_LANGUAGE', '/home/yazansh/public_html/ebuyjo.com/store/catalog/language/');
define('DIR_TEMPLATE', '/home/yazansh/public_html/ebuyjo.com/store/catalog/view/theme/');
define('DIR_CONFIG', '/home/yazansh/public_html/ebuyjo.com/store/system/config/');
define('DIR_IMAGE', '/home/yazansh/public_html/ebuyjo.com/store/image/');
define('DIR_CACHE', '/home/yazansh/public_html/ebuyjo.com/store/system/cache/');
define('DIR_DOWNLOAD', '/home/yazansh/public_html/ebuyjo.com/store/download/');
define('DIR_LOGS', '/home/yazansh/public_html/ebuyjo.com/store/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'yazansh_ocrt758');
define('DB_PASSWORD', ');
define('DB_DATABASE', 'yazansh_wikdnr73hr98sn45');
define('DB_PREFIX', 'ocrt_');
?>

Re: Need help

Posted: Mon May 02, 2016 8:10 am
by Yzn_1
<?php
// HTTP
define('HTTP_SERVER', 'http://ebuyjo.com/store/admin/');
define('HTTP_CATALOG', 'http://ebuyjo.com/store/');
define('HTTP_IMAGE', 'http://ebuyjo.com/store/image/');

// HTTPS
define('HTTPS_SERVER', 'https://ebuyjo.com/store/admin/');
define('HTTPS_IMAGE', 'https://ebuyjo.com/store/image/');

// DIR
define('DIR_APPLICATION', '/home/yazansh/public_html/ebuyjo.com/store/admin/');
define('DIR_SYSTEM', '/home/yazansh/public_html/ebuyjo.com/store/system/');
define('DIR_DATABASE', '/home/yazansh/public_html/ebuyjo.com/store/system/database/');
define('DIR_LANGUAGE', '/home/yazansh/public_html/ebuyjo.com/store/admin/language/');
define('DIR_TEMPLATE', '/home/yazansh/public_html/ebuyjo.com/store/admin/view/template/');
define('DIR_CONFIG', '/home/yazansh/public_html/ebuyjo.com/store/system/config/');
define('DIR_IMAGE', '/home/yazansh/public_html/ebuyjo.com/store/image/');
define('DIR_CACHE', '/home/yazansh/public_html/ebuyjo.com/store/system/cache/');
define('DIR_DOWNLOAD', '/home/yazansh/public_html/ebuyjo.com/store/download/');
define('DIR_LOGS', '/home/yazansh/public_html/ebuyjo.com/store/system/logs/');
define('DIR_CATALOG', '/home/yazansh/public_html/ebuyjo.com/store/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'yazansh_ocrt758');
define('DB_PASSWORD', ';
define('DB_DATABASE', 'yazansh_wikdnr73hr98sn45');
define('DB_PREFIX', 'ocrt_');
?>

Re: Need help

Posted: Tue May 03, 2016 3:58 am
by IP_CAM
this is a funny OC v.1.5.6.x setup, at least, I have not yet seen something like it !
--
you have this in your SITE/config.php, but it would not belong there: (by Default!)
define('HTTP_ADMIN', 'http://ebuyjo.com/store/admin/');
---
But in your admin/config.php, you have no:
define('HTTPS_CATALOG', 'http://ebuyjo.com/store/');
Link-line either.
---
And you should change this:
define('DB_DRIVER', 'mysql');
better to this:
define('DB_DRIVER', 'mysqli');
in both config.php files, to keep up with newer PHP Versions,
not longer supporting the old and slow mysql - standard.
---
Still, you had this weird stylesheet/JS-linking in your header.tpl, therefore, I assume,
that, 'link'-wise, something else has been done to this header.tpl, creating all those invalid links.

Better show me the top 30 Lines of your ../YOURtheme/template/common/header.tpl File, but make sure first,
to use NO VqMod, changing anything in this header.tpl.

And next time, PLEASE always NAME your files, to make Life a little easier for those, trying to assist... ;)
Ernie

Re: Need help

Posted: Wed Jun 01, 2016 11:18 am
by ionetd
can some one please tell me what is this problem and can i fix it ? thank you

Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /home/cvtre/public_html/system/database/mysqli.php on line 6

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Could not make a database link (2002) No such file or directory' in /home/cvtre/public_html/system/database/mysqli.php:9 Stack trace: #0 /home/cvtre/public_html/vqmod/vqcache/vq2-system_library_db.php(13): DBMySQLi->__construct('localhost', 'shdatab', 'parola', 'shdatab') #1 /home/cvtre/public_html/index.php(44): DB->__construct('mysqli', 'localhost', 'shdatab', 'parola', 'shdatab') #2 {main} thrown in /home/cvtre/public_html/system/database/mysqli.php on line 9

Re: Need help

Posted: Mon Jun 06, 2016 1:18 am
by straightlight
This error is either caused by a failed upgrade between OC versions or an installed contribution insisting on using mySQLi extension. Take note that, nowadays, OC v2+ insists on the use of this library due to the deprecation of the preceded mySQL library from the industry.

One way to resolved this would be by referring to this topic: http://forum.opencart.com/viewtopic.php ... it=upgrade