Missing Operation Definition File for Module: Content

Author Message

Jer S

Monday 16 May 2005 11:06:35 am

I basically want to publish a folder from code. I have used the examples found in the forums but it is not quite working. The folder gets put into draft fine, but, when I do the following call to publish

$operationResult = eZOperationHandler::execute( 'content','publish',array( 'object_id' => $myContentObject->attribute( 'id' ), 'version' => $myContentObject->attribute('current_version' ) ) );

I do not get an error in the browser, but errors in the error.log. They are: Missing Operation Definition File for Module: Content and then Cannot execute operation 'publish' in module 'content', no valid data

If anyone can shed some light....

Thanks

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 04:17:07
Script start
Timing: Jan 19 2025 04:17:07
Module start 'layout'
Timing: Jan 19 2025 04:17:07
Module start 'content'
Timing: Jan 19 2025 04:17:08
Module end 'content'
Timing: Jan 19 2025 04:17:08
Script end

Main resources:

Total runtime1.0425 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.0106 590.5313152.6563
Module start 'layout' 0.01060.0050 743.187539.5078
Module start 'content' 0.01561.0254 782.6953399.3203
Module end 'content' 1.04100.0015 1,182.01568.1094
Script end 1.0424  1,190.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4027160.0003
Check MTime0.00180.1743160.0001
Mysql Total
Database connection0.00180.174010.0018
Mysqli_queries0.992095.1523460.0216
Looping result0.00060.0598440.0000
Template Total0.984894.520.4924
Template load0.00220.209020.0011
Template processing0.982694.258120.4913
Template load and register function0.00020.021110.0002
states
state_id_array0.00150.139110.0015
state_identifier_array0.00360.342520.0018
Override
Cache load0.00170.166880.0002
Sytem overhead
Fetch class attribute can translate value0.00060.057910.0006
Fetch class attribute name0.00050.045910.0005
XML
Image XML parsing0.00010.010210.0001
class_abstraction
Instantiating content class attribute0.00000.002210.0000
General
dbfile0.00380.3682100.0004
String conversion0.00000.001040.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
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs