Post by neural_oD » Sat Nov 17, 2018 12:13 pm

Hi All
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:
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
Also here's information on my php setup:
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);
*** I've removed username, password, db and prefix - but I've double checked to see if all is correct.

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);
?>
*** I've removed username, password, db and prefix - but I've double checked to see if all is correct.

So I'm pretty stuck guys need your help. Any advise would be appreciated.

Newbie

Posts

Joined
Fri Jun 09, 2017 2:16 am

Post by IP_CAM » Sat Nov 17, 2018 1:26 pm

loading /usr/local/php52/lib/php/extensions/ioncube.so:
Well, this Problem seems to be related to one or multiple Extensions, using that
IONCUBE way of doing things. And since you changed Server, they probably need
to 'unlock' your Site again, or something like this, to make it work again ... ::)
But I just assume this, since I never use Code, using such 'strange to me' methods,
to do it's Job.
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 neural_oD » Sat Nov 17, 2018 1:35 pm

IP_CAM wrote:
Sat Nov 17, 2018 1:26 pm
loading /usr/local/php52/lib/php/extensions/ioncube.so:
Well, this Problem seems to be related to one or multiple Extensions, using that
IONCUBE way of doing things. And since you changed Server, they probably need
to 'unlock' your Site again, or something like this, to make it work again ... ::)
But I just assume this, since I never use Code, using such 'strange to me' methods,
to do it's Job.
Ernie
IP_CAM - thanks for getting back to me. How would I delete the extensions from the command line. I saw in a post somewhere they mentioned looking for a folder in the system/ folder. However this I think is related to a newer version. Would you be able to point me in the right direction for removing an extension in version 1.4.9.3. I have googled, but not finding any joy with that

Newbie

Posts

Joined
Fri Jun 09, 2017 2:16 am

Post by IP_CAM » Sat Nov 17, 2018 2:11 pm

Well, I am absolutely unfamiliar with that stuff, but you find
more information by searching Google for this:
"ioncube+opencart"
Good Luck ;)
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 neural_oD » Sat Nov 17, 2018 2:35 pm

No problem, thanks for the help, will check more on google.

Newbie

Posts

Joined
Fri Jun 09, 2017 2:16 am

Post by IP_CAM » Sat Nov 17, 2018 9:43 pm

That's the Fellow, probably in charge of this, as I recall:
viewtopic.php?f=10&t=208337
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
Who is online

Users browsing this forum: No registered users and 34 guests