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
Need Help in figuring out error code.
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Need Help in figuring out error code.
I think the first error is triggering the second and third error.
Missing file or directory seems to be the problem.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
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: Need Help in figuring out error code.
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.
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.
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.
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.