error kernel(1) access denied

Author Message

Jan Bengia

Saturday 04 June 2005 4:52:30 pm

Hi,
I get an error when trying to do the "Building an eZ publish site" Tutorial (http://www.ez.no/ez_publish/documentation/toc/(from)/36647)
After doing the basic setup of the tutorial (first page) I am trying to access the User-Site. But I get an error "kernel(1) - access denied". There is also an LogIn-field and if I login with the admin-PWD everything works fine ...
So why doesnt it work without login?

My config: I've done an installation of eZ 3.6 with "plain" template on a WAMP (XAMPP) System. Main language is German, transl. English. The site access is in "host mode".

Thanks!
Jan

kracker (the)

Saturday 04 June 2005 5:15:52 pm

The answer here is fairly simple because your eZ publish installation's user/role permissions are configured incorrectly to allow allow anonymous users access under a different siteaccess than the one you are using.

This happens often when moving eZ publish to another server or environment without adding the desired siteaccess into the
Admin >> User >> Role >> Anonymous >> Permissions.

<b>Looks like</b>

user       login       SiteAccess( news_user )

<b>Might need to look more like</b>

user       login       SiteAccess( news_user, plain_user )

//kracker
<i>311 : Amber</i>

<i>http://www.ez.no/ez_publish/documentation/incoming/design/siteaccess_configuration
http://www.ez.no/ez_publish/documentation/incoming/design/designs_and_siteaccesses</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Jan Bengia

Sunday 05 June 2005 4:34:36 am

oh, well, perfect!

Thanks!
Jan

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 20:53:51
Script start
Timing: Jan 18 2025 20:53:51
Module start 'layout'
Timing: Jan 18 2025 20:53:51
Module start 'content'
Timing: Jan 18 2025 20:53:52
Module end 'content'
Timing: Jan 18 2025 20:53:52
Script end

Main resources:

Total runtime0.6899 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9141152.6250
Module start 'layout' 0.00630.0029 740.539139.4453
Module start 'content' 0.00920.6791 779.9844542.6641
Module end 'content' 0.68830.0015 1,322.648412.1641
Script end 0.6899  1,334.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4469160.0002
Check MTime0.00130.1879160.0001
Mysql Total
Database connection0.00130.189210.0013
Mysqli_queries0.634792.0045570.0111
Looping result0.00060.0939550.0000
Template Total0.655495.020.3277
Template load0.00210.299820.0010
Template processing0.653394.698520.3267
Template load and register function0.00030.036510.0003
states
state_id_array0.00120.169610.0012
state_identifier_array0.00100.145220.0005
Override
Cache load0.00170.2455270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.093720.0003
Fetch class attribute name0.00100.142940.0002
XML
Image XML parsing0.00100.138920.0005
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00160.2249180.0001
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs