singapore: the smallest big galery
home » forum » Installation » Php warning

You are not logged in.

#1 2008-12-24 20:29:19

pipechaves
Member

Php warning

Hi I just got the following message

Session save path does not exist or is not writable (session.save_path). Singapore will function but you may not be able to use the admin interface.

I tried the following that i found on a forum here  http://www.sgal.org/forum/viewtopic.php?id=1515
and no luck.

Any clue?

Best Regards

Offline

 

#2 2008-12-26 01:07:40

pavian
Moderator

Re: Php warning

Basically you need to talk to your hoster. You can also check a phpinfo() file for the value.

Offline

 

#3 2008-12-26 06:12:06

pipechaves
Member

Re: Php warning

Sure I will do i will keep in touch and will let know about it

Thanks

Offline

 

#4 2008-12-27 02:42:17

DC
Administrator

Re: Php warning

You can try my fix it works for many if all else fails ...

Some hosts do not set the session path
one off the bat I know of is hostsave aka the gate to get around this you might try this code I wrote place at the top of the script

You must mod the scripts that have session_start in them
This can be done by using my mod code block just before session_start().

//DC Auto path mod...
$mypath = $_SERVER['DOCUMENT_ROOT'];
$mypath = str_replace(".","",$mypath);
session_save_path ("$mypath/tmp/");

This assumes you made a dir called tmp in your main dir
Make sure that this dir is server writable.


DC


To code or not to code that is the question?

Did my response help you out? Consider donating by buying me a slice, Whats this? Read More!
http://www.clickcraft.net/slice.php

Offline

 

#5 2008-12-29 03:32:34

pipechaves
Member

Re: Php warning

Thanks a lot for the information provided here, at the end I just edit my php.ini the solution , you mention above i tried it and didn't work for me, I don't know why because all there makes sense and the tmp folder was created. but what the heck its working now


Thanks lot for all

regards

Offline