baig772 Posted November 22, 2012 Posted November 22, 2012 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
MrPhil Posted November 25, 2012 Posted November 25, 2012 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.