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

DataObject, Image Gallery Install Frustration


Reply

5 Posts   955 Views

Avatar
shluckey

12 July 2012 at 10:54am Community Member, 19 Posts

I'm using SS Version 3.

I've been here and followed this to install http://www.silverstripe.org/dataobjectmanager-module-forum/show/11205. Tried getting the files from here and github.

HOWEVER

I cannot for the life of me get this thing to work. First off i had problems with the DataObjectModule. When i re-build the database I get an error telling me a deprecation error has occured in framework file. The rebuild stops at Email_bouncerecord and gives me a lot of errors. I remedied this by deleting the raise error php code and managed to get the database to rebuild. (Something to do with checking the live version.)

Uploadify installed fine.

The Image gallery installed fine. EXCEPT

When I go to make a new image gallery page I get this error

*Warning: "Missing argument 1 for ImageGalleryPage::getCMSFields(), called in /Applications/MAMP/htdocs/framework/admin/code/LeftAndMain.php on line 922 and defined" at line 122 of /Applications/MAMP/htdocs/image_gallery/code/ImageGalleryPage.php*

And I also get this error when I go to the edit image/falls tab on the left of the main screen.

*Error: "FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist." at line 288 of /Applications/MAMP/htdocs/framework/forms/FieldList.php*

I really want to get the Image Gallery working it sounds amazing.

Any help would be much appreciated

Avatar
shluckey

12 July 2012 at 11:18am Community Member, 19 Posts

additional:

this is the error from the dataobject_manager install

*Notice: "DataObjectDecorator->__construct is deprecated. Use DataExtension instead. Called from ReflectionClass->newInstance." at line 155 of /Applications/MAMP/htdocs/framework/dev/Deprecation.php*

I'm pretty sure this is the causing all the problems

Avatar
Fuzz10

12 July 2012 at 9:32pm Community Member, 787 Posts

I don't think UncleCheeses modules are compatible with SS3 (yet).

Avatar
shluckey

12 July 2012 at 10:08pm Community Member, 19 Posts

I thought that might be the case given the compatibility on the download pages. Is there anywhere I can get an older version of ss 2.3/2.4 or will I have to wait until they become compatible.

Thank you

Avatar
Fuzz10

12 July 2012 at 10:30pm Community Member, 787 Posts

Sure !

http://www.silverstripe.org/security-releases/