[solved] Session_start() and header Warnings

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
joerg
New Member
New Member
Posts: 8
Joined: Sat Jun 02, 2007 9:25 am

[solved] Session_start() and header Warnings

Post by joerg »

Hi
I upgraded CMSMS to 1.6.6., but when I open the website I get the following errors:
Warning: session_start(): open(/tmp/sess_8c5bd62fbe905e87ec35dcd6e9bcc7f0, O_RDWR) failed: Permission denied (13) in /srv/www/vhosts/www.uni-stuttgart.de/STUDinfo/aegee/include.php on line 34
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /srv/www/vhosts/www.uni-stuttgart.de/STUDinfo/aegee/include.php:34) in /srv/www/vhosts/www.uni-stuttgart.de/STUDinfo/aegee/include.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/www.uni-stuttgart.de/STUDinfo/aegee/include.php:34) in /srv/www/vhosts/www.uni-stuttgart.de/STUDinfo/aegee/index.php on line 371

(page content is being displayed correctly here)

Warning: Unknown(): open(/tmp/sess_8c5bd62fbe905e87ec35dcd6e9bcc7f0, 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
These warnings show up even when the CMS is set to maintenance mode and just the text message is being displayed.

The system information gives me 2 (!) and one (x):
(!)  PHP 4.3.10
(!) test_remote_url
(x) fopen
Is fopen the problem here? The hoster disabled it for security reasons. But before I decide to change to another host, I would try to make it work again (current one is university=free). The last two warnings also appeared in the previous version (1.5.x), but the warnings about headers are new since the upgrade. Hope you can help me! Thanks a lot! Joerg
Last edited by joerg on Thu Dec 10, 2009 5:55 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Session_start() and header Warnings

Post by Rolf »

Hi Joerg,

Perhaps this is any help  :-\:
http://forum.cmsmadesimple.org/index.ph ... 147.0.html (German)
Haven't read the entire topic, but it looks similar and it shouldn't be a problem for you to read  ;)

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
joerg
New Member
New Member
Posts: 8
Joined: Sat Jun 02, 2007 9:25 am

Re: Session_start() and header Warnings

Post by joerg »

Thanks for the reply, I changed the hoster now and the problem is gone anyway. Apparently, it was related to the old server running an old php version or the execution time, as adding
AddHandler php5-cgi .php
php_value max_execution_time 60
to the .htaccess seems to solve the problem.
Locked

Return to “[locked] Installation, Setup and Upgrade”