I created sign up with avatar module and it throws the customer avatars in
pub/media/customer as an example:
http//:www.domain.com/pub/media/customer/u/n/undefined.png
But in the mobile app, when I call this link to display the avatar, I always get 404 page.
I checked the customer folder and found .htaccess the file which denies accessing all files under this folder. I removed it but still get 404 page.
What is wrong?
JB Pakalapati
5581 gold badge10 silver badges26 bronze badges
asked Oct 3, 2017 at 7:48
Jsparo30
1,3563 gold badges26 silver badges57 bronze badges
-
No answer !!!!!Jsparo30– Jsparo302017年10月21日 20:28:03 +00:00Commented Oct 21, 2017 at 20:28
-
hi, you got this solution? i have same issue.Ashar Riaz– Ashar Riaz2017年11月10日 01:45:30 +00:00Commented Nov 10, 2017 at 1:45
-
Yes, there is .htaccess file in customer directory, remove it. try that and if not solved tell me which server you are working on.Jsparo30– Jsparo302017年11月13日 14:05:35 +00:00Commented Nov 13, 2017 at 14:05
-
yes there is a .htaccess file but after removing it or after changing its perminitions to allow all i am still unable to access this folder. I am using magento on bitnami.Ashar Riaz– Ashar Riaz2017年11月13日 18:02:21 +00:00Commented Nov 13, 2017 at 18:02
-
however on localhost after changing permissions in .htaccess file i access images placed in customers folder but i have no luck on live server. please helpAshar Riaz– Ashar Riaz2017年11月13日 18:03:39 +00:00Commented Nov 13, 2017 at 18:03
default