Hi all,
I have a client who can't do anything in the bBE - they just get redirected to login.php?ref=<last backend page url>
I assume this is due to some server change as the site has been running fine for a year or two.
There are no errors in the php error_log.
Any quick fixes before i look at reinstalling?
thanks
anton
Backend - any action redirects to login.php
Re: Backend - any action redirects to login.php
I am now getting this on a clean install on a vps running linux and plesk.
Re: Backend - any action redirects to login.php
Hi,
"Session Support" is enabled?
What is the "Locale Value" for "session.save_path" if you run phpinfo()?
"Session Support" is enabled?
What is the "Locale Value" for "session.save_path" if you run phpinfo()?
Re: Backend - any action redirects to login.php
hi,
Yes, sessions are enabled and the save path is /var/lib/php/session.
Yes, sessions are enabled and the save path is /var/lib/php/session.
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Backend - any action redirects to login.php
It is a session and/or db problem. While logged in to the backend user get a session and a status in db which is updated on each page activity. Based on current time and db log time user will disconnetced on timout. Check your config $phpwcms['max_time'] – maybe this is too low. Some customers need long time while writing.
Re: Backend - any action redirects to login.php
Okay, is /var/lib/php/session existing and has the webserver-user write permissions there?antonumia wrote:hi,
Yes, sessions are enabled and the save path is /var/lib/php/session.
Are sessions in /var/lib/php/session if you login to backend?
Regards Heiko..
Re: Backend - any action redirects to login.php
Thanks Oliver,
I extended to 18000 which improves it somewhat but doesn't fix it.
Annoying as this is the only one of around 20 installs on 5+ servers.
I have root privileges on the server.
Is there anything else I can do?
I extended to 18000 which improves it somewhat but doesn't fix it.
Annoying as this is the only one of around 20 installs on 5+ servers.
I have root privileges on the server.
Is there anything else I can do?
Re: Backend - any action redirects to login.php
Heiko H. wrote:Okay, is /var/lib/php/session existing and has the webserver-user write permissions there?antonumia wrote:hi,
Yes, sessions are enabled and the save path is /var/lib/php/session.
Are sessions in /var/lib/php/session if you login to backend?
Regards Heiko..
Hi,
Yes these are both there. I suspect Oliver has it though.
Wierd for a VPS though. I think I'll restart it and take it up with the hosting company.