4649 Posts in 1402 Topics by 1394 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1547 Views |
-
insert image doesn't work since 2.4.2

30 December 2010 at 1:22am
Hi all,
We have a serious problem with the images in the backend. It doesn't show any images when uploaded, just the filename. The uploader works but there is no picture afterwards. Also after I've chosen it from the insert picture in the editor it shows up as 'broken'. Till 2.4.1 this worked.
In the file structure (FTP) the picture is there. The permissions should be ok, 775 for assets.Here is our PHP-Configuration:
http://digital.sites.hostmax.ch/phptest.phpCheers + Thanks
Jonas -
Re: insert image doesn't work since 2.4.2

31 December 2010 at 8:15am
Hi Jonas,
I can confirm that I am having this same issue. I have tried a clean install and still the same symptoms as you describe. I am running SS 2.4.4.
I am surprised there has been no discussion on this issue.
Cheers,
Gary
-
Re: insert image doesn't work since 2.4.2

31 December 2010 at 10:32am Last edited: 31 December 2010 11:20am
Greetings gentlemen,
I am having the same problem, too. I can add images through the admin panel, or via FTP. The file names are visible in the Files & Images panel listing, but they do not preview, and links to them fail with an error page (File not found). Its a troubling problem, since its hard to deliver content as all-text. Each missing image requires a thousand words.... Running SS 2.4.3.
Edit: http://silverstripe.org/installing-silverstripe/show/14878?start=0 seems to address the issue. Making the change found on the link suggested by Sean solved the issue. In short, our servers must be running PHP as FastCGI.
Bret
-
Re: insert image doesn't work since 2.4.2

1 January 2011 at 10:11am
Hi folks,
Oddly, adding the conditions (or removing this line from .htaccess) has no effect and the issue prevails.
However, completely removing .htaccess resolves the issue.
I am running v2.4.4.
Cheers,
Gary
-
Re: insert image doesn't work since 2.4.2

1 January 2011 at 5:23pm Last edited: 1 January 2011 5:43pm
Hello,
Further investigation reveals that the issue in my case relates to the following code in .htaccess:
<snip>
Deny from all
<FilesMatch "\.(html|htm|xhtml|js|css|bmp|png|gif|jpg|jpeg|ico|pcx|tif|tiff|au|mid|midi|mpa|mp3|ogg|m4a|ra|wma|wav|cda|avi|mpg|mpeg|asf|wmv|m4v|mov|mkv|mp4|swf|flv|ram|rm|doc|docx|txt|rtf|xls|xlsx|pages|ppt|pptx|pps|csv|cab|arj|tar|zip|zipx|sit|sitx|gz|tgz|bz2|ace|arc|pkg|dmg|hqx|jar|xml|pdf)$">
Allow from all
</FilesMatch>
</snip>Update: Removing "Deny from all" *only* resolves this issue. I see this message in the error logs of the server: "client denied by server configuration:".
Anyone have any ideas at what may cause an error with this code? I guess it is a configuration issue with my host.
Cheers,
Gary
-
Re: insert image doesn't work since 2.4.2

3 January 2011 at 7:00am
Thanks Parradoxx,
Sean's .htaccess change solved this issue!!
Happy 2011!
Jonas -
Re: insert image doesn't work since 2.4.2

7 January 2011 at 9:34pm
Hello,
To post an update to the resolution to my issue. The rules in .htaccess are case-sensitive and the extensions for my image files were capitalised.
Cheers,
Gary
| 1547 Views | ||
|
Page:
1
|
Go to Top |


