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

I can't handle sub-URLs of a Form object.


Reply

566 Views

Avatar
cmc

4 May 2012 at 12:20pm (Last edited: 4 May 2012 12:21pm), Community Member, 23 Posts

After many hours, I thought I'd worked out the problems with DOM and Uploadify last night, but today I can't successfully use the "Add object" dialog. The dialog gets to 100%, but there are no attached files. Then I usually get logged out of the admin. Sometimes I can find the file when I log back in in the "Choose Existing" tab and import from there.

-I'm using the latest version of Silverstripe and the latest versions of Uploadify and DOM from github.

-Folders are named "dataobject_manager" and "uploadify".

-In mysite/_config.php I have the lines

UploadifyField::show_debug(); (doesn't show any errors)
UploadifyField::disable_authentication(); (solved http error)

-Console shows two 404 errors:

GET http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm/field/UploadedFiles/refresh?.....

and

POST http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm?

-I get this error message in the Upload dialog if I click "Continue" after the file has finished 100% -

"I can't handle sub-URLs of a Form object."

-I've tried in both Firefox and Safari and get identical behavior in both.

Any ideas about how to resolve this?