I recently upgraded our Mantis installation to version 1.2.3, schema version 183. I now see the following error when I go to log in:
SYSTEM WARNING: session_start() [function.session-start]: open(/var/php_sessions/sess_02267afaecb6019916b5d37c2af3fbc6, O_RDWR) failed: No such file or directory (2)
I am able to log in and manage projects, but when I try to submit a bug request, I get application error #2800 (link to screenshot of the error).
Is this a problem with my server, or is there something in the Mantis configuration that needs to be changed to fix this?
Thank you in advance.
Edit: Link to screenshot was broken
SYSTEM WARNING: session_start()...No such file or directory.
Moderators: Developer, Contributor
Re: SYSTEM WARNING: session_start()...No such file or direct
Check if the directory /var/php_sessions exists and is writable.heatherk wrote: Is this a problem with my server, or is there something in the Mantis configuration that needs to be changed to fix this?
If yes, try setting up a parallel empty fresh installation in same environment, to be sure that the problem is not caused by any relicts / customizations of your old version.
Which PHP version do you use?
Re: SYSTEM WARNING: session_start()...No such file or direct
Our server is using PHP version 5.2.2. I unzipped the upgraded version into a separate folder, copied in my existing config_inc.php file into the new folder and performed the updgrade there like the included instructions stated.atrol wrote:Check if the directory /var/php_sessions exists and is writable.heatherk wrote: Is this a problem with my server, or is there something in the Mantis configuration that needs to be changed to fix this?
If yes, try setting up a parallel empty fresh installation in same environment, to be sure that the problem is not caused by any relicts / customizations of your old version.
Which PHP version do you use?
I'll get a message in to my hosting provider to check on /var/php_sessions. Thanks for your help atrol.

Re: SYSTEM WARNING: session_start()...No such file or direct
Version 5.2.2 was released in May 2007. I would not use it. Since that time there were a lot of bugs fixed. It's a waste of time to search for bugs in your application if you finally find, that it's caused by an outdated PHP version.heatherk wrote: Our server is using PHP version 5.2.2.
You should update to a newer 5.2.x version or to latest 5.3
Re: SYSTEM WARNING: session_start()...No such file or direct
Unfortunately I have no control over what version of PHP our hosting provider chooses to use. I can put a bug in StartLogic's ear to upgrade, but that doesn't mean they will listen.atrol wrote:Version 5.2.2 was released in May 2007. I would not use it. Since that time there were a lot of bugs fixed. It's a waste of time to search for bugs in your application if you finally find, that it's caused by an outdated PHP version.
You should update to a newer 5.2.x version or to latest 5.3

Thanks again for your comments atrol.

Re: SYSTEM WARNING: session_start()...No such file or direct
Problem solved - The PHP session save path on the server was invalid. Once my hosting provider fixed it, I have no issues. 
