Forums / Setup & design / The new site, Access denied.

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.