Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Uploading Files

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

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

Page: 1
Go to End
Author Topic: 767 Views
  • KatB
    Community Member
    94 Posts

    Uploading Files Link to this post

    Despite reading
    "Can't upload images" by dio5, I am simply not succeeding.

    I have tried:
    a. Changing attributes:
    i. Setting assets/ to 777
    ii. Setting assets/Uploads/ to 777
    iii. Creating a new folder to upload into, inside of assets/Uploads/
    iv. Setting the attribute of the new folder to 777.

    b. Adding these commands to the .htaccess file
    SecFilterEngine Off
    SecFilterScanPOST Off

    c. Downloading an update to SWFUploader:
    i. Uploading FlashDevelop/Flash9/swfupload_f9.swf
    ii. Renaming the above file to replace the original SWFUpload.swf
    iii. Copying the entire contents of FlashDiv to the server
    iv. Renaming swfupload.js to the original SWFUpload.js filename.

    d. In mysite/ there is a file _config.php, where I added this line:

    All to no avail.
    Between each change I've tried to flush.

    What have I done to stuff my installation up? And what can I do to put it back on track?

    I'm not seeing much difference between Firefox and Microsoft Internet Explorer 7.0.5730.11 XP SP2. The difference is that in FF the uploading bar slowly moves to the right and nothing happens, and in Microsoft 7 the bar doesn't move at all, I get a refresh but the file hasn't uploaded.

    I do note that in that thread, marikas posted that an installation ontop of a previous may be to blame.

    Now I did re-intall Silverstripe several times as I buggered it up, but I deleted everything, cleared out caches, and waited before re-installing.

    Is this what is causing my issue? And how do I fix it?

    Edit 1: Oddly, I can upload pngs quite happily, however '.exe's don't seem to be so happily uploaded, although apparently they are documented as being supported.

    I put the original SWFUploader back.

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.