Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change of configuration


baig772

Recommended Posts

Posted

Hi all,

I am really new to OSCommerce, I downloaded the OSCommerce store from live server to my local and changed the database info in config.php. but it still gives me the following error

 

Warning: require(includes/languages/.php): failed to open stream: No such file or directory in G:\xampp\htdocs\1ShopImport\includes\application_top.php on line 279

 

Fatal error: require(): Failed opening required 'includes/languages/.php' (include_path='.;\xampp\php\PEAR') in G:\xampp\htdocs\1ShopImport\includes\application_top.php on line 279

 

what more changes in config.php i have to do?

I am in real trouble right now, any help will be appriciated

 

Thanks in advance

Posted

It has nothing to do with configure.php. It is looking in application_top.php for a language file $language.php, but $language is undefined or empty. That's why you get the error message about trying to load ".php". Unfortunately, this is a bad bug in osCommerce that the developers won't look at. It's been discussed many times, but I don't think a clear solution has ever been found. Anyway, there are some suggestions in the discussions for setting a default language in application_top.php, if it finds itself in a situation where no language is defined in $language.

Archived

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

×
×
  • Create New...