Versionview policy ?

Author Message

Benjamin Lemoine

Tuesday 27 February 2007 8:05:50 am

Hi all !

Just a little question :

When my users click on the preview button in the admin interface, eZ publish diplays a "kernel(1)" error.
So, what policy should I add to my users rules to make this preview work ? I can't find it.

Thanks.

Anja Lundin

Wednesday 05 December 2007 2:14:24 am

Hi Benjamin!
You probarbly already found the solution by now. If not, I think this is it:
in the policy for the user set:

Content Versionread No limits

I think this is it because before you publish an object (when its only a draft) it has no connection to what section it belongs to and so on...

It works for me (I use eZ publish 3.9.2)!

Best regards!
Anja Lundin

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

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 14:58:42
Script start
Timing: Jan 18 2025 14:58:42
Module start 'layout'
Timing: Jan 18 2025 14:58:42
Module start 'content'
Timing: Jan 18 2025 14:58:43
Module end 'content'
Timing: Jan 18 2025 14:58:43
Script end

Main resources:

Total runtime1.4975 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.0051 587.8906152.6094
Module start 'layout' 0.00510.0028 740.500039.4141
Module start 'content' 0.00791.4883 779.9141520.7734
Module end 'content' 1.49620.0013 1,300.68758.1875
Script end 1.4975  1,308.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2020160.0002
Check MTime0.00130.0838160.0001
Mysql Total
Database connection0.00070.048710.0007
Mysqli_queries1.443796.4018540.0267
Looping result0.00070.0459520.0000
Template Total1.454197.120.7270
Template load0.00210.137020.0010
Template processing1.452096.960520.7260
Template load and register function0.00030.016810.0003
states
state_id_array0.00260.174110.0026
state_identifier_array0.00200.135620.0010
Override
Cache load0.00170.1157180.0001
Sytem overhead
Fetch class attribute can translate value0.00100.064320.0005
Fetch class attribute name0.00100.066630.0003
XML
Image XML parsing0.00830.556320.0042
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00840.5583160.0005
String conversion0.00000.000540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs