New module in ext. : error (21)

Author Message

Dominik Pich

Friday 13 February 2004 2:20:04 am

I followed the tutorial in making my module 'SHEET' but didnt add ANY functions. Only one view 'IMPORT'

I can access the module and it is found..... kinda
It always says: ~'view not found in %modul'

Debug output:
eZ debug
Warning: PHP Feb 13 2004 11:20:20
reset(): Passed variable is not an array or object in /var/www/notencity/lib/ezutils/classes/ezmodule.php on line 83
Warning: PHP Feb 13 2004 11:20:20
key(): Passed variable is not an array or object in /var/www/notencity/lib/ezutils/classes/ezmodule.php on line 84
Timing: Feb 13 2004 11:20:20
Module start 'sheet'
Error: eZModule Feb 13 2004 11:20:20
Undefined view: ::
Error: eZTemplate Feb 13 2004 11:20:20
No such attribute for array(2): view
Choose one of following: module, view
Timing: Feb 13 2004 11:20:20
Module end 'error'
Timing: Feb 13 2004 11:20:20
End

What to do? Do I need an empty function_definition and so on.
Stopped following the tutorial after creating the tpl (mine only says 'Data')

Edit: FIXED IT - SORRY MY FAULT (OF COURSE)

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 22:21:55
Script start
Timing: Jan 18 2025 22:21:55
Module start 'layout'
Timing: Jan 18 2025 22:21:55
Module start 'content'
Timing: Jan 18 2025 22:21:56
Module end 'content'
Timing: Jan 18 2025 22:21:56
Script end

Main resources:

Total runtime0.6365 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.0060 589.3438152.6250
Module start 'layout' 0.00600.0031 741.968839.4453
Module start 'content' 0.00920.6257 781.4141404.6797
Module end 'content' 0.63480.0017 1,186.09388.1641
Script end 0.6365  1,194.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5592160.0002
Check MTime0.00140.2266160.0001
Mysql Total
Database connection0.00090.146310.0009
Mysqli_queries0.594393.3569460.0129
Looping result0.00050.0730440.0000
Template Total0.601894.520.3009
Template load0.00200.307120.0010
Template processing0.599994.236420.2999
Template load and register function0.00020.030810.0002
states
state_id_array0.00110.179710.0011
state_identifier_array0.00090.137820.0004
Override
Cache load0.00160.2492260.0001
Sytem overhead
Fetch class attribute can translate value0.00110.175610.0011
Fetch class attribute name0.00060.097510.0006
XML
Image XML parsing0.00010.017610.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00060.1013100.0001
String conversion0.00000.001440.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
4content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs