Jump to content

processwire constant logout


pmichaelis
 Share

Recommended Posts

Hello Everybody,

after I moved to a new server yesterday, processwire always logs me out of the admin page. If i click on an menu item in the backend sometimes it takes me to the clicked page, sometimes I get redirected to the login page. Does this has anything to with the session handling?

I think after the migration something is wrong with the file permissions.

I deleted the old session files. After that I wanted to delete the AIOM cache, but that throws the error below:

Error: Exception: The permissions (chmod) to delete old cache files could not be changed. (in /var/www/public/site/modules/ProcessWire-AIOM-All-In-One-Minify-AIOM-/AllInOneMinify.module line 646)

#0 /var/www/public/site/modules/ProcessWire-AIOM-All-In-One-Minify-AIOM-/AllInOneMinify.module(837): AllInOneMinify::_clearCache(true)
#1 /var/www/public/wire/core/Wire.php(411): AllInOneMinify::ClearCacheFromBackend(Object(HookEvent))
#2 /var/www/public/wire/core/Wire.php(344): Wire->runHooks('render', Array)
#3 /var/www/public/wire/modules/Process/ProcessPageView.module(171): Wire->__call('render', Array)
#4 /var/www/public/wire/modules/Process/ProcessPageView.module(171): Page->render()
#5 [internal function]: ProcessPageView->___execute(true)

the asstes directory has a 755 permission, aswell as the sessions, aiom and cache directory

Thanks for any hints on that topic!

Link to comment
Share on other sites

Unfortunately I don't understand very much of this problems. However, I once had a similar problem and it turned out that site/assets was not writeable for Processwire anymore. Might be worth checking if this causes the trouble.

EDIT: Note that this might have nothing to do with file permissions but with the setup of your hosting environment. In my case I had to switch CHOWN to PHP-user in the hosting admin.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...