Tuesday 14 February 2006 3:39:09 pm
Hi Juan, thanks for your reply, first of all the line which is mentioned in the error:
321: if ( $http->hasPostVariable( "NewButton" ) )
322: {
323: $new_event = eZWorkflowEvent::create( $WorkflowID, $cur_type );
324: $new_event_type =& $new_event->eventType();
325: $db =& eZDB::instance();
326: $db->begin();
327:
328: if ($canStore) $workflow->store( $event_list );
329: $new_event_type->initializeEvent( $new_event );
330: $new_event->store();
331:
332: $db->commit();
333: $event_list[] =& $new_event;
334: }
so the initialization of the events fails but i dont know what this means.
concerning the ini-files and structure of the extension i strictly followed the documentation:
the path of the event is: 'extension/ezadvancedonlineshop/eventtypes/event/ezadvancedshipping/ezadvancedshippingtype.php'
and i inserted the following lines in 'extension/ezadvancedonlineshop/settings/workflow.ini.append'
[EventSettings]
ExtensionDirectories[]=ezadvancedonlineshop
AvailableEventTypes[]=event_ezadvancedshipping
as consequence i can activate the extension in the admin-interface ('setup > extensions') but i always get this failure i mentioned in my post before. I hoped its a typo but i really couldnt find anything, so i have to missunderstood something about creating extensions i think. any suggestions???
thanks achim
|