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.