globalgross Posted April 1, 2008 Posted April 1, 2008 hello everbody I got this message. pls anybody can help me Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /customers/globalgross.com/globalgross.com/httpd.www/includes/application_top.php on line 288 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php') in /customers/globalgross.com/globalgross.com/httpd.www/includes/application_top.php on line 288 pls any help
diy Posted April 1, 2008 Posted April 1, 2008 http://www.oscommerce.com/forums/lofiversion/i...hp?t134732.html Apparently as felipesouto said "Solution: In languages configuration, don't set two languages at same sort order number." ps I had thiw message I think its the same poblem Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /var/www/vhosts/****************.gr/httpdocs/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /var/www/vhosts/*****.gr/httpdocs/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:') in /var/www/vhosts/********.gr/httpdocs/catalog/includes/application_top.php on line 285. Hope that helps you
Guest Posted April 1, 2008 Posted April 1, 2008 I have exactly the same problem, avoiding to set the same order for two different lenguages did not fix it. I had previously forced the code to only one lenguage at once in line 288 using this : " $language = 'english'; // set default language to english"; but now it only works IF I REFRESH the screen. From that moment on everything works fine BUT IS EMBARRASING with new visitors/clients, since they do not know the HAVE to refresh... Anybody with a FINAL SOLUTION anywhere? This is driving me mad... Regards, JCT
diy Posted April 1, 2008 Posted April 1, 2008 I am NOT an expert but i solved this by going to the admin area and under localization languages (and assuming you have more than one) I chose one (greek in my case) as default -i think it is required to choose a language as the default one- and i set greek with sort order 1 english with sort order 2 and german with sort order 3!!! It worked fine for me under an english and a non English operating system (Win XP)
Guest Posted April 1, 2008 Posted April 1, 2008 Great diy, my mistake. I was ordering the lenguages from 0 up. I just changed them to start from 1 on and everything was fixed (at least for now!!!). Thanks you very much.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.