[Omail-devel] couldn't open language file ./lang/en.lang
Brought to you by:
swix
From: <pi...@pi...> - 2006-01-16 06:25:19
|
Hi All I setup omail-webmail and logged in successfully. Selected the language English and got this message "couldn't open language file ./lang/en.lang" I re-logged in and the test message I had one new email that I sent to myself for testing was listed. When I clicked on the New email or Refresh or for that matter any of the links, I still get the error "couldn't open language file ./lang/en.lang" I wrote a test script and accessed through Internet under same domain and path and it worked perfect. What could be wrong with the server (any settings) for omail.pl script. I m using the same script on the another server and it works just fine. This is the test script that worked. ----------------------- #!/usr/bin/sudo /usr/bin/perl use CGI qw(:standard); print header; $langsubdir = "lang"; $lang = "en"; if (-f "./$langsubdir/$lang.lang") { require "./$langsubdir/$lang.lang"; print "ok\n"; } else { print "couldn't open language file ./$langsubdir/$lang.lang\n"; } ----------------------- |