Can't log in
2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 15, 2012 (RSS)
By Toledoh - November 15, 2012
Hi Guys,
This is a strange one. I've recently moved a site to a new host and thought everything was working fine. However, it seems I can no longer log in.
I don't get an error, just refreshes the screen.
I've reset the password and that process works fine, but still can't log in, even with the new password.
I removed the isInstalled.php in the hope of reinstalling from a back-up, but I get an error saying that it can't because it will overwrite the user accounts...
So I've put back the isInstalled.php and the site is working fine, just not allowing me in...
Any thoughts?
This is a strange one. I've recently moved a site to a new host and thought everything was working fine. However, it seems I can no longer log in.
I don't get an error, just refreshes the screen.
I've reset the password and that process works fine, but still can't log in, even with the new password.
I removed the isInstalled.php in the hope of reinstalling from a back-up, but I get an error saying that it can't because it will overwrite the user accounts...
So I've put back the isInstalled.php and the site is working fine, just not allowing me in...
Any thoughts?
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] Can't log in
By Dave - November 15, 2012
Hi Tim,
I created a simple test script in the same folder as admin.php for you called: session_test.php
If you reload that you'll get an error like this:
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0
I'd check to make sure you haven't run out of disk space. If not, I'd send this over to your host to investigate. The session test script has just a couple lines of code so it demonstrates that it's a problem with the server.
The other thing I noticed is the host is running Suhosin, it's a "hardened PHP security patch", it's suppose to provide extra security but usually just breaks a lot of things. You could ask your host if they could turn it off for you. If you look at the phpinfo.php file in the same directory and search for "suhosin.session" you'll see that it messes with a lot of PHP's session settings.
Hope that helps, let me know what you hear back. Cheers!
I created a simple test script in the same folder as admin.php for you called: session_test.php
If you reload that you'll get an error like this:
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0
I'd check to make sure you haven't run out of disk space. If not, I'd send this over to your host to investigate. The session test script has just a couple lines of code so it demonstrates that it's a problem with the server.
The other thing I noticed is the host is running Suhosin, it's a "hardened PHP security patch", it's suppose to provide extra security but usually just breaks a lot of things. You could ask your host if they could turn it off for you. If you look at the phpinfo.php file in the same directory and search for "suhosin.session" you'll see that it messes with a lot of PHP's session settings.
Hope that helps, let me know what you hear back. Cheers!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com