Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Same Errors on every link


Guest

Recommended Posts

Posted

This is what comes up on my broswer:

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/omnicomputerservices.com/httpsdocs/shop/includes/application_top.php on line 290

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/omnicomputerservices.com/httpsdocs/shop/includes/application_top.php on line 290

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/omnicomputerservices.com/httpsdocs/shop/includes/application_top.php on line 290

 

Thanks for your help

Posted

HI

 

Can anybody help me with this? Any Help would be greatly apreciated. At least to to tell me where to start looking or point me in the right direction.

 

Thanks

Posted

i think its to do with the languages bit in includes/application_top.php

 

it should read:

// set the language

if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) {

if (!tep_session_is_registered('language')) {

tep_session_register('language');

tep_session_register('languages_id');

}

 

include(DIR_WS_CLASSES . 'language.php');

$lng = new language();

 

if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) {

$lng->set_language($HTTP_GET_VARS['language']);

} else {

$lng->get_browser_language();

}

 

$language = $lng->language['directory'];

$languages_id = $lng->language['id'];

}

 

// include the language translations

require(DIR_WS_LANGUAGES . $language . '.php'); <-----this is your line 290 the $language variable is not getting assigned somehow, not sure exactly how to fix your error, maybe you have installed a contribution that altered your application_top.php file ? If not check the file against your back up original file

Hope that points you in right direction anyway

Archived

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

×
×
  • Create New...