-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Done!! problems solved!! the mistake was on the permissions because i
have php in safe mode. thank you very much!

Tomas Kuliavas wrote:
|>>>|> I've just finished deploying SquirrelMail version 1.4.3a, I can
|>>>access |> to the login page, but when I try to log in I get the
|>>>following
|>>>error:
|>>>|>
|>>>|> "Error opening ../data/default_pref
|>>>|> Default preference file not found or not readable!
|>>>|> Please contact your system administrator and report this error."
|>>>|>
|>>>|> I've set the permissions for the folder data/ with "chown -R
|>>>|> nobody:nobody data/" and "chmod 0777 -R data/", also I've
|>>>configured the |> config.php to look for the folder in the right
|>>>place. I'm still having |> this problem and I don't know what to do.
|>>>Please shed me some
|>>>light on |> this. Thanks in advance. |
|>>>|
|>>>| Please show directory listing for data dir and the config.php line
|>>>for | $data_dir
|>>>
|>>>
|>>>
|>>>/var/www/
|>>>drwxrwxrwx    2 nobody   nobody       4.0K Aug  3 21:42 data
|>>>
|>>>/var/www/data/
|>>>- -rwxrwxrwx    1 nobody   nobody         48 Aug  3 21:42 default_pref
|>>> - -rwxrwxrwx    1 nobody   nobody        469 Aug  3 21:42 index.php
|>>>
|>>>
|>>>
|>>>config.php $data_dir                 = '/var/www/data/';
|>>>
|>>
|>>
|>>Do you have php safe more enabled?
|>>
|>
|>Tomas meant "safe mode".  Also, you should think about moving your data
|>directory OUTSIDE of the webserver's htdocs tree.  Also try turning up PHP
|>error reporting via php.ini or the debugger plugin to make sure nothing
|>unusual is happening.  Do your web server logs indicate anything out of
|>the ordinary?
|
|
| yep. tomas typed too fast. :(
|
| If you have php safe mode enabled, file must be owned by same user
that owns your php scripts. not webserver's user.
|

- --
Juan Luis Moyano
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBEZSzcpv/tMr+H20RAvgEAJ0VyqpwOMtt89tb5/9sDyU1dcukGACbBNby
NA1HMbFm/z3zA0umQW9StSg=
=Dk/V
-----END PGP SIGNATURE-----




------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to