Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to find language file?


Bryan

Recommended Posts

I am trying to create a mirror store (for some testing purposes) and I thought that things were set up verbatim to my live store but I guess not:)

 

When accessing the front page of the store I get the following error:

 

Warning: main(includes/languages/.php) [function.main]: failed to create stream: No such file or directory in /path/to/application_top.php on line 261



Fatal error: main() [function.main]: Failed opening required 'includes/languages/.php' (include_path='') in /path/to/application_top.php on line 261

 

Line 261 of that file is as follows:

 

require(DIR_WS_LANGUAGES . $language . '.php');

 

I checked and I do have a valid english.php file where it is looking but it appears from the error that it is not resolving the $language variable to 'english' for some reason.

 

Ideas on where I went wrong?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...