eddiev2001 Posted February 11, 2004 Share Posted February 11, 2004 Hey guys , Anybody have any idea why i get this message when i'm clicking on any link Warning: main(includes/languages/.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 285 any help or advice is appreciated , thanks Link to comment Share on other sites More sharing options...
OceanRanch Posted February 11, 2004 Share Posted February 11, 2004 Check in admin for your default language. Admin->localization->languages and set a default to "english". HTH Tom Link to comment Share on other sites More sharing options...
eddiev2001 Posted February 11, 2004 Author Share Posted February 11, 2004 I cant even click on that link to set default language , It seems to always bring up the same error Warning: main(includes/languages/.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\catalog\admin\includes\application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\catalog\admin\includes\application_top.php on line 130 :( Link to comment Share on other sites More sharing options...
ayn Posted February 11, 2004 Share Posted February 11, 2004 temp fix: copy catalog\includes\languages\english.php catalog\includes\languages\.php that's legal in DOS, I hope. I don't use Windows. If that is illegal (actually it probably is), try to change line 130 of application_top.php to: require(DIR_WS_LANGUAGES . 'english' . '.php'); --Andrew --AYN Link to comment Share on other sites More sharing options...
eddiev2001 Posted February 12, 2004 Author Share Posted February 12, 2004 Thanks Andrew that seemed to clear up one of the problems , not too sure why the english didnt set itself to default, but now seem to be getting this error :unsure: . Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 309 Any idea why anybody ? if so you may be the next contestant on the price is right ! :lol: Link to comment Share on other sites More sharing options...
ayn Posted February 12, 2004 Share Posted February 12, 2004 Sounds like $navigation was not instantiated, but the block before that line made sure that it is instantiated. Only way to not construct $navigation is if PHP_VERSION >= 4 and tep_session_is_registered('navigation') is true. --Andrew --AYN Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.