Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help for a italian newbie


EvkMusic

Recommended Posts

Posted

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?

Posted
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

 

 

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).

Posted

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

Posted
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

 

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"

Posted

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).

Posted
When you say what's quoted below - do you mean that this is the path you have put into your configure.php file?

Vger

 

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?

Posted

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

Archived

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

×
×
  • Create New...