Let me fill you in on my situation. I've a client, who I've now had to move their Opencart installation off the current server, due to their old server being down.
The new server has updated php and mysql compared to the old one. I've moved the files across from a backup. Initially had an error, but that was easily fixed - was a path issue.
Moving across, I took all the files in the public_html directory - put on new server, set up db. Changed the config.php and admin/config.php paths and new db details.
Now the problem is that there is nothing. No main page, no admin area, just a blank screen. I've been searching forums, trying different things to no avail. I've changed mysql to mysqli and also tried to download another: dbmysqli as per this page: https://www.opencart.com/index.php?rout ... nload_id=8
I've noted from the index.php that this is a version 1.4.9.3.
I'm a bit stuck, not a opencart expert, but know my way around command line, and pretty well versed generally.
Looking at the apache logs this is the only thing pertaining to my ip address:
Also here's information on my php setup:Sat Nov 17 06:04:05.870850 2018] [:error] [pid 19120:tid 140240318588672] [client 155.93.153.254:39938] Failed loading /usr/local/php52/lib/php/extensions/ioncube.so: /usr/local/php52/lib/php/extensions/ioncube.so: cannot open shared object file: No such file or directory
[Sat Nov 17 06:04:05.871152 2018] [:error] [pid 19120:tid 140240318588672] [client 155.93.153.254:39938] Failed loading /usr/local/php52/lib/php/extensions/ZendOptimizer.so: /usr/local/php52/lib/php/extensions/ZendOptimizer.so: cannot open shared object file: No such file or directory
[Sat Nov 17 06:04:05.871455 2018] [:error] [pid 19120:tid 140240318588672] [client 155.93.153.254:39938] Failed loading /usr/local/php52/lib/php/extensions/ioncube.so: /usr/local/php52/lib/php/extensions/ioncube.so: cannot open shared object file: No such file or directory
[Sat Nov 17 06:04:05.871592 2018] [:error] [pid 19120:tid 140240318588672] [client 155.93.153.254:39938] Failed loading /usr/local/php52/lib/php/extensions/ZendOptimizer.so: /usr/local/php52/lib/php/extensions/ZendOptimizer.so: cannot open shared object file: No such file or directory
http://www.urbanbabies.co.za/OnlineShop/tessssst.php
So I'm getting no errors showing but not sure why it's not working. Below is a copy of the config.php and admin/config.php files:
config.php
Code: Select all
ini_set('display_errors', 'on');
define('DIR_APPLICATION', '/home/urbanbabiesco/public_html/OnlineShop/catalog/');
define('DIR_SYSTEM', '/home/urbanbabiesco/public_html/OnlineShop/system/');
define('DIR_DATABASE', '/home/urbanbabiesco/public_html/OnlineShop/system/database/');
define('DIR_LANGUAGE', '/home/urbanbabiesco/public_html/OnlineShop/catalog/language/');
define('DIR_TEMPLATE', '/home/urbanbabiesco/public_html/OnlineShop/catalog/view/theme/');
define('DIR_CONFIG', '/home/urbanbabiesco/public_html/OnlineShop/system/config/');
define('DIR_IMAGE', '/home/urbanbabiesco/public_html/OnlineShop/image/');
define('DIR_CACHE', '/home/urbanbabiesco/public_html/OnlineShop/system/cache/');
define('DIR_DOWNLOAD', '/home/urbanbabiesco/public_html/OnlineShop/download/');
define('DIR_LOGS', '/home/urbanbabiesco/public_html/OnlineShop/system/logs/');
// DB
define('DB_DRIVER', 'dbmysqli');
define('DB_HOSTNAME', '127.0.0.1');
define('DB_USERNAME', 'Username');
define('DB_PASSWORD', 'BLANK);
define('DB_DATABASE', 'database');
define('DB_PREFIX', 'prefix);
admin/config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.urbanbabies.co.za/OnlineShop/admin/');
define('HTTP_CATALOG', 'http://www.urbanbabies.co.za/OnlineShop/');
define('HTTP_IMAGE', 'http://www.urbanbabies.co.za/OnlineShop/image/');
// HTTPS
define('HTTPS_SERVER', 'http://www.urbanbabies.co.za/OnlineShop/admin/');
define('HTTPS_IMAGE', 'http://www.urbanbabies.co.za/OnlineShop/image/');
// DIR
define('DIR_APPLICATION', '/home/urbanbabiesco/public_html/OnlineShop/admin/');
define('DIR_SYSTEM', '/home/urbanbabiesco/public_html/OnlineShop/system/');
define('DIR_DATABASE', '/home/urbanbabiesco/public_html/OnlineShop/system/database/');
define('DIR_LANGUAGE', '/home/urbanbabiesco/public_html/OnlineShop/admin/language/');
define('DIR_TEMPLATE', '/home/urbanbabiesco/public_html/OnlineShop/admin/view/template/');
define('DIR_CONFIG', '/home/urbanbabiesco/public_html/OnlineShop/system/config/');
define('DIR_IMAGE', '/home/urbanbabiesco/public_html/OnlineShop/image/');
define('DIR_CACHE', '/home/urbanbabiesco/public_html/OnlineShop/system/cache/');
define('DIR_DOWNLOAD', '/home/urbanbabiesco/public_html/OnlineShop/download/');
define('DIR_LOGS', '/home/urbanbabiesco/public_html/OnlineShop/system/logs/');
define('DIR_CATALOG', '/home/urbanbabiesco/public_html/OnlineShop/catalog/');
// DB
define('DB_DRIVER', 'dbmysqli');
define('DB_HOSTNAME', '127.0.0.1');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'db');
define('DB_PREFIX', 'prefix);
?>
So I'm pretty stuck guys need your help. Any advise would be appreciated.