The new site, Access denied.

Author Message

Jun Zheng

Friday 31 October 2008 11:24:37 pm

Hi all,
I created a new site like the documents said, but when i visited i got this problem:Kernel(1)

Access denied
You do not have permission to access this area.

Possible reasons for this are:

You are currently not logged in to the site, to get proper access create a new user or login with an existing user. 
You misspelled some parts of your URL, try changing it. 

the pagelayout was shown,but the content didn't,it just prompt me to login,when i logged use the admin accounts it reveals like i want.

Thanks.

Greg McAvoy-Jensen

Friday 31 October 2008 11:32:43 pm

Jun,

Can you verify that the anonymous user has login rights by checking the roles and policies in the admin interface? They'll need these rights for the siteaccess you're trying to view. Also be sure the var directory is writable by Apache. You could also enable debug output in site.ini and/or check log/error.log.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Yannick Komotir

Sunday 02 November 2008 5:52:29 am

Hi,
looking at your url, that is right ? your site.ini in your siteacces settings can tell you about this.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Jun Zheng

Sunday 02 November 2008 7:39:45 pm

I solved this problem, I specified the use login policy uncorrectly.
Thank you all very much.

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

Main resources:

Total runtime0.8791 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.3438152.6250
Module start 'layout' 0.00760.0047 741.968839.4453
Module start 'content' 0.01230.8653 781.4141591.4922
Module end 'content' 0.87760.0015 1,372.906312.4766
Script end 0.8791  1,385.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3954160.0002
Check MTime0.00140.1553160.0001
Mysql Total
Database connection0.00200.222710.0020
Mysqli_queries0.824993.8306620.0133
Looping result0.00070.0751600.0000
Template Total0.839095.420.4195
Template load0.00220.249220.0011
Template processing0.836895.187920.4184
Template load and register function0.00010.015510.0001
states
state_id_array0.00120.134910.0012
state_identifier_array0.00100.110820.0005
Override
Cache load0.00180.2085190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.064430.0002
Fetch class attribute name0.00110.120060.0002
XML
Image XML parsing0.00120.134330.0004
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00110.1289240.0000
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/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
2content/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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs