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.

All other Modules /

Discuss all other Modules here.

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

Image Gallery


Go to End


12 Posts   2124 Views

Avatar
aarono

Community Member, 34 Posts

14 June 2010 at 10:24am

Edited: 14/06/2010 10:26am

It returns a javascript alert() filled with the current pages html (seems very odd that could happen)

I can browse to the url (http://thegootgame.com/submit-a-picture/handleswfupload), and the function is loaded fine as I can echo out a string.

In the debug window i can see this:

 SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: <!DOCTYPE html> 

and the entire html follows on from there

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 June 2010 at 12:31pm

Well the upload won't work in debug mode. You're going to have to turn that off.

I tried to go to the url you gave me and it's behind a login, so the HTML response you're getting is probably the login form.

Avatar
aarono

Community Member, 34 Posts

14 June 2010 at 1:47pm

wow don't i feel stupid now. It executes correctly now

Cheers

Avatar
aarono

Community Member, 34 Posts

14 June 2010 at 1:52pm

I want to upload the images into the ImageGallery album that is also specified on the form - i changed the class to ImageGalleryItem but i dont think its putting the right info into the db. How should I go about this?

Go to Top