Error kernel (1) Access Denied in Index.php page

Author Message

Davis Weddi

Thursday 12 August 2004 4:19:11 am

This seem to be one of the biggest problems of our ggod CMS.

Can anyone please help give us a concrete solution to this problem. All the other sections of the forum where I have searched do not seem to give a concrete solution for me who is using eZ publish 3.

This is what the index.php page reads

"<b>Access denied</b>
You don't have permission to access this area.

Possible reasons for this is.

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."

Below that statement above comes the login page. Yet I intend not to have the users of my site to register and login. Already, before this happene, one user had tried to register and the link he got in his e-mail could not return anything. So can someone here help. I do not seem to be the only one with this problem.

Before getting Ez publish we are told it is as easy as no need of knowledge of PHP etc. My My My, it is not entirely so. It is a bit complex than that if you have to create a nice site. Probably one need to read the forum here more closely and carefully.

So someone please, help get a solution to the above troubles.

Bård Farstad

Thursday 12 August 2004 7:04:57 am

The access denied error happens when eZ publish does not find a policy which grants access to the current function.

Could you try to enable the debug output. It will be shown there which permissions eZ publish are looking for.

--bård

Documentation: http://ez.no/doc

Luci Ferus

Monday 04 October 2004 8:05:16 am

The same problem there

[SiteAccessSettings]
ForceVirtualHost=false
CheckValidity=true
RequireUserLogin=false
AnonymousAccessList[]
AnonymousAccessList[]=content/read
AnonymousAccessList[]=user/register
AnonymousAccessList[]=user/success
AnonymousAccessList[]=user/activate

[UserSettings]
AnonymousUserID=105

Role policies for group "Anonymous"
Module Function Limitation
content read *

"Anonymous User" belong to "Anonymous" group

ID of "Anonymous User" is 105

<b>eZ debug</b>
Timing: Oct 05 2004 10:37:34

Script start

Timing: Oct 05 2004 10:37:34

Module start 'content'

Warning: Oct 05 2004 10:37:34

User not found, returning anonymous

Warning: Oct 05 2004 10:37:34

User not found, returning anonymous

Warning: Insufficient permissions Oct 05 2004 10:37:34

Function required:
Module : user
Function : login
ClassID :
MainNodeID :
Policies that didn't match:

Timing: Oct 05 2004 10:37:34

Module end 'error'

Warning: Oct 05 2004 10:37:34

User not found, returning anonymous

Warning: PHP Oct 05 2004 10:37:34

strpos(): Empty delimiter. in d:\ezpublish\ezpublish\var\plain\cache\template\compiled\node_list-61c9eca413b9b39c6bc783824e2e1015.php on line 37

Timing: Oct 05 2004 10:37:34

End

BY THE WAY

I made identic settings for 'plain' and 'plain_admin' sites.
Now Anonymous user can browse 'plain_admin' but cant browse 'plain' site.

It is normal ?

Ophir Radnitz

Sunday 28 November 2004 4:21:58 pm

I'm having similar problems. Any comments on the debug information?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.