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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:13:16
Script start
Timing: Jan 18 2025 05:13:16
Module start 'layout'
Timing: Jan 18 2025 05:13:16
Module start 'content'
Timing: Jan 18 2025 05:13:17
Module end 'content'
Timing: Jan 18 2025 05:13:17
Script end

Main resources:

Total runtime0.8216 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.0391152.6250
Module start 'layout' 0.00420.0026 741.664139.4453
Module start 'content' 0.00680.8130 781.1094587.1016
Module end 'content' 0.81980.0018 1,368.210912.1641
Script end 0.8216  1,380.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3798160.0002
Check MTime0.00140.1760160.0001
Mysql Total
Database connection0.00060.070210.0006
Mysqli_queries0.774494.2520650.0119
Looping result0.00060.0712630.0000
Template Total0.787195.820.3936
Template load0.00220.272820.0011
Template processing0.784995.524620.3924
Template load and register function0.00020.026310.0002
states
state_id_array0.00190.226010.0019
state_identifier_array0.00210.250420.0010
Override
Cache load0.00180.2225150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.087830.0002
Fetch class attribute name0.00110.135460.0002
XML
Image XML parsing0.00080.092230.0003
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00080.0946170.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs