Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error codes when moving webhosts


onlinegourmetfood

Recommended Posts

Posted

Hi

 

Not sure if anyone here can help?

 

I have just moved webhosters and when I go to my webiste [v2.3] it initially loads the homepage but if you click anywhere it then gives the error message

 

Fatal error: require(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jomaysgi/public_html/shop/includes/application_top.php on line 282

 

if we try to login to backend admin we get the error message:

Warning: require(includes/languages/.php): failed to open stream: No such file or directory in /home/jomaysgi/public_html/shop/admin/includes/application_top.php on line 168

Warning: require(includes/languages/.php): failed to open stream: No such file or directory in /home/jomaysgi/public_html/shop/admin/includes/application_top.php on line 168

Fatal error: require(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jomaysgi/public_html/shop/admin/includes/application_top.php on line 168

 

thanks in advance for any information [webhosters are working on it but just thought I would ask]

Jo

Posted

I would suggest to recheck your 2 configure.php files to confirm all info is correct. There is one in shop side and one in admin so be careful not to mix them up and of course make backups of any files you are working with.

 

includes/configure.php and admin/includes/configure.php

Posted

osC 2.3 is rather old, especially if your host is now at PHP 5.4 or later. In that case, you should upgrade to 2.3.4. The problem you're seeing is that $language is not being set in application_top.php (for certain PHP levels, I understand), which was fixed in a later version of osC (2.3.3 or thereabouts). You might as well go to the current level (2.3.4 standard or Bootstrap).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...