Page 1 of 1
How do I clear my admin user which is stuck on a page with an error?
Posted: Sun May 30, 2010 6:41 pm
by kittymcooper
Whenever I bring up my admin user it goes straight to the page with the error, I cannot get it to go anywhere else even with a direct url like admin/listcontent.php
Where is the memory of the admin page I am on kept?
I tried clearing all the cookies for that site and it did not help. I poked around the database and it did not leap out at me ...??
Re: How do I clear my admin user which is stuck on a page with an error?
Posted: Mon May 31, 2010 10:04 pm
by Dr.CSS
Knowing what the error is and what page it shows on would help, maybe...
Re: How do I clear my admin user which is stuck on a page with an error?
Posted: Tue Jun 01, 2010 5:51 am
by kittymcooper
Well I had 2 cases of stuck admin users ...
I thought that somewhere it saves what page and state of collapse of content my admin user id has. I was hoping someone knew where offhand, but since no one did I read the code and discovered it is in table userprefs, at least for the page list state.
I can change the collapse state for the stuck user there. I have an older site I am upgrading and one of the admin users had done an expand all pages in version 1.3 and ran out of memory and could never log in again. So I updated their collapse parameter in that database table to one of the simpler ones another id was showing
The other error page was from upgrading to too high a release of the banners module which appears to need PHP5, which I do not have yet. Every time I logged in I immediately saw the error from that module and could not do anything even with an explicit url like listcontent, so I overwrote the module with an older release and the error went away. But I was wondering where it was remembering that I was on that page.
Re: How do I clear my admin user which is stuck on a page with an error?
Posted: Tue Jun 01, 2010 3:58 pm
by Dr.CSS
There is a way to set what page you start on in your personal preferences but by default the admin starts on the first page in the menu...