Page 1 of 1

Worked for 1 day, now I get errors

Posted: Thu Feb 24, 2005 11:32 am
by Victor
I installed this blog, and am quite happy with it. Only after 1 day it stopped working and giving errors. I didn't change anything in my config.

This is my weblog link:
http://www.heisterkamp.biz/serendipity/index.php

Yesterday it still worked, since this morning I get the following errors:

Warning: session_start(): open(/tmp/sess_e6ccb1ee4c1b8ee9d5b05c82a7ae81f0, O_RDWR) failed: Permission denied (13) in /home/heisterk/public_html/serendipity/index.php on line 10

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/heisterk/public_html/serendipity/index.php:10) in /home/heisterk/public_html/serendipity/index.php on line 10

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/heisterk/public_html/serendipity/index.php:10) in /home/heisterk/public_html/serendipity/index.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/heisterk/public_html/serendipity/index.php:10) in /home/heisterk/public_html/serendipity/index.php on line 13
VicBlogQuery failed: Can't create/write to file '/tmp/#sql_959_0.MYI' (Errcode: 13)
Warning: Unknown(): open(/tmp/sess_e6ccb1ee4c1b8ee9d5b05c82a7ae81f0, O_RDWR) failed: Permission denied (13) in Unknown on line 0

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

Anyone know how to fix this?

thanks

Re: Worked for 1 day, now I get errors

Posted: Thu Feb 24, 2005 12:09 pm
by Thomas
Victor wrote:Warning: Unknown(): open(/tmp/sess_e6ccb1ee4c1b8ee9d5b05c82a7ae81f0, O_RDWR) failed: Permission denied (13) in Unknown on line 0

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
Hi Victor,

this messages say everything. Contact your hoster and ask him if he changed the permissions on the /tmp directory. The user under which the webserver is running cannot save the session file there.

Regards, Thomas

Posted: Thu Feb 24, 2005 12:28 pm
by victor
on the hosters support page I found this:
Old versions of Advanced Guestbook have vulnerabilities that allow 3rd parties to add/edit/delete files within your web space.

Clients must keep scripts within their web space up-to-date. The site owner is solely responsible for keeping scripts within his/her web space up-to-date. If you need help in keeping the files within your web space up-to-date, please consider hiring a webmaster.

Scripts like forums, guestbooks, and content management systems must be kept updated at all times. The more popular the script, the more likely it will be hacked if not kept updated. Vulnerabilities are constantly found in perl and php scripts and the only two ways to close these vulnerabilities is to either 1) delete/disable the script or 2) upgrade the script.

If you are getting a Permission Denied error when trying to view your guestbook, it is due to the guestbook being disabled due to it being severely outdated.

To resolve this issue, install and begin using the latest Advanced Guestbook version that has been available within cpanel for several months.

guess this is the reason or not? can this explain why it worked for one day?

Posted: Thu Feb 24, 2005 1:26 pm
by garvinhicking
This is not the reason. Show your hoster the error message - you can do nothing about it, it's his task to make your session.save_path setting point to a valid, writable path.

Regards,
Garvin

Posted: Thu Feb 24, 2005 1:58 pm
by victor
in that case, isn't it strange that it has worked before?

Posted: Thu Feb 24, 2005 2:34 pm
by Guest
victor wrote:in that case, isn't it strange that it has worked before?
Depends on what happened between yesterday and today. ;)

Thomas