Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Can't upload images

Our old forums are still available as a read-only archive.

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

Page: 1 2 3 4 5 6 7 8 9
Go to End
Author Topic: 394813 Views
  • stockholm
    Avatar
    3 Posts

    Re: Can't upload images Link to this post

    Hi,

    it seems it's "SWFUpload" problem. After uploading newer version of "SWFUpload" I have now other problem - "Files&Images" module working, but "Insert image" on rightside not working (when I click "create folder" or "upload" link, system forward me from cms to website).

    Maybe i should change somethin in SWFUpload .js or .swf files code?

  • mundgold
    Avatar
    Community Member
    19 Posts

    Re: Can't upload images Link to this post

    Hi,

    I have the same behaviour after uploading newer version of SWFUpload ...

    ... in my opinion this SWFUpload-Stuff works - if it works - very smart - but not really reliable in different environments ...

    Cheers Roland

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Can't upload images Link to this post

    @Stempy:

    I think your problem is more a cache problem. Try adding this to your _config file:

    HTTP::set_cache_age(0);

    You should at least clear your browser cache once after that in order for it to work.

  • gamelodge
    Avatar
    Community Member
    6 Posts

    Re: Can't upload images Link to this post

    I had the same problem.

    With so many people having this problem should it be reported as a bug?

    I added HTTP::set_cache_age(0); and all works fine now.

    but how will HTTP::set_cache_age(0); effect the performance now?

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Can't upload images Link to this post

    The problem with the caching is something different than the problem of images not being uploaded by the swf uploader.

    I believe the set_cache thing just tells your browser not to use the cache for it. Don't think that is a bug.

  • gamelodge
    Avatar
    Community Member
    6 Posts

    Re: Can't upload images Link to this post

    Worked for 1 image when I did the cache thing in FF.
    Then stopped working again - tried fluching and clearing cache, still did not work.

    Changed to IE and works fine now.
    so must be some sort of FF thing:(

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Can't upload images Link to this post

    Yeah we have the same experience. Works in IE, not in FF, but it still depends on the hosting because I had it work on localhost AND on Dreamhost.

  • mbellino
    Avatar
    Community Member
    32 Posts

    Re: Can't upload images Link to this post

    Hello everybody

    It seems that a few people have this problem.
    The uploading of images should preferably works independent of the browser preference and hosting provider (mod_security, etc.).

    Would be great if someone of the core team could take care of this issue.

    Thanks

    Mario

    394813 Views
Page: 1 2 3 4 5 6 7 8 9
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.