By raph on Thursday, 11 June 2015
Posted in Technical Issues
Likes 0
Views 616
Votes 0
Hi Stackideas Team,

Since I've set up Amazon S3 the images are not showing in the website, kindly help.

Raph
Hello Raph,

I am sorry for the delay of this reply.

The fix that I provided did replacing the comma in the photo title with dash ( - ) so it will not causing issue when the photo is uploaded to amazon. From the screenshot it seems like the photo is already uploaded to amazon before the fix is provided by me in my previous replied above.
Unfortunately for other image that are already broken, there is nothing we can do about it as the image is already uploaded to the amazon s3.
·
Monday, 15 June 2015 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
ps. when I click on the image I get :

ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
·
Thursday, 11 June 2015 21:55
·
0 Likes
·
0 Votes
·
0 Comments
·
This issue is with
-chrome last version Version 43.0.2357.124 m ,
-Opera last 30.0

-not with IE last 11
-not with Firefox last 38.0.5
-not Safari 5.1.7

thanks in advance!
·
Thursday, 11 June 2015 22:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Raph,

I am sorry for the delay of this reply.

It seems like the issue is caused by the photo name that contain comma ( , ). When these picture is uploaded to the amazon s3, the chrome will read this picture as unexpected document header thus returning the ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION.

I've added some fix inside your /administrator/components/com_easysocial/includes/cron/hooks/storage.php where during file upload, easysocial will trim the comma and replace it with dash ( - ). Here is one picture that I've uploaded to your site with the comma as part of the name (wallpaperpackz16,sss,asd), https://s3-eu-west-1.amazonaws.com/ultreiya/media/com_easysocial/photos/253/446/wallpaperpackz16-sss-asd_large.jpg .

Unfortunately for other image that are already broken, there is nothing we can do about it as the image is already uploaded to the amazon s3.
·
Friday, 12 June 2015 18:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

thanks!

I will restore a previous version and include the new storage.php

I am wondering if the title could also be an issue: the photos that have a comma in the title did not show when uploaded to amazon.. cf https://jira.duraspace.org/browse/DS-1422 and screenshot enclosed

Is it possible to trim the title and replace the comma in the title by a space or wathever would make it?

Thanks again for your help in solving this

raph
·
Friday, 12 June 2015 22:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

works like a charm, thanks!
·
Tuesday, 16 June 2015 02:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Raph,

You're welcome. Have a nice day
·
Tuesday, 16 June 2015 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post