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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

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


Go to End


1359 Views

Avatar
cmc

Community Member, 33 Posts

4 May 2012 at 12:20pm

Edited: 04/05/2012 12:21pm

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?