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.

eZ debug

Timing: Jan 18 2025 19:30:19
Script start
Timing: Jan 18 2025 19:30:19
Module start 'layout'
Timing: Jan 18 2025 19:30:19
Module start 'content'
Timing: Jan 18 2025 19:30:20
Module end 'content'
Timing: Jan 18 2025 19:30:20
Script end

Main resources:

Total runtime0.9449 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.4766152.6406
Module start 'layout' 0.00690.0029 742.117239.4922
Module start 'content' 0.00980.9333 781.6094632.4844
Module end 'content' 0.94310.0017 1,414.093812.1250
Script end 0.9448  1,426.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3368160.0002
Check MTime0.00130.1380160.0001
Mysql Total
Database connection0.00120.122310.0012
Mysqli_queries0.872092.2903640.0136
Looping result0.00070.0714620.0000
Template Total0.908596.120.4542
Template load0.00220.230720.0011
Template processing0.906395.916320.4531
Template load and register function0.00030.027710.0003
states
state_id_array0.00120.130110.0012
state_identifier_array0.00100.104620.0005
Override
Cache load0.00180.1852680.0000
Sytem overhead
Fetch class attribute can translate value0.00110.112340.0003
Fetch class attribute name0.00100.107160.0002
XML
Image XML parsing0.00140.150540.0004
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00090.1003230.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
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs