Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error setting up new language


rfrangie

Recommended Posts

Posted

Hi All,

 

Getting a fatal error once going to the catalog after installing new language

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /mnt/users/rayscomp/rayscomp/marketplace.rcsystems.com.au/html/catalog/includes/application_top.php on line 249

 

Extract from Code as follows

 

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

246 }

247

248 // include the language translations

249 require(DIR_WS_LANGUAGES . $language . '.php');

250

251 // define our general functions used application-wide

252 require(DIR_WS_FUNCTIONS . 'general.php');

253 require(DIR_WS_FUNCTIONS . 'html_output.php');

254

255 // currency

 

Can someone please give me a hand

 

Thanks in Advance

 

Kind Regards,

 

Ray.

Posted
Fatal error: Failed opening required 'includes/languages/.php'  

 

249  require(DIR_WS_LANGUAGES . $language . '.php');

 

Which language are you trying to install ? It would appear that you don't have the relevant <language>.php file inside the languages directory.

 

HTH

Posted

Its ok people

 

i worked it out

 

Forgot to re-check the english language as the default language

 

well back to work

 

Ray.

Posted
Fatal error: Failed opening required 'includes/languages/.php'  

 

249  require(DIR_WS_LANGUAGES . $language . '.php');

 

Which language are you trying to install ? It would appear that you don't have the relevant <language>.php file inside the languages directory.

 

HTH

 

 

thanks burt, it's always the small things that stuff it up.

as i had removed the default language, i didn't re-select the default language.

 

all is good now. thanks for your help.

Archived

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

×
×
  • Create New...