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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Fatal error installing DOM on SS3 [solved]


Reply


3 Posts   892 Views

Avatar
Tim_Donaldson

Community Member, 9 Posts

2 August 2012 at 10:42pm

I've uploaded Data Object Manager but when I try to build my database I get a host of errors:

Strict Standards: Declaration of DataObjectManager::FieldHolder() should be compatible with that of ComplexTableField::FieldHolder() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 4

Strict Standards: Declaration of DataObjectManager_Item::Link() should be compatible with that of ComplexTableField_Item::Link() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_Item::Fields() should be compatible with that of TableListField_Item::Fields() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_ItemRequest::Link() should be compatible with that of ComplexTableField_ItemRequest::Link() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 919

Strict Standards: Declaration of AssetManagerFolder::updateCMSFields() should be compatible with that of DataExtension::updateCMSFields() in host/silverstripe3/dataobject_manager/code/AssetManagerFolder.php on line 4

Fatal error: Class 'SortableDataObject' not found in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 64

Any idea where I've gone wrong?

Avatar
copernican

Community Member, 189 Posts

2 August 2012 at 11:53pm

DOM is no longer compatible/recommend for use in SS3.0. I think UncleCheese may have updated it to work in 3 (check github) but otherwise you should now be using [url=http://doc.silverstripe.org/framework/en/topics/grid-field]gridField[/url] instead of DOM for your relationship management.

Avatar
Tim_Donaldson

Community Member, 9 Posts

3 August 2012 at 10:11am

Fantastic, thanks!