Guest Posted October 6, 2008 Posted October 6, 2008 Hello, I have encountered a problem I am not able to solve :( Many users get following error: Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/www/hazed.org/oscommerce/includes/application_top.php on line 288 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/hazed.org/oscommerce/includes/application_top.php on line 288 It is weird because the site is working ok for me and also from other computers. I tried changing line 288 in application_top.php, the result was that now the site kinda worked for those users, but it is not working for me :/ Also no emails are sent, although I know for sure email adress is valid. Maybe someone has encountered similar problem?
joep147 Posted October 6, 2008 Posted October 6, 2008 i think you have only one language and you deleted the rest chance is that many people use a browser which is not the same as your site_language: look in catalog/includes/application_top.php for: $lng->get_browser_language(); and change to: // $lng->get_browser_language(); just a thought :)
Guest Posted October 7, 2008 Posted October 7, 2008 Yes thats right, i deleted all languages and modified english language, because shop is meant to be in only one (non-english) language. I thought english languafe files was a good base for my translations. Thanks for tip, ill try it :) Later: Ok i edited the file as previous said, webpage is till working for me :) maybe someone can see wether it is working for them. Adress: http://www.hazed.org/oscommerce/
joep147 Posted October 7, 2008 Posted October 7, 2008 funny thing, i'm not sure anymore whether i got the error or not, yesterday now it's working fine here btw. your site looks pretty ok, but i find it really hard to read, not because of the language, but because of the visibility....
Guest Posted October 8, 2008 Posted October 8, 2008 Oh thats goods news :) Thanks, yes i know there are issues, the site is still in the state of developement, so the design is still to change :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.