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

eZ Community » Forums » Setup & design » How to use the CreateContentCommand ?...

How to use the CreateContentCommand ? Invalid XML exception

How to use the CreateContentCommand ? Invalid XML exception

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 ( 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 : 

  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!

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from