While working with Thunder I got some page not found warnings:

/thunder/profiles/core/misc/icons/73b355/check.svg
/thunder/profiles/core/misc/icons/e29700/warning.svg
/thunder/profiles/core/misc/icons/e32700/error.svg

And I wonder where the wrong path .../profiles/core/... is coming from?
I found a path in .../modules/thunder_media/css/media_entity_browser.view.css
But that path is correct: background: transparent url("/core/misc/icons/73b355/check.svg") no-repeat center center;

Would someone give me an advice?

Comments

quixxel created an issue. See original summary.

daniel.bosen’s picture

This looks rather strange, is '/thunder/profile/' your docroot?

quixxel’s picture

Thanx for your response!

But sorry, let me declare.
I gave some incorrect information and maybe they caused misunderstandings (I was too tired that evening...)

The warnings are:
https://www.xy-domain.de/thunder-exp/profiles/core/misc/icons/73b355/che...
https://www.xy-domain.de/thunder-exp/profiles/core/misc/icons/e29700/war...
https://www.xy-domain.de/thunder-exp/profiles/core/misc/icons/e32700/err...

Where '/thunder-ex/' is the docroot of the Drupal install and thunder lies at '/thunder-exp/profiles/thunder/...'.

In my understanding of that warnings the system is searching for the icons at i.e. '/thunder-exp/profiles/core/misc/icons/73b355/check.svg' but for real the icons are paced at '/thunder-exp/core/misc/icons/73b355/check.svg'

And yes indeed thats very strange. Could it be that it has something to do that my install is placed in a subdirectory?

derMatze’s picture

I have the very same problem.
Seems the root issue is, that the css-file that tries to reach these images is /profiles/thunder/profiles/thunder/themes/thunder_admin/css/components/messages.css
So there is two times /profiles/thunder and indeed I have this kind of directory structure (css file exists there - of course).
Anyone knows why this could happen?

indigoxela’s picture

This is a minor problem with the thunder_admin theme.

The paths to the actual icons are wrong in profiles/thunder/themes/thunder_admin/css/components/messages.css

quixxel’s picture

One more ../ seems to work.

line 61:
- background-image:url(../../../../../core/misc/icons/73b355/check.svg);
+ background-image:url(../../../../../../core/misc/icons/73b355/check.svg);

line 72:
- background-image:url(../../../../../core/misc/icons/e29700/warning.svg);
+ background-image:url(../../../../../../core/misc/icons/e29700/warning.svg);

line 85:
- background-image:url(../../../../../core/misc/icons/e32700/error.svg);
+ background-image:url(../../../../../../core/misc/icons/e32700/error.svg);

And corresponding to this the same in:
profiles/thunder/themes/thunder_admin/sass/components/messages.scss

chr.fritsch’s picture

Project: Thunder » Thunder Admin Theme
Version: 8.x-2.13 » 8.x-2.x-dev
volkerk’s picture

Status: Active » Closed (outdated)

Since thunder_admin is its own project, locations have changend, therefore this is not applicable anymore.

sjnorton’s picture

Version: 8.x-2.x-dev » 8.x-3.3
Component: Miscellaneous » Code
Status: Closed (outdated) » Active

I'm still having this issue with thunder_admin 8.x-3.3, so thought it ought to be re-activated. System is looking for
[docroot]/profiles/core/misc/icons/73b355/check.svg
when it is actually located at
[docroot]/core/misc/icons/73b355/check.svg

referred by
[docroot]/profiles/thunder/themes/thunder_admin/css/components/messages.css?qar35r
(after dis-aggregating CSS files), leaving 'page not found' errors in the log.

  • volkerk authored 70d7e23 on 8.x-3.x
    Issue #2941135 by quixxel, chr.fritsch, sjnorton, volkerk: Icons: wrong...
volkerk’s picture

Status: Active » Fixed

  • volkerk authored b2b1d43 on 8.x-3.x
    Followup #2941135 by quixxel, volkerk, chr.fritsch, sjnorton: Icons:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

netgeek123’s picture

This is still an issue..

Type	page not found
Date	Wednesday, January 13, 2021 - 17:50
User	webmaster
Location	https://some.com/themes/thunder_admin/css/misc/icons/ffffff/drupal-8-logo.svg
Referrer	https://some.com/admin/people
Message	/themes/thunder_admin/css/misc/icons/ffffff/drupal-8-logo.svg
Severity	Warning
iansholtys’s picture

Created a new issue for the recent issue with the Drupal logo SVG not working.