SquirrelMail 1.4.8 Login Problem??

atay

Verified User
Joined
Oct 25, 2006
Messages
8
Hello.

Firstly, my english very little. I am sorry.

I use Direct Admin.

My server have SquirrelMail 1.4.8.

When i login my email panel with SquirrelMail:

write:

Error opening ../data/default_pref
Default preference file not found or not readable!
Please contact your system administrator and report this error.

What can i do ?

(I am beginner for DA and Server Control so Please write explainly)

Thank You !
 
I used this command:

chmod 755 /xxxx/xxxx/xxxx/default_pref

and

I make php safe_mode OFF so i login squirrelmail.

but, if i make php safe_mode on i dont login squirrelmail, i again get this message:

Error opening ../data/default_pref
Default preference file not found or not readable!
Please contact your system administrator and report this error.

please help.
 
Hello atay,

With a quick search on Google for "Error opening ../data/default_pref", I found this entry in SquirrelMail's wiki which has this to say:
* If you have PHP's safe mode enabled, change ownership to be the same user that owns your PHP scripts instead of the web server user.
I think you need to do something like this:
Code:
chown apache:apache /xxxx/xxxx/xxxx/default_pref
where both "apache"s are the appropriate username (it might be "nobody", or "httpd", or something else). The wiki entry also shows how to find the correct username:
If you're running *nix, you can typically find out what user your web server is running as by doing this:
Code:
ps -ef | grep httpd
I hope that helps you to solve the problem...
 
Back
Top