This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal
Tuesday 12 March 2013 11:43:33 am
I'm learning how to use eZpublish 5 with the official documentation. I've implemented the CreateContentCommand (https://github.com/ezsystems/CookbookBundle/blob/master/Command/ViewContentMetaDataCommand.php) which has to receive the following arguments :
- parent location id
- content type
- title
- intro
- body
but when I try to run it like this :
php ezpublish/console ezpublish:cookbook:create_content 2 article '<title>My Title</title>' '<intro>My intro</intro>' '<body>My body</body>'
I have the following error :
[eZ\Publish\Core\Base\Exceptions\InvalidArgumentException]
Argument 'xmlString' is invalid: Validation of XML content failed: Element 'intro': No matching global declaration available for the validation root.
Thanks a lot for your help!
You must be logged in to post messages in this topic!