Reputation: 187
Installed bitnami prestashop in GCE, friendly url is working fine, only the LOGO showing in some times, giving Forbidden error most of the times.
Whenever the logo appears,the url is correctly mapped to img/prestashop-logo-1514296542.jpg , whenever its not showing its mapped to img/xprestashop-logo-1514296542.jpg.pagespeed.ic.AN7WOFIVVf.webp and getting 403 Forbidden error
with You don't have permission to access /img/xprestashop-logo-1514296542.jpg.pagespeed.ic.AN7WOFIVVf.webp on this server.
What is wrong with my prestashop? any idea where to lookinto?
The server is at http://35.227.153.253/
Upvotes: 0
Views: 943
Reputation: 51
You don't have to disable the PageSpeed Module, it should be last option. ;)
If you are sure about the img/ permission (you can set as above message), you can try the flush cache.
Then, re-check your site if it countiunes, you can clear PS cache, it will be okay.
Good works!
Upvotes: 0
Reputation: 187
The issue is at, pagespeed module in apache. Once disabled its all ok.
To disable PageSpeed, follow these steps:
Comment out the following lines in the /opt/bitnami/apache2/conf/httpd.conf file:
Include conf/pagespeed.conf
Include conf/pagespeed_libraries.conf
Restart Apache:
sudo /opt/bitnami/ctlscript.sh restart apache
Upvotes: 1
Reputation: 1311
It's a permission problem (you cannot write this folder).
You should change folder (and subfolders) permissions to 777, you can do that with Filezilla if it's a distant server and you are on Windows or use linux terminal when in your Prestashop root folder :
chmod 777 -R ./img/
Upvotes: 0