Error creating new class

Author Message

Jens Kultima

Saturday 31 March 2007 10:00:09 am

Hi everyone,

I am using eZ Publish 3.9.0 online editor. When I create a new class or copy a class it is not shown correctly on my homepage.

I am using a Swedish version and get the following error:
"Standard objektsvy. Klicka för att skapa en egen mall, Nod ID: 332, Objekt ID: 361" and if I click the link I am suggested to create an override template.

This problem occurs even if I only copy the article-class and try to create a new object of that class.

Why do I get this error and what can I do about it?

Jens

Nabil Alimi

Sunday 01 April 2007 4:27:58 pm

Hi Jens,

Actually, this is not an error. The screen you have when viewing original articles is the override of the default node/view/full.tpl. The display is correct because override rules are defined in the override.ini file of the siteaccess and the match rules are probably set to match the "article" content class and of course not your newly copied class. You need to set correct override rules to solve this.

For more informations about override : http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_override_conditions

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 31 2025 04:31:35
Script start
Timing: Jan 31 2025 04:31:35
Module start 'layout'
Timing: Jan 31 2025 04:31:35
Module start 'content'
Timing: Jan 31 2025 04:31:35
Module end 'content'
Timing: Jan 31 2025 04:31:35
Script end

Main resources:

Total runtime0.0136 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1328151.2109
Module start 'layout' 0.00450.0022 739.343836.6484
Module start 'content' 0.00680.0054 775.992290.1406
Module end 'content' 0.01220.0013 866.132829.9922
Script end 0.0135  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.7689140.0002
Check MTime0.00117.7569140.0001
Mysql Total
Database connection0.00064.712510.0006
Mysqli_queries0.002014.620930.0007
Looping result0.00000.087910.0000
Template Total0.00107.410.0010
Template load0.00085.721510.0008
Template processing0.00021.680410.0002
Override
Cache load0.00053.877610.0005
General
dbfile0.001812.942380.0002
String conversion0.00000.042240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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