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
 
topic widgets
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,524
Default

Please talk to your hoster to get this fixed.
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • 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 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 10: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,524
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.
Code:
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:
Code:
Content visible to registered users only.
Just make sure the session folder is NOT in your DocumentRoot!!!


Boby
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • 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 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 11:34 AM.
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-27-2006   #6
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
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:
Content visible to registered users only.
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • 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 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-12-2006   #7
Robertem
Supporter
 
Join Date: Oct 2006
Posts: 15
Default Need a little more help

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

Last edited by David; 05-29-2010 at 06:33 PM.
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
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,019
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
You will have to list it before ANY questions are answered.

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
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
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,019
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
You will have to list it before ANY questions are answered.

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
James is offline  
Old 02-14-2007   #12
Oleks
 
Oleks's Avatar
 
Join Date: Feb 2007
Posts: 30
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, 30 views)
Oleks is offline  
Old 02-14-2007   #13
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,019
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
You will have to list it before ANY questions are answered.

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
James is offline  
Old 02-14-2007   #14
Oleks
 
Oleks's Avatar
 
Join Date: Feb 2007
Posts: 30
Default

Code:
Content visible to registered users only.
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
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,019
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
You will have to list it before ANY questions are answered.

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

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:
Code:
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
Code:
Content visible to registered users only.
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

Last edited by David; 05-29-2010 at 06:34 PM.
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)
 
topic widgets



All times are GMT +1. The time now is 05:53 PM.


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