Interesting Login Form Routing Problem

Author Message

Nigel Hulls

Wednesday 10 February 2010 5:11:34 pm

Hi all, I've got an interesting little login problem.

I have a expublish site that was recently upgraded from 4.01 to 4.2. It's not live but is living on a staging server until some templating changes can be made.

The site is working fine, serves up content no problems at all.

However for some bizare reason nobody can login to the site. If you enter your username and password and click login you are taken back to the login page. There is no error message to indicate a problem.

I've cleared the caches, restored an earlier db backup that worked, tried everything i know or could find on the net and basically got nowhere.

I turned the sqldebug on and noticed the following query

SELECT e0.id AS e0_id, e0.link AS e0_link, e0.text AS e0_text, e0.text_md5 AS e0_text_md5, e0.is_alias AS e0_is_alias, e0.alias_redirects AS e0_alias_redirects, e1.id AS e1_id, e1.link AS e1_link, e1.text AS e1_text, e1.text_md5 AS e1_text_md5, e1.is_alias AS e1_is_alias, e1.action AS e1_action, e1.alias_redirects AS e1_alias_redirects
FROM ezurlalias_ml e0, ezurlalias_ml e1
WHERE e0.parent = 0 AND (e0.lang_mask & 3 > 0) AND e0.text_md5 =  MD5( 'user' ) 
AND e1.parent = e0.link AND (e1.lang_mask & 3 > 0) AND e1.text_md5 =  MD5( 'login' ) 
LIMIT 0, 1

which is returning zero rows.

So seems to me that eZ no longer accepts the routing information for /user/login in the database and therefore has no module / node to hook the form output into.

Does this sound correct? and if so has anyone come across this before and how did you fix it.

cheers

Nigel Hulls

Wednesday 10 February 2010 5:16:59 pm

Sorry, I forgot to add, the login has been working fine ever since the upgrade, so I'm fairly sure that I can rule the upgrade out as a problem.

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 19 2025 11:49:25
Script start
Timing: Jan 19 2025 11:49:25
Module start 'layout'
Timing: Jan 19 2025 11:49:25
Module start 'content'
Timing: Jan 19 2025 11:49:26
Module end 'content'
Timing: Jan 19 2025 11:49:26
Script end

Main resources:

Total runtime0.9416 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.2734152.6406
Module start 'layout' 0.00650.0032 741.914139.4609
Module start 'content' 0.00970.9303 781.3750425.8750
Module end 'content' 0.94000.0016 1,207.25008.1563
Script end 0.9416  1,215.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3184160.0002
Check MTime0.00120.1283160.0001
Mysql Total
Database connection0.00070.076310.0007
Mysqli_queries0.900295.5985520.0173
Looping result0.00040.0470500.0000
Template Total0.909096.520.4545
Template load0.00190.207020.0010
Template processing0.907196.331920.4535
Template load and register function0.00020.018810.0002
states
state_id_array0.00160.171610.0016
state_identifier_array0.00150.162220.0008
Override
Cache load0.00160.1655160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.058610.0006
Fetch class attribute name0.00170.184320.0009
XML
Image XML parsing0.00010.009710.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00110.1211100.0001
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs