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

Weird Problem with SWFUpload


Go to End


3 Posts   1511 Views

Avatar
draft

Community Member, 57 Posts

3 March 2010 at 4:30pm

hi,

I have problem when uploading images using swfupload, this is very weird since it work on other page, but for this particular page, it's not working. And i run the swfupload debug, and the data alert when it should be the image id, it's not, it alert a whole template html script...

Can anyone please explain to me what should i do...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 March 2010 at 3:37am

What does "doesn't work" mean?

Avatar
draft

Community Member, 57 Posts

4 March 2010 at 4:43am

hi unclecheese,

well i have found the problem, it turn out the upload_url is not working.. It's so weird, i have create the handleswfupload function on the controller, and on the swf debug, the upload url is correct, when i open it, the upload url is working, but when i upload the image, it seem like it can't find the upload url, cause when i die("hello"), it's not alert.

My temporary solution is, i set the upload url to take from different controller, and it's work. Can you explain why it's not working on the controller where it create the form..