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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Data Object Not working when site is live


Go to End


2 Posts   873 Views

Avatar
Roony

Community Member, 14 Posts

17 August 2010 at 8:20pm

Just wondering whether anyone can shed some light as to why all of a sudden the data object manager would be showing me this error when I uploaded my site to a live server as opposed to localhost.

It is causing the image gallery page not to work as well as the files and images tab. I also believe that the userforms are not working anymore either?

Warning] Missing argument 3 for DataObjectManager_Item::__construct(), called in /home/gian_miller/creativitree.com.au/sapphire/forms/ComplexTableField.php on line 297 and defined
GET /admin/EditForm/field/Albums/item/9/edit

Line 582 in /home/gian_miller/creativitree.com.au/dataobject_manager/code/DataObjectManager.php

Any help would be appreciated

Avatar
UncleCheese

Forum Moderator, 4102 Posts

18 August 2010 at 1:14am

If you're running 2.4, you need the 2.4 version of DOM, which should be the latest version. If you're on 2.3, see the "2.3 branch" sticky in this forum.