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

Can't upload images


Reply

66 Posts   394961 Views

Avatar
phinel

28 December 2007 at 9:19pm Community Member, 16 Posts

Hello everybody

I've donwloaded the newest version of SWFUpload (Version 2) from http://www.swfupload.org/node/1/release and replaced the file
jsparty/SWFUpload/SWFUpload.swf
with this one
swfupload/FlashDevelop/Flash9/swfupload_f9.swf
from the archive

And now, it works on my server.

It would be nice if somebody could try this on his website and post here, if this works for him, too.

PS: Don't forget to clear the cache...

phinel

Avatar
mbellino

28 December 2007 at 9:51pm Community Member, 32 Posts

Hello Phinel

Good hint. I did it too.

I've donwloaded the newest version of SWFUpload ([URL=http://www.swfupload.org/sites/swfupload.org/files/Swfupload%20v2.0.1.zip]Version 2.0.1[/URL]) and replaced the file jsparty/SWFUpload/SWFUpload.swf with this one
swfupload/FlashDevelop/Flash9/swfupload_f9.swf from from the archive.

With ?flush=1 I've also flushed the cache and empty my local browser cache.

No success :-(

Cheerio

Mario

Avatar
phinel

28 December 2007 at 10:20pm Community Member, 16 Posts

Strange

Have you already changed the permissions?

I gave the folder "assets" and all his subfolders the permission 777. The same for the folder "jsparty/SWFUpload" and "cms/javascript".

phinel

Avatar
mbellino

28 December 2007 at 11:52pm Community Member, 32 Posts

Hi Phinel

Yes. 777 for "assets" and subfolders.
Also give it a try with 777 for jsparty and cms.

No luck.

As I mentioned in a post before, the request is blocked by the provider.
I will contact him and ask for the new logfile.

Cheerio

Avatar
phinel

29 December 2007 at 12:30am (Last edited: 29 December 2007 12:31am), Community Member, 16 Posts

I've already contacted my provider and they told me that the apache module mod_security blocks this script. This could come from an error in the adobe flash player.

I found a site where somebody disabled mod_security with an entry in the .htaccess file:

SecFilterEngine Off
SecFilterScanPOST Off

When i add this two lines in my .htaccess file, everything works fine. But i would leave this module enabled.

Have you already tried this change?

Avatar
mbellino

29 December 2007 at 1:33am Community Member, 32 Posts

When I set the options in the .htaccess I get an Apache "Internal Server Error".
Unfortunately it doesn't work with my provider, however nice hint.

Thanks

Avatar
Carel

30 December 2007 at 6:38pm Community Member, 3 Posts

Cant upload images on local server. XP SP2, freshly installed WAMP and Silverstripe v2.2.1
If I use windows explorer to paste images to the assets folder, they DO show in "Files & Images" tab. It is just the CMS uploader that does not work for me. Does not upload in IE either.

Carel

Avatar
quicked

2 January 2008 at 2:59pm (Last edited: 5 January 2008 6:07am), Community Member, 32 Posts

and you have write permissions on the folder?