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

Installed DOM and swfupload modules, but all I get is a blank page?


Reply


5 Posts   867 Views

Avatar
TF-35Lightning

Community Member, 137 Posts

29 April 2010 at 8:48pm

Hi all,

I'm on 2.4 and have just tried to install the DOM module, did the rebuild but then when I click on files and images its says I need the SWFupload module, downloaded that and then rebuilt again, not I can click on the Files and Images tab but all I get is a blank screen. Well actually there are 2 tabs, 1 is files and the other is details, nothing is shown under files under details I see.

URL
http://localhost/silverstripe/silverstripe-v2.4.0-beta1/assets/
Type
(none)
First Uploaded
(none)
Last Updated
(none)

First time trying to install these modules.
Any help would be great

Avatar
TF-35Lightning

Community Member, 137 Posts

29 April 2010 at 9:07pm

Ok I worked out that I needed to click the create button on the left hand pane (it operates a bit differently than the normal files and images tab huh) then I created a directoiry, uploaded 3 files but then couldnt see them anywhere so I clicked on the parent directory now I get:

[Warning] Missing argument 3 for ComplexTableField_Item::__construct(), called in F:\wamp\www\silverstripe\silverstripe-v2.4.0-beta1\dataobject_manager\code\DataObjectManager.php on line 584 and defined
GET /silverstripe/silverstripe-v2.4.0-beta1/admin/assets/

Line 1004 in F:\wamp\www\silverstripe\silverstripe-v2.4.0-beta1\sapphire\forms\ComplexTableField.php
Source

995 * @package forms
996 * @subpackage fields-relational
997 */
998 class ComplexTableField_Item extends TableListField_Item {
999    /**
1000     * Needed to transfer pagination-status from overview.
1001     */
1002    protected $start;
1003
1004    function __construct(DataObject $item, ComplexTableField $parent, $start) {
1005       $this->start = $start;
1006
1007       parent::__construct($item, $parent);
1008    }
1009
1010    function Link($action = null) {

Everytime I go to Files and Images tab.

Any help would be great

Avatar
UncleCheese

Forum Moderator, 4096 Posts

30 April 2010 at 1:57am

Your DOM version is not in sync with your SS version. DOM 2.4 is on the trunk. For the 2.3 version of DOM, see the "2.3 branch" sticky.

Avatar
TF-35Lightning

Community Member, 137 Posts

30 April 2010 at 2:01am

UncleCheese thanks for the response, I'm not 100% sure what you mean, you say DOM 2.4 is on the trunk? What does that mean exactly? I'm on SS 2.4beta, could you please point me to the exact version I need?

Avatar
UncleCheese

Forum Moderator, 4096 Posts

30 April 2010 at 2:23am

Are you using SVN? If not, I think the download page for DOM here in the "Extensions" section is built on the trunk, but I could be wrong. I've had a number of issues getting SS to host two versions of the code.

Actually, I just checked, and the download page is using r394 right now, which should be 2.4 compatible.