EvkMusic Posted December 31, 2004 Posted December 31, 2004 Hi guys, after the installation of the italian language modules I read this error: Fatal error: Failed opening required 'includes/languages/oscommerce/catalog/includes/lang.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site171/fst/var/www/html/oscommerce/catalog/includes/application_top.php on line 285 The file includes/languages/oscommerce/catalog/includes/lang.php don't exists! What can i do?
♥Vger Posted December 31, 2004 Posted December 31, 2004 Did you delete other languages from your site, by deleting the actual folders? Vger
EvkMusic Posted December 31, 2004 Author Posted December 31, 2004 Did you delete other languages from your site, by deleting the actual folders? Vger <{POST_SNAPBACK}> No, i have simply uploaded the files...+ Thanks for your help
EvkMusic Posted December 31, 2004 Author Posted December 31, 2004 Fatal error: Failed opening required 'includes/languages/oscommerce/catalog/includes/lang.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site171/fst/var/www/html/oscommerce/catalog/includes/application_top.php on line 285 <{POST_SNAPBACK}> It's a my stupid configuration error :( In the language path i have inserted "includes/languages/italian", instead of "italian"! Then I have choosed italian as default language, so I have caused the bug. Now I have corrected the table in the sql database, but the error continue... in the administration tool (the store is accessible).
♥Vger Posted December 31, 2004 Posted December 31, 2004 Okay - let me guess? You are based in the UK. Your hosting company name has 9 letters, begins with F, ends in S, and you are trying to run this site on a Windows 2k3 server with Envisage architecture, and PHP installed on Windows? How close am I? I am also guessing that the Italian language pack you installed was not for osCommerce MS2.2, but for perhaps the cgi version of osCommerce, or maybe for 2.1 version. Please check if the lanaguage pack you installed is suitable for MS2.2 Vger
EvkMusic Posted January 1, 2005 Author Posted January 1, 2005 I am also guessing that the Italian language pack you installed was not for osCommerce MS2.2, but for perhaps the cgi version of osCommerce, or maybe for 2.1 version. Please check if the lanaguage pack you installed is suitable for MS2.2 Vger <{POST_SNAPBACK}> Happy New year Vger :-) My host is in Italy, Linux-Based (Unix Forever!). The language version is the correct one for MS2.2. I don't understand why, after the correction of the database table, the admin tool continues to find this erroneus path:"includes/languages/oscommerce/catalog/includes/lang.php" Now the error message is "Fatal error: Failed opening required 'includes/languages/oscommerce/catalog/includes/lang.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site171/fst/var/www/html/oscommerce/catalog/admin/includes/application_top.php on line 130"
♥Vger Posted January 1, 2005 Posted January 1, 2005 When you say what's quoted below - do you mean that this is the path you have put into your configure.php file? Because it should just read: define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Vger It's a my stupid configuration error :( In the language path i have inserted "includes/languages/italian", instead of "italian"! Then I have choosed italian as default language, so I have caused the bug. Now I have corrected the table in the sql database, but the error continue... in the administration tool (the store is accessible). <{POST_SNAPBACK}>
EvkMusic Posted January 1, 2005 Author Posted January 1, 2005 When you say what's quoted below - do you mean that this is the path you have put into your configure.php file? Vger <{POST_SNAPBACK}> The problem has been solved, thank you very much! A last question: for php-nuke the folder permissions must be 777 and file permissions 666. For oscommerce too?
♥Vger Posted January 1, 2005 Posted January 1, 2005 Most folders and files will be set by default in osCommerce. It is just the 'images' folders which must be set to 755 (if they are not already set to that), and the catalog/includes/configure.php should be set to 400 after the install is complete. Personally, I also set the catalog/admin/includes/configure.php to 400 also. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.