SquirrelMail English Site Russian Site Japanese Site 
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors



SquirrelMail error message

You must be logged in to access this page

Solution

If this is a problem for all end users, make sure that the PHP is configured to use session cookies (PHP configuration directive session.use_cookies). Also make sure that the web server has permission to read and write in the directory specified by the PHP configuration directive session.save_path. Note that a web server running under changed root conditions might have this setting relative to the changed web server root and not to the file system root. Sessions are described in the [PHP manual]. Don't forget to restart the web server after reconfiguring PHP.

If it doesn't affect all end users, or all end users when using a specific client, it's more likely that it is a client browser problem. Make sure that the cookies that SquirrelMail tries to set aren't blocked by the client browser. Install the [Cookie Warning plugin] to help debug these problems. Internet Explorer 6 is known to block cookies by default when frames are displaying content from another domain, so end users might need to lower Internet Explorer's security settings if using SquirrelMail in a frame.

If the end users can log in, but then gets logged out after some time, see AutoLogout.

It appears that using multiple domain names to refer to squirrel can trigger this error message with Firefox. It will login, view mail and allow you to send mail, but after sending you will be dropped to the You must be logged in to access this page page. It is possible to use 'back' to get back to the inbox, which still allows you to read mail so the login is still valid. This seems to be a cross-domain cookie issue which is cured by using a single domain name.

TODO: Integrate CookieRequirement into this page.


SquirrelMail error message

Unknown user or password incorrect

Solution

If this error message is displayed even though a correct user and password combination is used, check your IMAP server's error logs for related error messages. It is likely that the problem is caused when an IMAP server authentication dependency isn't fulfilled. If you were logged into SquirrelMail and then upgraded SquirrelMail, your cookies may need to be cleared.


PHP error message

Warning: write failed: No space left on device (28) in [path]/src/redirect.php on line xxx
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in [path]/src/redirect.php on line xxx

Solution

This is not a SquirrelMail problem. There's no disk space left on the device holding the /tmp folder, which might be the result of quotas. Sessions are described in the [PHP manual].


Problem

src/login.php just wants to download - it will not open to the login screen.

Solution

This is not a SquirrelMail problem. You don't have PHP installed correctly or your web server is misconfigured. Check the [PHP manual] and your web server documentation.


Problem

All users see You must be logged in to access this page after entering the correct username and password

Solution

I determined that my primary partition was full. Removing some data from the disc solved the problem.

© 1999-2009 by The SquirrelMail Project Team