|
| |||||||
| 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. |
![]() |
| | topic widgets |
| | #1 |
| Join Date: Sep 2005 Posts: 62 | 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. |
| |
| | #2 |
| Supporter Moderator Join Date: Dec 2005 Location: Cluj-Napoca/Sighisoara (Romania) Posts: 4,524 | 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.
|
| |
| | #3 |
| Join Date: Sep 2005 Posts: 62 | 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. |
| |
| | #4 |
| Supporter Moderator Join Date: Dec 2005 Location: Cluj-Napoca/Sighisoara (Romania) Posts: 4,524 | 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. Code: Content visible to registered users only. 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.
Last edited by Boby; 09-29-2006 at 11:34 AM. |
| |
| | #5 |
| Join Date: Sep 2005 Posts: 62 | 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. |
| |
| | #6 |
| Supporter Moderator Join Date: Dec 2005 Location: Cluj-Napoca/Sighisoara (Romania) Posts: 4,524 | 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.
|
| |
| | #7 |
| Supporter Join Date: Oct 2006 Posts: 15 | 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. |
| |
| | #8 |
| Join Date: Jan 2007 Posts: 3 | 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. |
| |
| | #9 |
| :) phpLD Support phpLD Administrator Supporter Moderator Join Date: Aug 2006 Location: Nanaimo, BC , Canada Posts: 24,019 | 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 |
| |
| | #10 |
| Join Date: Jan 2007 Posts: 3 | 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. |
| |
| | #11 |
| :) phpLD Support phpLD Administrator Supporter Moderator Join Date: Aug 2006 Location: Nanaimo, BC , Canada Posts: 24,019 | 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 |
| |
| | #12 |
| Join Date: Feb 2007 Posts: 30 | 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. |
| |
| | #13 |
| :) phpLD Support phpLD Administrator Supporter Moderator Join Date: Aug 2006 Location: Nanaimo, BC , Canada Posts: 24,019 | 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 |
| |
| | #14 |
| Join Date: Feb 2007 Posts: 30 | Code: Content visible to registered users only. I tried that before, but made mistake, now with full path adress that works… thanks! |
| |
| | #15 |
| Join Date: Oct 2007 Posts: 1 | 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. ... |
| |
| | #16 |
| :) phpLD Support phpLD Administrator Supporter Moderator Join Date: Aug 2006 Location: Nanaimo, BC , Canada Posts: 24,019 | 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 |
| |
| | #17 |
| Join Date: Aug 2007 Location: Australia Posts: 18 | 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. 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 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. |
| |
| | #18 |
| Join Date: Aug 2007 Location: Australia Posts: 18 | Oops! I just found the other thread that helped me last time. Should be no problems now ![]() Cheers, Jane |
| |