Forums / Setup & design / access denied when inserting comments

access denied when inserting comments

Author Message

ttkt ttkt

Monday 17 October 2005 8:14:07 pm

hi all,

i have an article whereby guests can view the comments and "Add new comment" button on the bottom of the page.

Guests have to login if he wants to give his comment.

the problem is, after the user logs in, there is an error message:

Access denied
You don't have permission to access this area.

Possible reasons for this is.

Your current user does not have the proper privileges to access this page.
You misspelled some parts of your URL, try changing it.

i have already set the roles to
content create Class( Comment ) , ParentClass( Article )
content read Class( Comment )

may i know if there is something i missed out? thanks.

Nabil Alimi

Tuesday 18 October 2005 2:00:28 am

Hi,

Try to had <b>content edit</b> rights too.

Creating a new object is a thing.

Being able to edit it (filling fields in fact) after creation is one other. :)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

ttkt ttkt

Wednesday 19 October 2005 5:13:36 am

hi, it has been solved, thanks guys.

Christian Johansen

Sunday 13 November 2005 11:41:00 pm

How do you go about to allow an article have comments?

Christian Johansen

Sunday 13 November 2005 11:48:52 pm

ttkt ttkt: I saw that you were asking in another thread how to add comments and now it seems you found out. I am wondering the same thing - did you find some text explaining how to do this?

Gurudutt Verma

Friday 18 November 2005 4:52:08 am

Hi Christian Johansen

If you are using standard eZ publish class then

IF you go to article object, try to edit the object
At the bottom you will see on check box to enable the comment for that object,

Just check that and re publish the object after that it must be possible to add comment to article.

eZ debug

Timing: Jan 31 2025 08:05:37
Script start
Timing: Jan 31 2025 08:05:37
Module start 'content'
Timing: Jan 31 2025 08:05:37
Module end 'content'
Timing: Jan 31 2025 08:05:37
Script end

Main resources:

Total runtime0.3070 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0547180.8281
Module start 'content' 0.00630.0053 768.882897.8984
Module end 'content' 0.01160.2954 866.7813527.0781
Script end 0.3069  1,393.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.9533200.0001
Check MTime0.00120.3818200.0001
Mysql Total
Database connection0.00110.358310.0011
Mysqli_queries0.182359.38461410.0013
Looping result0.00160.50911390.0000
Template Total0.295196.110.2951
Template load0.00090.297410.0009
Template processing0.294195.804710.2941
Override
Cache load0.00050.172010.0005
Sytem overhead
Fetch class attribute can translate value0.00070.242310.0007
XML
Image XML parsing0.00030.108210.0003
General
dbfile0.044514.4984200.0022
String conversion0.00000.002030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs