login blank page - debug details do not give any indication ...

Author Message

paul harvey

Sunday 08 February 2004 7:32:13 am

hi

I have created a new role called authenticated users and assigned the guest account group privallages to access a form for submitting news content. I have also created overides for login.tpl and register.tpl. I have created a test user to test the login, after i submit the test users credentials I am redirected to a blank page. i having dedug and template debug turned on but recieve no detail for teh blank page. If i go back to my submit news button all works ok i.e the user has been authenticated and i can submit a news article for approval.

What i would like to do is conirm to the user they have been logged on and redirect them to the submit news page. Any Ideas.

Thanks
Paul

paul harvey

Sunday 08 February 2004 4:14:54 pm

ok i have moved on a bit from this now i find that once i activate the account i am logged on but when i access any part of the site i am loged out. i then login and all is hunky dory.

any ideas?

Vidar Langseid

Wednesday 11 February 2004 4:26:41 am

hmm, so what you are saying is that now you have to login twice before it is working ?

Vidar Langseid

Wednesday 11 February 2004 4:43:08 am

ok, just reread your post and got it.. ;)

Sorry, but I don't know why you got this behaviour. When you activate your account, you should automaticly be logged in (and stay logged in untill you logout)

One suggestion though:
When you register and activate a user, does the hostname in your URLs ever change during this process ? (Maybe the hostname in the email is wrong/different?) If so, then that's the source to your problem

paul harvey

Wednesday 11 February 2004 10:28:18 am

thanks Vidar

you are indeed correct the hostname was wrong. I had confused mtself while trying to test on two systems here. A classic case of trying to get to much done to quick and not looking at the problem correctly, two weeks of trying to get up to speed with ez took has taken its toll :) after a night off I checked it against my internet test site and spotted it imediatly in the email. Now i just have to remember not to move test users i wish to delete to trash, but that another story.

thanks
Paul

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 18:29:01
Script start
Timing: Jan 18 2025 18:29:01
Module start 'layout'
Timing: Jan 18 2025 18:29:01
Module start 'content'
Timing: Jan 18 2025 18:29:02
Module end 'content'
Timing: Jan 18 2025 18:29:02
Script end

Main resources:

Total runtime1.3260 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.1719152.6563
Module start 'layout' 0.00670.0027 740.828139.5078
Module start 'content' 0.00941.3150 780.3359493.3281
Module end 'content' 1.32440.0016 1,273.664112.0938
Script end 1.3260  1,285.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2434160.0002
Check MTime0.00130.0989160.0001
Mysql Total
Database connection0.00140.104210.0014
Mysqli_queries1.273996.0673630.0202
Looping result0.00070.0509610.0000
Template Total1.290997.320.6454
Template load0.00240.179220.0012
Template processing1.288597.169220.6442
Template load and register function0.00030.024210.0003
states
state_id_array0.00110.085310.0011
state_identifier_array0.00170.129320.0009
Override
Cache load0.00200.1500230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.048120.0003
Fetch class attribute name0.00110.084450.0002
XML
Image XML parsing0.00020.016920.0001
class_abstraction
Instantiating content class attribute0.00000.000850.0000
General
dbfile0.00150.1100100.0001
String conversion0.00000.000640.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
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs