Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP errors appeared overnight


xperience

Recommended Posts

On one of our servers, a couple of osc installations have suddently stopped working giving the following error:

 

 

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

I'm trying to find out if cPanel has upgraded something but can anyone give me an idea what I can do to get them back online?

 

Cheers

Link to comment
Share on other sites

On one of our servers, a couple of osc installations have suddently stopped working giving the following error:

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/shop/includes/application_top.php on line 284

 

I'm trying to find out if cPanel has upgraded something but can anyone give me an idea what I can do to get them back online?

 

Cheers

 

Does this file exist?

 

/shop/includes/application_top.php

Link to comment
Share on other sites

I would say that you have a problem with the languages table in your database.

 

The key is . . includes/languages/.php

 

the .php should be english.php or spanish.php or whatever.

 

Check in your admin panel admin->Localization->Languages and make sure that there is at least a language in there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...