Page 1 of 1

Need Help in figuring out error code.

Posted: Tue Oct 11, 2011 4:55 pm
by 911Alert
My online exam testing program is not allowing anyone to login. The screen reads:

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/v/o/l/voltageking/tmp/sess_b92f0a5bfdf749574efe34586dff8d0f, O_RDWR) failed: No such file or directory (2) in /home/content/v/o/l/voltageking/html/exams/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/v/o/l/voltageking/html/exams/index.php:2) in /home/content/v/o/l/voltageking/html/exams/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/v/o/l/voltageking/html/exams/index.php:2) in /home/content/v/o/l/voltageking/html/exams/index.php on line 2

-----------------------------------------------------------------------------------------------

I don't really understand the problem, our code writer is no longer working with us. Here is the link to view it directly: http://www.voltageking.com/exams/

Any help in understanding the above error code would be greatly appreciated.

Thank you,
VoltageKing.com

Re: Need Help in figuring out error code.

Posted: Tue Oct 11, 2011 4:57 pm
by social_experiment
I think the first error is triggering the second and third error.
911Alert wrote:Warning: session_start() [function.session-start]: open(/var/chroot/home/content/v/o/l/voltageking/tmp/sess_b92f0a5bfdf749574efe34586dff8d0f, O_RDWR) failed: No such file or directory (2) in /home/content/v/o/l/voltageking/html/exams/index.php on line 2
Missing file or directory seems to be the problem.

Re: Need Help in figuring out error code.

Posted: Wed Oct 12, 2011 11:11 am
by ouchiko
Check your php.ini and determine the location of the session data?

It looks like it was meant to be /tmp but seems to be referering to the current path with tmp added on, probably a missed /

If you want to use that directory listed then create a tmp directory in /var/chroot/home/content/v/o/l/voltageking/tmp/

Make sure permissions are set. Needs to be writable.

Re: Need Help in figuring out error code.

Posted: Thu Oct 13, 2011 9:27 am
by 911Alert
First I want to thank you for your quick response. I greatly appreacate your time in helping me resolve this matter.


I looked at the php.ini file and it reads:

php_admin_flag register_globals on

Where do I go from here? This coding problem started occuring out of the blue. I did nothing to the programs or files. How do I check the permissions to insure they are writable?

Here is the link that is giving me trouble: http://www.voltageking.com/exams

------------------------------------------------------------------------------------------------------------------------------------------

I just went to the remote files on the server and found the tmp directory under the voltageking root directory and set the permission for all to read, write, execute. I dont know if this is going to be a security issue or not?

Anyway, nothing changed. Im really perplexed here. I did not write this code an exemployee did who is now unreachable. Any hep greatly appreacated. if i could find an individual who understands completly understandes PHP I am interested in hireing them on a issue by issue bases. We are located in the tampa Bay Florida area however their location is not an issue since we can communicate via email and the phone. Please let me know if anyone is interested. Thanks again.