Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce Question?


ST3 Design

Recommended Posts

Hi,

 

When I go in index.php of my osCommerce, he writes this this error to me and I would like to know well how to correct it.

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

 

Thank you

Link to comment
Share on other sites

Hi,

 

When I go in index.php of my osCommerce, he writes this this error to me and I would like to know well how to correct it.

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

 

Thank you

/home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

 

what is on this line? This line is trying to reference a file which is not located on the drive as the message states no such file or directory

Link to comment
Share on other sites

Hi,

 

When I go in index.php of my osCommerce, he writes this this error to me and I would like to know well how to correct it. 

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

 

Thank you

/home/virtual/site18/fst/var/www/html/catalog/includes/application_top.php on line 285

 

what is on this line? This line is trying to reference a file which is not located on the drive as the message states no such file or directory

The error states the part of the line

 

required 'includes/languages/.php'

 

it is an incomplete statement in that no actual language file is given such as english.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Found it!

 

I have changed the english language files to norwegian, that's fine, but

In the admin language setup, i changed the iso code to "no" for norway, but that is not correct, because I have changed the english files, so the iso must be "en"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...