Custom module falls back from admin to base design

Author Message

Jeroen van Duffelen

Tuesday 13 January 2009 8:29:05 am

Hi people,

My first post on these forums! Together with Sutrix Media I already managed to get very far with the development on eZ Publish, I love it!

But my problem: I've build an extension with a module which create a new top level node like the Welcome to eZ Publish node. I'm using this node as a new content structure for the creation of custom menu's. Sutrix built this module but I'm trying to create a clean installation process for it. So far I managed to get it up to a certain point where the code posted below creates the new top level node. But after it has run the admin interface changes from the admin design to the base and standard design. Looking at the errors the debug produces it seems like the siteaccess data is lost but i cant figure out why...

the code I'm using can be found overhere:
http://cman001.nl/extension/driwebin_prep/modules/driwebin_menu_structure/view/install.html

I hope you guys can help me out!

Let me know if someone wants to reproduce the error, because it only displays once...

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 11:33:05
Script start
Timing: Jan 18 2025 11:33:05
Module start 'layout'
Timing: Jan 18 2025 11:33:05
Module start 'content'
Timing: Jan 18 2025 11:33:06
Module end 'content'
Timing: Jan 18 2025 11:33:06
Script end

Main resources:

Total runtime0.7236 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.0469152.6406
Module start 'layout' 0.00650.0030 740.687539.4922
Module start 'content' 0.00950.7124 780.1797401.3906
Module end 'content' 0.72200.0016 1,181.57038.1250
Script end 0.7235  1,189.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4923160.0002
Check MTime0.00140.1965160.0001
Mysql Total
Database connection0.00200.282510.0020
Mysqli_queries0.685694.7520460.0149
Looping result0.00040.0566440.0000
Template Total0.688695.220.3443
Template load0.00230.319220.0012
Template processing0.686294.838620.3431
Template load and register function0.00020.025810.0002
states
state_id_array0.00190.262110.0019
state_identifier_array0.00080.117020.0004
Override
Cache load0.00170.2358100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.144010.0010
Fetch class attribute name0.00080.110010.0008
XML
Image XML parsing0.00010.017610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00070.0915100.0001
String conversion0.00000.001140.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs