Page 1 of 2

Frontend view: missing icons, not usable

Posted: 10 Jun 2022, 11:58
by heural
Hello,

please show the attached image

Win10, PHP7.4, Aimeos-Extension 22.4.3

Re: Frontend view: missing icons, not usable

Posted: 10 Jun 2022, 12:18
by aimeos
Open the browser console and check for errors

Re: Frontend view: missing icons, not usable

Posted: 13 Jun 2022, 06:26
by heural
There are no JS errors, 2 network errors:

Code: Select all

http://localhost/uploads/tx_aimeos/https://aimeos.org/media/default/product_04_A-low.jpg
http://localhost/uploads/tx_aimeos/https://aimeos.org/media/default/product_05_A-low.jpg
The installation is in a subdir:

Code: Select all

http://localhost/typo3/aimeos/public

Re: Frontend view: missing icons, not usable

Posted: 13 Jun 2022, 07:15
by aimeos
heural wrote: 13 Jun 2022, 06:26 The installation is in a subdir:

Code: Select all

http://localhost/typo3/aimeos/public
This usually causes problems and the ./public/ directory must be the document root ("/").

Re: Frontend view: missing icons, not usable

Posted: 14 Jun 2022, 06:16
by heural
Ok, i´ve created a vhost aimeos.local but same effect.
Maybe i should try a fresh installation?

Re: Frontend view: missing icons, not usable

Posted: 14 Jun 2022, 07:21
by aimeos
Did you clear the caches?

Re: Frontend view: missing icons, not usable

Posted: 14 Jun 2022, 07:29
by heural
Yes, i did

Re: Frontend view: missing icons, not usable

Posted: 14 Jun 2022, 07:40
by aimeos
heural wrote: 13 Jun 2022, 06:26

Code: Select all

http://localhost/uploads/tx_aimeos/https://aimeos.org/media/default/product_04_A-low.jpg
http://localhost/uploads/tx_aimeos/https://aimeos.org/media/default/product_05_A-low.jpg
This is strange because the image URLs shouldn't be generated this way:
https://github.com/aimeos/aimeos-base/b ... hp#L53-L55

Another thing is that the icons are missing which looks like the FontAwesome URL is not included.

Re: Frontend view: missing icons, not usable

Posted: 14 Jun 2022, 11:17
by heural
I installed new with distribution from this manual https://github.com/aimeos/aimeos-typo3-dist#composer and it works ;-)
However, thx you for your fast answers!

Re: Frontend view: missing icons, not usable

Posted: 21 Jun 2022, 08:24
by heural
I have installed another instance of aimeos, with the Typo3-Extensions from TER (Framework "aimeos 22.4.3" and Distribution "aimeos_dist 22.4.1") and the bootstrap-icons are missing again.

As I described above, that worked with my previous installation with composer (https://github.com/aimeos/aimeos-typo3#installation), so compared the typoscript in template beetween the installations:
From TER-Install, there are missing lines:

Code: Select all

4: page.includeCSSLibs.aimeos = EXT:aimeos/Resources/Public/Themes/default/aimeos.css
5: page.includeCSSLibs.aimeos-typo3 = EXT:aimeos/Resources/Public/Themes/default/typo3.css
6: page.includeJSFooterlibs.aimeos = EXT:aimeos/Resources/Public/Themes/default/aimeos.js