/content/action/ and user comments

Author Message

Marc Gibert Ginestà

Thursday 20 November 2003 10:43:52 am

Hi!

I enabled user comments to an article, and from the template code it seems to redirect to /content/action and passing parameters NodeID, ClassID and NewButton .... but when I press the "New Comment" button .... Kernel error.

This seems to happen to my site (based on news), and also to the forum site when I try to reply to a topic.

Is there anybody with the same problem? Solutions?

Thanks in advance.

Arash Molavi

Thursday 20 November 2003 1:14:40 pm

Hmm.. Maybe the problem simply is that anonymous users dont have permenission to create objects.

(Users --> Roles --> Edit Anonymous user role --> New --> Content --> Allow limited --> Create, Allow limited --> Forum message (or comment) --> Store

Marc Gibert Ginestà

Friday 21 November 2003 1:54:07 am

Yes, thank you very much, you were right.

I had to add "edit" permission on this classes also.

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 19:39:04
Script start
Timing: Jan 18 2025 19:39:04
Module start 'layout'
Timing: Jan 18 2025 19:39:04
Module start 'content'
Timing: Jan 18 2025 19:39:05
Module end 'content'
Timing: Jan 18 2025 19:39:05
Script end

Main resources:

Total runtime0.6930 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 589.3438152.6250
Module start 'layout' 0.00590.0033 741.968839.4453
Module start 'content' 0.00920.6825 781.4141498.7578
Module end 'content' 0.69170.0012 1,280.17198.3125
Script end 0.6929  1,288.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4733160.0002
Check MTime0.00140.2037160.0001
Mysql Total
Database connection0.00100.146310.0010
Mysqli_queries0.646693.3068570.0113
Looping result0.00060.0874550.0000
Template Total0.658995.120.3295
Template load0.00220.320320.0011
Template processing0.656794.761820.3283
Template load and register function0.00030.047510.0003
states
state_id_array0.00100.149610.0010
state_identifier_array0.00160.228020.0008
Override
Cache load0.00190.2672150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.116920.0004
Fetch class attribute name0.00100.145340.0003
XML
Image XML parsing0.00080.113420.0004
class_abstraction
Instantiating content class attribute0.00000.003540.0000
General
dbfile0.00080.1215170.0000
String conversion0.00000.001340.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
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/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs