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.

Archive /

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

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

Uploading Files


Reply


797 Views

Avatar
KatB

Community Member, 94 Posts

27 February 2008 at 2:30pm

Edited: 27/02/2008 3:09pm

Despite reading
[url=http://www.silverstripe.com/site-builders-forum/flat/16550]"Can't upload images"[/url] by [url=http://www.silverstripe.com/ForumMemberProfile/show/756]dio5[/url], 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:
HTTP::set_cache_age(0);

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 2.0.0.12 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, [url=http://www.silverstripe.com/site-builders-forum/flat/16550?start=8#post17688]marikas posted that an installation ontop of a previous may be to blame.[/url]

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.