Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Weird Problem with SWFUpload

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1127 Views
  • draft
    Avatar
    Community Member
    57 Posts

    Weird Problem with SWFUpload Link to this post

    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...

  • UncleCheese
    Avatar
    4085 Posts

    Re: Weird Problem with SWFUpload Link to this post

    What does "doesn't work" mean?

  • draft
    Avatar
    Community Member
    57 Posts

    Re: Weird Problem with SWFUpload Link to this post

    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..

    1127 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.