Hi all,
I am trying without success to resolv problem I have with squirrelmail, but no success. So any hint will help me a lot.
I configured postfix+mysql+imap+squirrelmail. It is possible to catch mails using let say evoulution.
Squirrelmail configuration went ok, but now when I try to log in I got error message
" You must be logged in to access this page. "
on official squirrelmail web page is for this error stated
" 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. "
I checked php.ini and there is for session.save_path, session.use_cookies stated
session.save_path = "/tmp"
session.use_cookies = 1
But I still have same problem. I restarted web server as well.
I tried to change location and put full path /var/www/tmp but nothing helped. Any suggestion is welcome. OS=openBSD-44, php-5.2.6, nysql-5. )
I suppose there is some, permission problem, but based on this info it seems, all ok, ...suggestions are welcome and thank you in advance.
Another thing, in error.log of web server when I try to log in I got following error:
[Fri Jan 2 22:48:15 2009] [error] PHP Warning: Unknown: open(/tmp/sess_4ueq61hrbldi0aa1rq9dluddr0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Fri Jan 2 22:48:15 2009] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[Fri Jan 2 22:48:28 2009] [error] PHP Warning: session_write_close() [<a href='function.session-write-close'>function.session-write-close</a>]: open(/tmp/sess_4ueq61hrbldi0aa1rq9dluddr0, O_RDWR) failed: Permission denied (13) in /htdocs/webmail/src/redirect.php on line 167
[Fri Jan 2 22:48:28 2009] [error] PHP Warning: session_write_close() [<a href='function.session-write-close'>function.session-write-close</a>]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /htdocs/webmail/src/redirect.php on line 167
[Fri Jan 2 22:48:28 2009] [error] PHP Warning: session_write_close() [<a href='function.session-write-close'>function.session-write-close</a>]: open(/tmp/sess_4ueq61hrbldi0aa1rq9dluddr0, O_RDWR) failed: Permission denied (13) in /htdocs/webmail/functions/auth.php on line 70
[Fri Jan 2 22:48:28 2009] [error] PHP Warning: session_write_close() [<a href='function.session-write-close'>function.session-write-close</a>]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /htdocs/webmail/functions/auth.php on line 70