PDA

View Full Version : Session Save Path install errors


renfrompenn
07-27-2006, 09:14 PM
Session Save Path is showing as not available. What should I do? I searched on the forum for the Session Save Path, but I didn't really find a fix for this. If someone could please help I would really appreciate it. This is what displays on install:

Session Save Path writable? - Warning: /var/sessions not existing or not writable.

Boby
07-27-2006, 09:24 PM
Please talk to your hoster to get this fixed.

renfrompenn
07-27-2006, 10:17 PM
I just got an email back from my web host and was told to place a custom php.ini in my root directory. I found a php.ini and tried uploading it. I am still seeing the same error. Could someone please help? I was told to include this line:

paste "session.save_path = /home/yourusername/tmp"

The install page still shows "Warning: /var/sessions not existing or not writable."

Boby
07-27-2006, 10:40 PM
I would suggest you try something else out bofore the php.ini

Create a new folder on your server, if possible not in your document root to keep it away from direct access.
Add this on bottom of /include/config.php and edit with the correct path.
Content visible to registered users only.

If it's not working ... you have to create a folder where you will store the sessions and a file called php.ini in your phpLD root folder. Add this to it:
Content visible to registered users only.

Just make sure the session folder is NOT in your DocumentRoot!!!


Boby

renfrompenn
07-27-2006, 10:50 PM
Thank you very much Boby. The first option worked like a charm! I was able to point the Session Save Path to the folder that it should have been finding all along.

Boby
07-27-2006, 11:03 PM
You are welcome :)
Just make sure your session folder can not be accessed from the internet.

Does IIS support to change web server configuration from a file, like Apache works with .htaccess?

For example you could do the same thing like above but server-wide (for your account) simply by adding this to the .htaccess file:
Content visible to registered users only.

Robertem
11-12-2006, 11:02 PM
My directory site is all ready to go and working great except for the save path issue.

I read your post here and just wanted to make sure I am doing things correctly.

You state above to make sure that the folder you create should not be in your document root - could you clarify this for me.

Do you mean above the wwwroot? If so I am not able to create a file in this location.

Thanks again for all of your help, I really appreciate it!!!

Robert

sfields477
01-10-2007, 08:22 PM
Hi,

Am having same problem - have own windows 2003 server - and all is ok apart from getting Warning: session.save_path () session is not set - have tried all as listed in posts but still getting the same warning. Can change permisssions etc. and have checked them but no joy. Using path as determined by listed through server files - is this correct?:confused: Have message boards, etc. installed no problem.

James
01-11-2007, 01:36 AM
if you have own windows server then edit the php.ini and add the path there. I have no idea of the setup so say php is installed in c:\php\ create a tmp folder there make sure its not locked down permissions wise and the add that path to the php.ini

sfields477
01-11-2007, 01:24 PM
Thanks,

Location is C:\PHP - php.ini file says ;session.save_path = /tmp so I created a folder in C:\PHP named tmp and have set read write permissions on the tmp folder. I'm still getting the same error though? Have installed the files direct to the web root and they are not in a subdirectory - originally I did and got the same error.

Thanks for your help.

James
01-11-2007, 06:43 PM
php.ini needs to be edited to look like this

session.save_path = C:\PHP\tmp

this
session.save_path = /tmp

is a default setting in php.ini I think because the developers assume/hope that anyone using it will be on a linux box and the /tmp is there :)

Oleks
02-14-2007, 07:53 PM
Hi All.

I have tryed all suggestions but still have error.

It does not say anything abot "tmp" folder or sessions… So i dont know where is the problem, please help me.

James
02-14-2007, 08:22 PM
you need to set the path. I myself would try to set it in the config file using ini_set ...

Oleks
02-14-2007, 09:24 PM
Content visible to registered users only.
Thank you!
I tried that before, but made mistake, now with full path adress that works… thanks!

cordelia
10-26-2007, 05:46 PM
I have another question: can i install it without a session save path? ... I didn't repair that red sessionpath error, but I've installed and all is working perfectly. ...

James
10-26-2007, 06:34 PM
its hit and miss mainly due to the way php5 doesnt specify a default tmp in the config but works ok .... if you run into problems then you can always set the path at anytime.

listfree
10-29-2007, 12:01 AM
Hi Dawzz,

I need to reinstall the directory script and have a similar problem. I know I found the info here last time and I'm sure it wasn't this thread, but I can't find the other one again.

Would you mind going through this for me one last time? - I'll write it down so I have it in future! ;)

Error message:
Content visible to registered users only.My server is linux, but that's all the information I know about it.
The folder I am installing in is 'phpLD'.
I have changed all the permissions successfully.

I have also added the line below to the end of include/config.php
Content visible to registered users only.I'm not sure if that path is correct? :confused:

I know it was a really simple fix last time, just adding a line of code.
I know I didn't create a new folder and I'm sure I didn't create a new file, or it would be there still.

Thanks,
Jane :)

listfree
10-29-2007, 10:17 AM
Oops!

I just found the other thread that helped me last time. Should be no problems now :o

Cheers,
Jane :)