Problems with permissions (kernel 1)

Author Message

Pablo C. Vergara Castro

Tuesday 27 July 2004 10:03:18 am

I am really desperate, since I have been all the day trying to solve this problem.

The problem is the following one: We have created a Web site with eZPublish that consists of 3 siteaccess one to see the content in English, other to see the content in Spanish and the siteaccess of administration (xxxxx_admin). In addition siteaccess in English and Spanish, allows to take the management of the content with a user properly authenticated.

The Web site uses two types of users, the administrator of eZPublish that can do it everything and a user who single can register and modify some classes in some folders. Also it is important to know that the Web site is lodged in our development server and recently we are lodging it in one different one that will be the one of production.

The Problem comes when I copy Web site for develpment server to the one of production, when I access to zone of administration created by us in a siteaccess in English or Spanish, and attempt to access to some content/edit/NODE_NUMBER tell me that I do not have permissions (Error: kernel 1), not leaves me neither with administrator of eZPublish neither with user created, but when I access to the zone of administration and access to some content/edit/NODE_NUMBER if it leaves me, as is the problem?

Bård Farstad

Wednesday 18 August 2004 12:24:46 am

Could this be because you use the wrong ID in your links?
The id in the url you refer to is not node id, but object id:
content/edit/OBJECT_ID

--bård

Documentation: http://ez.no/doc

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 19 2025 00:19:37
Script start
Timing: Jan 19 2025 00:19:37
Module start 'layout'
Timing: Jan 19 2025 00:19:37
Module start 'content'
Timing: Jan 19 2025 00:19:38
Module end 'content'
Timing: Jan 19 2025 00:19:38
Script end

Main resources:

Total runtime1.5950 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9219152.6250
Module start 'layout' 0.00650.0028 740.546939.4609
Module start 'content' 0.00931.5842 780.0078522.5859
Module end 'content' 1.59350.0014 1,302.59388.1563
Script end 1.5950  1,310.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2151160.0002
Check MTime0.00150.0948160.0001
Mysql Total
Database connection0.00080.050310.0008
Mysqli_queries1.550097.1787540.0287
Looping result0.00060.0369520.0000
Template Total1.546797.020.7733
Template load0.00230.144720.0012
Template processing1.544396.823520.7722
Template load and register function0.00010.008510.0001
states
state_id_array0.00260.162210.0026
state_identifier_array0.00200.125520.0010
Override
Cache load0.00180.1148130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.036820.0003
Fetch class attribute name0.00090.054030.0003
XML
Image XML parsing0.00060.039920.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00180.1106170.0001
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs