Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Support (Version 2)

Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 please post in the phpLD 3.0 Support Forum.

Closed Thread
 
Thread Tools Display Modes
Old 07-27-2006   #1
renfrompenn
 
Join Date: Sep 2005
Posts: 62
Default Session Save Path install errors

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.
renfrompenn is offline  
Old 07-27-2006   #2
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,468
Default

Please talk to your hoster to get this fixed.
__________________
wanna say thank you?
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD 3.0+ download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 07-27-2006   #3
renfrompenn
 
Join Date: Sep 2005
Posts: 62
Default

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."

Last edited by renfrompenn; 07-27-2006 at 11:37 PM.
renfrompenn is offline  
Old 07-27-2006   #4
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,468
Default

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.
PHP Code:
ini_set ('session.save_path''PATH-TO-FOLDER'); 
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:
Code:
session.save_path = "/my/path/to/session"
Just make sure the session folder is NOT in your DocumentRoot!!!


Boby
__________________
wanna say thank you?
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD 3.0+ download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).

Last edited by Boby; 09-29-2006 at 12:34 PM.
Boby is offline  
Old 07-27-2006   #5
renfrompenn
 
Join Date: Sep 2005
Posts: 62
Default

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.
renfrompenn is offline  
Old 07-28-2006   #6
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,468
Default

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:
Code:
php_value session.save_path 'C:\My\Path'
__________________
wanna say thank you?
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD 3.0+ download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 11-13-2006   #7
Robertem
Supporter
 
Join Date: Oct 2006
Posts: 15
Default Need a little more help

My 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
Robertem is offline  
Old 01-10-2007   #8
sfields477
 
Join Date: Jan 2007
Posts: 3
Default Tried It

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? Have message boards, etc. installed no problem.
sfields477 is offline  
Old 01-11-2007   #9
James
AKA Dawzz
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Ladysmith, BC , Canada
Posts: 19,841
Send a message via AIM to James Send a message via MSN to James Send a message via Yahoo to James Send a message via Skype™ to James
Default

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
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x then You will have to list it before ANY questions are answered.

PM me today to find out how we can streamline your entire project.
One stop from install to complete design and custom code.
My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you



Live Directory
Messengers are only for 3.x supporter forum members and only for emergencies. Anyone else is blocked immediately
James is offline  
Old 01-11-2007   #10
sfields477
 
Join Date: Jan 2007
Posts: 3
Default php.ini

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.
sfields477 is offline  
Old 01-11-2007   #11
James
AKA Dawzz
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Ladysmith, BC , Canada
Posts: 19,841
Send a message via AIM to James Send a message via MSN to James Send a message via Yahoo to James Send a message via Skype™ to James
Default

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
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x then You will have to list it before ANY questions are answered.

PM me today to find out how we can streamline your entire project.
One stop from install to complete design and custom code.
My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you



Live Directory
Messengers are only for 3.x supporter forum members and only for emergencies. Anyone else is blocked immediately
James is offline  
Old 02-14-2007   #12
Oleks
 
Oleks's Avatar
 
Join Date: Feb 2007
Posts: 31
Default Session Save Path writable?

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.
Attached Images
File Type: jpg error.jpg (35.4 KB, 29 views)
Oleks is offline  
Old 02-14-2007   #13
James
AKA Dawzz
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Ladysmith, BC , Canada
Posts: 19,841
Send a message via AIM to James Send a message via MSN to James Send a message via Yahoo to James Send a message via Skype™ to James
Default

you need to set the path. I myself would try to set it in the config file using ini_set ...
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x then You will have to list it before ANY questions are answered.

PM me today to find out how we can streamline your entire project.
One stop from install to complete design and custom code.
My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you



Live Directory
Messengers are only for 3.x supporter forum members and only for emergencies. Anyone else is blocked immediately
James is offline  
Old 02-14-2007   #14
Oleks
 
Oleks's Avatar
 
Join Date: Feb 2007
Posts: 31
Default

Quote:
Originally Posted by Dawzz View Post
you need to set the path. I myself would try to set it in the config file using ini_set ...
Thank you!
I tried that before, but made mistake, now with full path adress that works… thanks!
Oleks is offline  
Old 10-26-2007   #15
cordelia
 
Join Date: Oct 2007
Posts: 1
Default

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. ...
cordelia is offline  
Old 10-26-2007   #16
James
AKA Dawzz
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Ladysmith, BC , Canada
Posts: 19,841
Send a message via AIM to James Send a message via MSN to James Send a message via Yahoo to James Send a message via Skype™ to James
Default

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.
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x then You will have to list it before ANY questions are answered.

PM me today to find out how we can streamline your entire project.
One stop from install to complete design and custom code.
My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you



Live Directory
Messengers are only for 3.x supporter forum members and only for emergencies. Anyone else is blocked immediately
James is offline  
Old 10-29-2007   #17
listfree
 
Join Date: Aug 2007
Location: Australia
Posts: 18
Default

Hi Dawzz,

I need to reinstall 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:
Quote:
Session Save Path writable? X Warning: session.save_path () is not set.
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
Quote:
@ ini_set ('session.save_path', 'phpLD/temp');
I'm not sure if that path is correct?

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 is offline  
Old 10-29-2007   #18
listfree
 
Join Date: Aug 2007
Location: Australia
Posts: 18
Default

Oops!

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

Cheers,
Jane
listfree is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Save Path writable? mikedippel Support (Version 2) 0 01-04-2006 02:19 AM
Install error Session Path adac Support (Version 2) 0 12-24-2005 08:44 PM
install errors ebizbuys Support (Version 2) 3 07-24-2005 03:30 PM
Session Save Path writable? Anonymous Support (Version 2) 12 06-20-2005 08:36 PM


All times are GMT +1. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.