Forums / General / Can't log into admin site

Can't log into admin site

Author Message

Josh Rader

Monday 23 March 2009 1:27:55 pm

We have two servers that are identical, one is production and the other is a development server. I can log into the production server fine, but I have a log-in problem on the development server.When I try to log into the admin site to edit content on the development server, I put the username and password in (both of which are correct) and hit the log in button. Instead of logging me in, the page just refreshes with both username and password fields blank. Any ideas?

Josh Rader

Wednesday 25 March 2009 7:15:18 am

Anyone have any idea? To give you more detail: we're running ez on a Windows Server 2003, Apache 2.2, Mysql 4, PHP 5. The admin site gives no error when I try to log in with user name and password, it just refreshes the page. Thanks.

Guillaume Marty

Wednesday 25 March 2009 7:21:52 am

Hey Josh,

I think you should check first the permissions/ownership on the /var folder, which needs to be writeable by your webserver.

Josh Rader

Wednesday 25 March 2009 7:53:43 am

Thanks for the advice, Marty. I checked the permissions on the 'var' folder, but the Apache user had the correct rights. I happy to report that I figured out what the problem was, however. The ezsession table was corrupt, so I repaired it and it works now. Thanks.

André R.

Wednesday 25 March 2009 8:50:26 am

Is this eZ Publish 4.1? if so then there is a know session cache issue mentioned in comment on the 4.1 article with patch.

If not, try to enable debugOutput and debugRedirection in site.ini to look for any clues on what is going on.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom