New Content Class doesn`t work - conflicts with version ?

Author Message

Alex Schmid

Tuesday 06 April 2004 6:54:33 am

hello,

i`m playing with ezpublish and got some problems when i try to create a new content class for a newsticker (headline, intro, text & 2 images)

After creating the class it doesn`t appear in the list of classes but is present in the database (ezcontentclass[_xxxx] tables), here the version-values are set to 1. If i switch them manually in the databse the class appears.

Do i use the admin-interface a wrong way or is this a known problem ?

Thanks for your hints,
Alex

Martin Ulrich

Tuesday 06 April 2004 11:04:32 am

may be you have to set role / permission for the new class.
but not sure, newbie myself

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

willy jansen

Tuesday 31 August 2004 10:24:20 am

I ran into the same problem. I ctreated a new class but it didn't show up in the list of classes.

I manually changed the values
version in the table ezcontentclass to 0
and contentclass_version in ezcontentclass_classgroup to 0

Now it seeems to work ... crossing fingers ...

Hans Melis

Tuesday 31 August 2004 10:26:57 am

Did you click on the "Store" button, or only the "Apply" button?

The store button merges the edited version into the stored version, while the apply button only applies changes to the version in edit mode.

Hans
http://blog.hansmelis.be

willy jansen

Tuesday 31 August 2004 10:59:08 am

Yep. Both. Every change is now being saved with version=0

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

Main resources:

Total runtime1.1673 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.5313152.6563
Module start 'layout' 0.00580.0028 743.187539.5078
Module start 'content' 0.00851.1571 782.6953620.2266
Module end 'content' 1.16560.0016 1,402.921912.0938
Script end 1.1673  1,415.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2809160.0002
Check MTime0.00130.1107160.0001
Mysql Total
Database connection0.00070.061310.0007
Mysqli_queries1.112695.3103670.0166
Looping result0.00080.0649650.0000
Template Total1.128796.720.5643
Template load0.00200.175420.0010
Template processing1.126696.515320.5633
Template load and register function0.00010.012310.0001
states
state_id_array0.00110.090210.0011
state_identifier_array0.00140.118520.0007
Override
Cache load0.00170.1484240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056740.0002
Fetch class attribute name0.00150.129060.0003
XML
Image XML parsing0.00080.069040.0002
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00070.0604150.0000
String conversion0.00000.000740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs