Forums / Setup & design / Error kernel (1) Access Denied in Index.php page

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?

eZ debug

Timing: Jan 19 2025 06:22:33
Script start
Timing: Jan 19 2025 06:22:33
Module start 'content'
Timing: Jan 19 2025 06:22:33
Module end 'content'
Timing: Jan 19 2025 06:22:33
Script end

Main resources:

Total runtime0.0168 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 590.2344180.8125
Module start 'content' 0.00530.0067 771.046997.9297
Module end 'content' 0.01210.0047 868.976674.7031
Script end 0.0167  943.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.001911.3849120.0002
Check MTime0.00105.7329120.0001
Mysql Total
Database connection0.00074.068610.0007
Mysqli_queries0.002615.437840.0006
Looping result0.00000.089520.0000
Template Total0.004426.110.0044
Template load0.00074.031610.0007
Template processing0.003722.008610.0037
Override
Cache load0.00052.763510.0005
General
dbfile0.002615.5102100.0003
String conversion0.00000.028430.0000
Note: percentages do not add up to 100% because some accumulators overlap

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.0001 secs