Guest Posted April 4, 2003 Share Posted April 4, 2003 Hi, I tried to upgrade from 2.1 to 2.2MS1... Never succeeded. I followed installation steps. There is nothing special anyway. But it does'nt work: I'm still fighting with this error: Fatal error: Failed opening required 'includes/languages/.php' (include_path='') in /home/sites/site11/web/admin/includes/application_top.php on line 190 when trying to view the administration page or Warning: open_basedir restriction in effect. File is in wrong directory in /home/sites/site11/web/catalog/includes/application_top.php on line 265 Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/sites/site11/web/catalog/includes/application_top.php on line 265 when trying to view the catalog. My biggest problem is that I only have one mysql database with my current ISP (yes, I'll change soon..) so I cannot run both version at a time... I have to shut down the service, do the tests and turn it back on :-( Does anybody have an idea ? Thanks in advance ! Have a great day, Yann Link to comment Share on other sites More sharing options...
wizardsandwars Posted April 4, 2003 Share Posted April 4, 2003 Um, you have a file names 'includes/languages/.php' ? You are not supposed to. OSC does not have a file name .php. Looks like you've accidentally changes the name of one of the filenames in application_top.php. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 It's standard in application_top.php Line 264 /catalog/includes/ and Line 190 /main/includes/ // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); so if DIR_WS_LANGUAGES is includes/, then I get this error. This '.php' looks strange (I'm not a php genious) but I found the same line in previous versions and latest releases. It looks like a pth problem, but I tried a lot of differents ways to put the paths in configure.php with no result :cry: Link to comment Share on other sites More sharing options...
wizardsandwars Posted April 4, 2003 Share Posted April 4, 2003 No, this is incorrect. $language is supposed to be defined as "english", or "german", or whatever your default language is. Obvioulsy, your default language is not properly configured, and therefore $language is not defined, giveing you a ".php", instead if "english.php" ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
suenos Posted April 5, 2003 Share Posted April 5, 2003 i had the same problem until i inserted the data from oscommerce.sql in that file is a line INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Language', 'DEFAULT_LANGUAGE', 'en', 'Default Language', '6', '0', now()); once that error cleared i was able to login to admin and finish you might try just inserting that line and see if error clears note that i did not use the install wizard. Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2003 Share Posted April 8, 2003 Thanks. But unfortunately it does not work. I checked the configuration table and I already had: 176 Default Language DEFAULT_LANGUAGE en Default Language 6 0 NULL 2003-04-08 15:26:16 NULL NULL So it should be OK, no ? Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2003 Share Posted April 11, 2003 Does nobody has a little answer for me about that :-( I don't find any idea to troubleshoot this problem. Thanks in advance ! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.