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.

All other Modules

Discuss all other Modules here.

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

Image Gallery


Reply

12 Posts   1301 Views

Avatar
aarono

14 June 2010 at 10:24am (Last edited: 14 June 2010 10:26am), Community Member, 34 Posts

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

14 June 2010 at 12:31pm 4085 Posts

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

14 June 2010 at 1:47pm Community Member, 34 Posts

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

Cheers

Avatar
aarono

14 June 2010 at 1:52pm Community Member, 34 Posts

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?