Post by Yzn_1 » Mon May 02, 2016 5:36 am

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

Attachments

image.jpeg

image.jpeg (540.64 KiB) Viewed 4196 times

Last edited by Yzn_1 on Mon May 02, 2016 6:46 am, edited 1 time in total.

New member

Posts

Joined
Wed Feb 22, 2012 3:52 pm

Post by IP_CAM » Mon May 02, 2016 6:20 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Yzn_1 » Mon May 02, 2016 6:40 am


New member

Posts

Joined
Wed Feb 22, 2012 3:52 pm

Post by IP_CAM » Mon May 02, 2016 7:36 am

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
Last edited by IP_CAM on Mon Jun 06, 2016 1:48 am, edited 1 time in total.

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Yzn_1 » Mon May 02, 2016 7:41 am

I really apreciate your help,
Could you please show me how to fix my configuration file
Thanks in advance

New member

Posts

Joined
Wed Feb 22, 2012 3:52 pm

Post by IP_CAM » Mon May 02, 2016 7:52 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Yzn_1 » Mon May 02, 2016 8:04 am

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_');
?>

New member

Posts

Joined
Wed Feb 22, 2012 3:52 pm

Post by Yzn_1 » Mon May 02, 2016 8:10 am

<?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_');
?>

New member

Posts

Joined
Wed Feb 22, 2012 3:52 pm

Post by IP_CAM » Tue May 03, 2016 3:58 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ionetd » Wed Jun 01, 2016 11:18 am

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

New member

Posts

Joined
Thu Sep 25, 2014 2:53 am

Post by straightlight » Mon Jun 06, 2016 1:18 am

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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 65 guests