schioler Posted October 22, 2008 Posted October 22, 2008 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...
Jan Zonjee Posted October 22, 2008 Posted October 22, 2008 what is wrong here and how do i correct the problem???? Did you try this?
schioler Posted October 22, 2008 Author Posted October 22, 2008 Did you try this? no i havent.. im going to try i rightaway
schioler Posted October 22, 2008 Author Posted October 22, 2008 Did you try this? i will for sure give it a try.. but what causes this problem ? DB error or? just so i can brief my webhost.. /schioler
Jan Zonjee Posted October 22, 2008 Posted October 22, 2008 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'])) { $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');// 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
schioler Posted October 22, 2008 Author Posted October 22, 2008 ok, ill se what i can come up wth here.. ill do it manually then.. i will let u know when i have tried..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.