Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Error when inserting images in MCE


Go to End


2 Posts   876 Views

Avatar
nekranox

Community Member, 31 Posts

9 February 2011 at 4:46am

I've got that script that e-mails errors to me installed on a SS 2.4.0 customer website. Periodically I'm getting flooded with the same error and I can't get rid of it.

Error at sapphire/core/Object.php line 724 (http://bizbuild.co.uk/admin/EditForm/field/Events/item/29/assets/Uploads/OSWnew.jpg)

Error: Uncaught Exception: Object->__call(): the method 'assets' does not exist on 'DataObjectManager_ItemRequest'
At line 724 in /hsphere/local/home/bizbuild/bizbuild.co.uk/sapphire/core/Object.php

I've tried my best to deduce the cause, to me it looks like MCE editor is including an image from the SS assets/Uploads folder and is somehow requesting an invalid URL along the way? The MCE editor is set up on the description field for items within a DataObjectManager.

Please help o' cheesey one.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 February 2011 at 5:05am

Do I understand correctly that you're trying to put an HtmlEditorField in a DOM popup?