Jump to content

ps_metrics image not loading in sub directory installation


james

Recommended Posts

I have installed Prestashop 1.7.7.6 on one of my test servers with PHP 7.1 and Mysql 5.6

However I am facing an issue post logging into the admin panel. There is a widget sort of thing called "PrestaShop Metrics" which fails to load it's image.(please refer image) On debugging I found it's loading image from "/modules/ps_metrics/views/assets/logo-ps-metrics.7e5c2dc7.png" which is present at the location. However when you install prestashop in a sub directory this still searches the image in "/modules/ps_metrics/views/assets/logo-ps-metrics.7e5c2dc7.png" which is I guess wrong. It should search in "/[[subdirectory]]/modules/ps_metrics/views/assets/logo-ps-metrics.7e5c2dc7.png"

What could be the solution for this ?

prestashop.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...