Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

PHP fatal error and blank screen after install


Recommended Posts

i got this error after what seems to be a successfull installation:


PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/web167/web/shop/includes/application_top.php on line 288


what is wrong here and how do i correct the problem????


thanx alot in advance...

Link to comment
Share on other sites

but what causes this problem ? DB error or?

just so i can brief my webhost..

Obviously it has to do with language settings. I noticed people adding other languages and not having uploaded all the needed language file having this problem for example.

Your browser language setting might also not be either English, German, or French:

	include(DIR_WS_CLASSES . 'language.php');
$lng = new language();

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

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

// include the language translations
 require(DIR_WS_LANGUAGES . $language . '.php');// line 288: $language not set: language directory and general language file not set either:  
// resulting in includes/languages/.php where it should have been (e.g.) includes/languages/english/english.php

Link to comment
Share on other sites


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

  • Create New...