- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 18.09.26, 12:10
- Opened by: Dissidence Scooter Shop
Ticket #26550 - Multiples errors on fresh install multistore
Hi, I have some errors with a fresh prestashop install, multistore.
Prestashop 9.1.5, php 8.5, theme alysum 9.4.1.
When I want to edit/launch creative elements: Fatal error: Uncaught Error: Undefined constant “_PS_ADMIN_DIR_
I fix it with Tools::redirect(urldecode(Tools::getValue(’redirect’))); in preview.php
Then the redirection is wrong:
Adresse introuvable
Firefox ne peut pas se connecter au serveur à l’adresse module.
Vouliez-vous plutôt ouvrir www.module.com/creativeelements/preview?id_employee=1&adtoken=&redirect=%252FA[…]
I tried some fixes with chatgpt, but at the end there are still issues about the multistore admin redirection.
Anyway, will you update the creative elements module ?
Thanks.
Comments
Hi, Dissidence Scooter Shop.
Thank you for your report. We will check that as soon as possible and back to you with an update
I just tested it out and can not reproduce the issue.
I have installed PS 9.1.5 with php 8.5 → https://mega.nz/file/4VxmQarJ#_KQAakog9wNbFFTPDYLBhBI1DpPQRTURiw3eLbR2nZk
Then I navigate to Creative Elements → Saved Templates and click Edit one → https://mega.nz/file/MJA3CS6L#ERVDOcCzrUj0UxIMdTXZMrEFs-97Uj799bXbopz8yoU - as you can see it works
Please let me know if I missed something, or provide additional detail how to reproduce the issue
The 9.4.2 is not released yet, but at this moment it's the same as 9.4.1 with just small CSS fixes.
As for the Multistory, I just enabled and creates one more store → https://mega.nz/file/ZUAnGZgT#quzOSdW3oYMhqMoiAbgGDJE7T-tvH_zryRdDOujeNh4
But do not see that issue