Forums / Setup & design / Error creating new class

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

eZ debug

Timing: Jan 18 2025 22:12:55
Script start
Timing: Jan 18 2025 22:12:55
Module start 'content'
Timing: Jan 18 2025 22:12:55
Module end 'content'
Timing: Jan 18 2025 22:12:55
Script end

Main resources:

Total runtime0.0183 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.0073 587.7109180.8359
Module start 'content' 0.00730.0052 768.546993.8672
Module end 'content' 0.01250.0056 862.414170.7031
Script end 0.0182  933.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002111.2855120.0002
Check MTime0.00095.1510120.0001
Mysql Total
Database connection0.00105.390110.0010
Mysqli_queries0.003619.610340.0009
Looping result0.00000.137120.0000
Template Total0.005328.810.0053
Template load0.00084.547710.0008
Template processing0.004424.229810.0044
Override
Cache load0.00053.001310.0005
General
dbfile0.00126.5185100.0001
String conversion0.00000.031330.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