feelexit Posted February 13, 2004 Share Posted February 13, 2004 it works on my personal computer, but after i upload to the server. got this fatal error: Warning: main(includes/languages/.php): failed to open stream: No such file or directory in C:\webhost4life aspnet\feelexit\catalog\includes\application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in C:\webhost4life aspnet\feelexit\catalog\includes\application_top.php on line 285 I unzip the whole file, and upload everything. how come it said no such files? thanx for ur help. Link to comment Share on other sites More sharing options...
Guest Posted February 14, 2004 Share Posted February 14, 2004 check your /catalog/includes/configure.php and /catalog/admin/includes/configure.php. It looks like you may be using DOS paths, only good on your local machine, instead of the correct path for your webserver (i.e. c:\webhost4life\aspnet\feelexit . . .) instead of ~yourusername/public_html/catalog . . . -jared Link to comment Share on other sites More sharing options...
feelexit Posted February 15, 2004 Author Share Posted February 15, 2004 nothing wrong with path, i think i know where the problem is , but just dont know how to fix it. Warning: main(includes/languages/.php): failed to open stream: No such file or directory in C:\webhost4life aspnet\feelexit\catalog\includes\application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in C:\webhost4life aspnet\feelexit\catalog\includes\application_top.php on line 285 line 285 is : // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); somehow $language is null, theres not default value for $language (should be english), thats why it try to open .php instead of english.php. of course , .php doesn't exist . and gives me fatal error. does anyone know how to fix it? Link to comment Share on other sites More sharing options...
241 Posted February 15, 2004 Share Posted February 15, 2004 the problem is nothing to do with the application_top.php however it is as jarred jcall stated a path problem in the includes/configure.php files No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
liewyihming Posted March 5, 2004 Share Posted March 5, 2004 You might want to check on your table - languages in your database. There might be no data which is one of the problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.