• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 25.03.25, 10:24
  • Opened by: Aude C

Ticket #26004 - Unable to load template 'file:components/svg-icon.tpl' in module pklookbook backoffice

Hello,

I have a fatal error in module pklookbook backoffice:

Unable to load template ‘file:components/svg-icon.tpl’ in ‘module:pklookbook/views/templates/admin/backofficetop.tpl’

Regards,
Aude

Attachments:

Comments

Fred 25 Mar 2025, 22:12

It seems your theme is not updated to the latest version.
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your FTP Server to let me check out what's wrong there

Aude C 26 Mar 2025, 08:41

Hi,

I filled out fields in my profile.
There is an htaccess authentification, it's same credentials than PrestaShop back office.

Regards,
Aude

Aude C 26 Mar 2025, 10:18

I replace svg icon by material icon to avoid this problem…

The problem comes from that file:components/svg-icon.tpl wasn't find from the back office because this file is in themes/alysum folder.

Aude

Fred 26 Mar 2025, 21:35

I'm not able to connect to your FTP. I have tried with FTP/SFTP, secure/insecure connection, nothing works → https://mega.nz/file/gIIkiJKb#N58MJSvL_QxXXtBeFt9O_YDZIKxsTu7TOI3AcX1DODA

Aude C 27 Mar 2025, 09:23

Hi,
Sorry I made an error. I fix SFTP credentials, you need to add 21 port explicitely.

Regards,
Aude

Fred 27 Mar 2025, 22:33

It seems something wrong there because I'm not able to connect with 21 port as well. See my configuration here https://mega.nz/file/QcZRhS7Y#SGkaPBhsUNmtJvh5f6l-783eRCo7KPD51lmuWzpbq9M

Aude C 28 Mar 2025, 09:18

Hi,
The user is not good, the good one: pkalysum@ps17811.stbh8010.odns.fr

Regards,
Aude

Fred 28 Mar 2025, 22:24

Any other suggestion? Because I still have the same issue
https://mega.nz/file/oJ4y1YBD#qP17C2o_JV0ZzRvOn4lOAn6sOYpu9_CxOtfeC8VBgx8

Aude C 01 Apr 2025, 11:10

Hi,

Try in FTP and not SFTP.

Fred 01 Apr 2025, 21:24

Yes, true
I just checked and all files are exist.
I assume that was just a cache issue, because as I can see now the lookbook module works fine in admin https://mega.nz/file/wYhjVYIY#6N2zZMvtw3jFVxia-EBgW3Ou_ugOg04Aq73jmvhiBjc

Aude C 02 Apr 2025, 08:48

Yes because I replace "file:components/svg-icon.tpl" by "<i class="material-icons">add</i>" in :
/modules/pklookbook/views/templates/admin/backofficetop.tpl

Fred 02 Apr 2025, 21:29

Ok, I see. Thanks for sharing the solution

Aude C 03 Apr 2025, 09:16

Can you implement it in the new version?

Fred 03 Apr 2025, 10:07

Yes, that’s already fixed

Aude C 03 Apr 2025, 11:08

Ok thank you !

Fred 03 Apr 2025, 12:38

You are welcome!