webERP Forum
Login Loop - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Login Loop (/showthread.php?tid=2404)



Login Loop - sunshinelock - 03-09-2015

I'm running 4.11

This was working fine until this afternoon when I went to check something.

I get the screen asking for username and password. I click "Login". The next screen gives me main screen:

Error in form verification
Main Menu
Customers
Items
Vendors
Manual
Logout
ERROR Message Report : This form was not submitted with a correct ID

This error message is not out of the ordinary.

But the problem is the next click. If I click any of the 4 menu items (not manual or logout) I get redirected to the login screen. It's an endless loop. This is all I am allowed to do.


RE: Login Loop - phil - 03-09-2015

Have you changed a script?
The session.inc has for many years checked that form submissions come from a webERP script.


RE: Login Loop - sunshinelock - 03-09-2015

No script has been changed. It logged in fine on Saturday morning. I went away on a short vacation to the Everglades and it stopped working on Sunday evening when I came back.



RE: Login Loop - phil - 03-09-2015

Thought you were running 4.12.2 now too?


RE: Login Loop - jo lwebuga - 03-09-2015


Hello there,

Please try clearing everything in browser cache and try logging in again.

If you get the same massage you can click logout on the menu and then it should be redirected to the login form to login.

Thanks


RE: Login Loop - phil - 03-09-2015

I get the same message on your install... I am wondering about the session save path - perhaps the host is using a more interesting load balancing arrangement. If the machine doing the serving changes or could change between calls then the session save path could change and be lost. I have an idea to fix it if this might be it.


RE: Login Loop - sunshinelock - 03-10-2015

I got my webhost to install the database backup from a day ago. I guess the mySQL database was corrupt during the daily backup. It's working now.



RE: Login Loop - phil - 03-10-2015

Ah - glad you are sorted...


RE: Login Loop - umer-aoa - 06-10-2015

Dear Mr. Phil,

I am stuck in above mentioned problem and search alot but could able to get rid from that problem.

Regards,

Umar


RE: Login Loop - TimSchofield - 06-10-2015

This problem is normally caused by the fact that the web server cannot write to the directory where session information is stored. The default can be over written in config.php by oncommenting this line:

//$SessionSavePath = '/tmp';

have you done this? If not then you need to check with whoever supports your server to check this directory.

Thanks
Tim