Kernel question

Author Message

Faf Faf

Saturday 22 September 2007 4:50:54 am

Hello,
I've been inserting contentobjects to database with <b>eZNodeAssignment</b> and <b>eZConteontObject</b> classes but then there aren't rows in ezcontentobject_tree table, which is important a lot. Which part of kernel is doing that?
Thanks

Ɓukasz Serwatka

Monday 24 September 2007 2:56:11 am

Hello and welcome to eZ Publish Community!

Take a look on following topics where you can find some examples:
http://ez.no/developer/forum/developer/dynamically_creating_multiple_locations
http://ez.no/developer/forum/install_configuration/how_to_create_ezcontentobject_programmatically/re_how_to_create_ezcontentobject_programmatically
http://ez.no/developer/forum/developer/how_can_we_create_content_objects_from_code/re_how_can_we_create_content_objects_from_code__4
http://ez.no/developer/forum/developer/creating_a_simple_content_object_via_php/re_creating_a_simple_content_object_via_php__12

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Marek Kowal

Wednesday 03 October 2007 5:40:12 pm

I've got the same problem. Have you solved it?

regards
Marek Kowal
marek.kowal@iqs.ie

Lazaro Ferreira

Thursday 04 October 2007 7:51:02 am

Hi,

Could you post the code you are using to create content objects ?

Regards

Lazaro
http://www.mzbusiness.com

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

Main resources:

Total runtime1.1918 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.7891152.6094
Module start 'layout' 0.00690.0032 740.398439.4141
Module start 'content' 0.01011.1803 779.8125611.9531
Module end 'content' 1.19040.0013 1,391.765612.1953
Script end 1.1917  1,403.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2979160.0002
Check MTime0.00150.1233160.0001
Mysql Total
Database connection0.00100.083010.0010
Mysqli_queries1.144095.9963640.0179
Looping result0.00060.0487620.0000
Template Total1.162097.520.5810
Template load0.00170.145320.0009
Template processing1.160397.356920.5801
Template load and register function0.00020.013810.0002
states
state_id_array0.00070.057210.0007
state_identifier_array0.00070.054720.0003
Override
Cache load0.00140.1197230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.049240.0001
Fetch class attribute name0.00090.073450.0002
XML
Image XML parsing0.00090.073540.0002
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00090.0761180.0001
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs