View Single Post
Old 25th August 2011, 19:44
erosbk erosbk is offline
Senior Member
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts

Run this from root:

find / -name sess_*

See where sess_ files are being saved for your client/s (location differs between clients), and see if are in the correct path.

In your log, all sess_ files are being searched in /var/lib/php/session

But, I think that ISPConfig sets another path for that (/tmp of each client). Maybe the site has a wrong value for session.save_path (it could be correct when the page was working in another hosting...)

See other answer please, I am not an expert in this... yet :P


Edit: As I see, your clients are in /var/www/clients/client1/web1/web, if you didn't change default values of ispconfig, path for sessions should be /var/www/clients/client1/web1/web/tmp... the solution should be just modify the value of the variable in the site.. you could see which file has that value with this from root:

find /var/www/clients/client1/web1/web/ -type f -exec grep -i "/var/lib/php/session" {} \; -print

It should show you every file in /var/www/clients/client1/web1/web/ that has in content "/var/lib/php/session", next, you have to edit those files to point session path to correct directory.

Last edited by erosbk; 25th August 2011 at 19:50.
Reply With Quote