content/action.php trouble

Author Message

Cheikh Tidiane DIENG

Wednesday 27 October 2004 12:19:00 pm

Hi everybody

How execute <b>content/action</b> without login but when he asks for it.

Best regards.

Cheikh Tidiane DIENG
Computer Engineer
SYDESY.
cheikh@sydesy.com

Silke Fox

Thursday 28 October 2004 1:18:46 am

Could you give us more details?

What are you trying to do and what happens exactly?

silke

Cheikh Tidiane DIENG

Thursday 28 October 2004 2:48:37 am

I want to allow the visitor to add content, but only if they've created an account (eg. a forum when only members can post, but every one can create an account.
I created a rule saying every one but the anonymous user can create a content.
and a button "add a content" with an action content/edit (with two hidden post params, the class id and the node id)
When an anonymous user clics on "add a content", he's (correctly) redirected to /user/login.
But when he logs in, he is redirected to /content/action, without the post params (the nodeid and the class id) aren't properly forwarded
So I get an error message instead of the proper form

Thanks.

Cheikh Tidiane DIENG
Computer Engineer
SYDESY.
cheikh@sydesy.com

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 07:25:56
Script start
Timing: Jan 19 2025 07:25:56
Module start 'layout'
Timing: Jan 19 2025 07:25:56
Module start 'content'
Timing: Jan 19 2025 07:25:57
Module end 'content'
Timing: Jan 19 2025 07:25:57
Script end

Main resources:

Total runtime0.6675 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 590.2813152.6250
Module start 'layout' 0.00590.0033 742.906339.4453
Module start 'content' 0.00920.6571 782.3516528.9531
Module end 'content' 0.66630.0012 1,311.304712.1641
Script end 0.6675  1,323.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4890160.0002
Check MTime0.00130.1996160.0001
Mysql Total
Database connection0.00060.094410.0006
Mysqli_queries0.616992.4153570.0108
Looping result0.00050.0781550.0000
Template Total0.630594.520.3152
Template load0.00210.320720.0011
Template processing0.628394.127820.3142
Template load and register function0.00010.015610.0001
states
state_id_array0.00100.156710.0010
state_identifier_array0.00100.143520.0005
Override
Cache load0.00180.2638200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.091220.0003
Fetch class attribute name0.00150.230240.0004
XML
Image XML parsing0.00060.086920.0003
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00070.1117160.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs