nidros Posted December 16, 2022 Share Posted December 16, 2022 (edited) In the default E-mail templates, pictures selected in the editor/file picker, and in creative elements, all images have the wrong URL. Everything works as expected if I manually remove the "/:443" in the link. The URL after uploading/selecting is: /:443/img/cms/5DM_4442.jpg But it should be and only works if it is like this: /img/cms/5DM_4442.jpg I have tried clearing caches, recreated my .htaccess. I use the official docker image behind a ngnix-proxy with letsencrypt. Where does the /:443 come from? I did not find anything in the database or config files. If I know where it is getting this information form, I can fix it. Thank you. PrestaShop version(s) where the bug happened 1.7.8.8 PHP version(s) where the bug happened 7.3.24 Edited December 16, 2022 by nidros (see edit history) Link to comment Share on other sites More sharing options...
nidros Posted December 17, 2022 Author Share Posted December 17, 2022 If I search my DB for 443 I don't get any relevant results to the problem. So it must get the value from a config file or some system variable? Link to comment Share on other sites More sharing options...
ps8modules Posted December 17, 2022 Share Posted December 17, 2022 Hi. PRESTASHOP_EXTERNAL_HTTPS_PORT_NUMBER: Port to used by PrestaShop to generate URLs and links when accessing using HTTPS. Default 443. Please read: https://github.com/bitnami/bitnami-docker-mariadb?ref=https://githubhelp.com or https://hub.docker.com/r/bitnami/prestashop/ Link to comment Share on other sites More sharing options...
nidros Posted December 17, 2022 Author Share Posted December 17, 2022 (edited) Thank you for your reply, I am using the official Docker Image. I have tried adding this Environment variable to my docker compose, but the URLs still have /:443, not matter which value I set. Some additional Info: The Shop Logo and Product images have the correct URLs, without me having to edit the links. Edited December 17, 2022 by nidros (see edit history) Link to comment Share on other sites More sharing options...
nidros Posted December 18, 2022 Author Share Posted December 18, 2022 Which file can I check to see where it gets the information or which variable is defining it? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now