Guest Posted December 1, 2005 Share Posted December 1, 2005 Folowing text is shown when I try to open my website.... Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/svenska.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 How do I solve this? Link to comment Share on other sites More sharing options...
flood6 Posted December 1, 2005 Share Posted December 1, 2005 The default osCommerce does not have a "svenska" language installed. Did you install this translation after you installed osCommerce? Link to comment Share on other sites More sharing options...
ozcsys Posted December 1, 2005 Share Posted December 1, 2005 Folowing text is shown when I try to open my website.... Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/svenska.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 How do I solve this? Is the file on your server? Either it is not there or osC is looking in the wrong location. If it is there then you need to check your includes/configure.php file and make sure your paths are correct. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2005 Share Posted December 1, 2005 Folowing text is shown when I try to open my website.... Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/svenska.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/reonet/reonet.se/catalog/includes/application_top.php on line 285 How do I solve this? Yes but I'm unsure I did it right, what did I miss? Is the file on your server? Either it is not there or osC is looking in the wrong location. If it is there then you need to check your includes/configure.php file and make sure your paths are correct. what do I do in configure.php then? Link to comment Share on other sites More sharing options...
ozcsys Posted December 2, 2005 Share Posted December 2, 2005 Yes but I'm unsure I did it right, what did I miss?what do I do in configure.php then? Was your site working before you installed the additional language files? If so then it is probably not your configure.php file unless you edited it when you added the language. The problem them is most likely you have not installe the new language correctly. If you have never had it working then you need to check your paths. If that is the case then you can post the file here (minus your database login info) and somebody may be able to see the problem. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
DanLun Posted October 15, 2006 Share Posted October 15, 2006 I had the same but error in row 130 installing Swedish languages package (from Contribution pages - thanks guys!!!). In the end (reading my error message) I saw that it was pointing at the admin directory and then I understood that I had to install BOTH Catalog AND Admin of Swedish, not just Catalog. I thought first this would be enough because I'm happy with my admin in English. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.