Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing osCommerce for the first time


Guest

Recommended Posts

Posted

Hi,

 

I am trying to install osCommerce on a Windows 2003, IIS, MySQL system but once the install which works finishes and I click either of the buttons for Catelog or Admin I get the following error

 

...

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in E:\WebSites\Development\osCom\catalog\admin\includes\application_top.php on line 157

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\php5\pear') in E:\WebSites\Development\osCom\catalog\admin\includes\application_top.php on line 157

...

 

 

Can you please help

 

Joolz

Posted

Hi,

 

I have managed to get it to work by changing the following line in the application_top.php file, it looks as if the var $language is not being set? I have checked the config files and there is not line to set the default language

 

// include the language translations

// Change this

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

 

//To this

 

require(DIR_WS_LANGUAGES . 'english' . '.php');

 

Any thoughts

Joolz

Archived

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

×
×
  • Create New...