Forums / Developer / New module in ext. : error (21)

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)