masa9881
Junior Member
Posts: 8
Registered: 2/7/2007
Location: Finland
Member Is Offline
|
| posted on 2/7/2007 at 10:57 PM |
|
|
session warnings
I get these errors when log to the control panel. Help me? Should I give some permission to the calendar folder wich contains all the files?
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 8287/102 is not allowed to
access owned by uid/gid 0/0 in /netikka/html/akasha/calendar/cl_files/index.php on line 10
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at
/netikka/html/akasha/calendar/cl_files/index.php:10) in /netikka/html/akasha/calendar/cl_files/index.php on line 11
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at
/netikka/html/akasha/calendar/cl_files/index.php:10) in /netikka/html/akasha/calendar/cl_files/index.php on line 11
|
|
|
masa9881
Junior Member
Posts: 8
Registered: 2/7/2007
Location: Finland
Member Is Offline
|
| posted on 2/8/2007 at 08:38 AM |
|
|
Now I only get this error:
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 8287/102 is not allowed to
access owned by uid/gid 0/0 in /netikka/html/akasha/calendar/cl_files/index.php on line 11
I moved session_start() before this row
if(!is_writable(session_save_path()))session_save_path("/tmp"); <-- this is the line 11
Does that mean that I have not permissions to tmp folder. I have chmod 777 that folder.
This is my isp server where the site is running.
|
|
|
masa9881
Junior Member
Posts: 8
Registered: 2/7/2007
Location: Finland
Member Is Offline
|
| posted on 2/8/2007 at 10:40 PM |
|
|
Everything seems to work ok although that error occur...
|
|
|
tigra
Administrator
Posts: 1960
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/8/2007 at 10:40 PM |
|
|
yep, that's right. You'll need to create own temp directory and point session_save_path(..) there.
|
|
|
masa9881
Junior Member
Posts: 8
Registered: 2/7/2007
Location: Finland
Member Is Offline
|
| posted on 2/9/2007 at 10:59 AM |
|
|
jihaa now everything works great. I did own temp directory.
|
|
|