Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
daniel.bosenThis looks rather strange, is '/thunder/profile/' your docroot?
Comment #3
quixxel CreditAttribution: quixxel commentedThanx 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?
Comment #4
derMatze CreditAttribution: derMatze commentedI 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?
Comment #5
indigoxela CreditAttribution: indigoxela commentedThis 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
Comment #6
quixxel CreditAttribution: quixxel commentedOne 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
Comment #7
chr.fritschComment #8
volkerk CreditAttribution: volkerk at Thunder commentedSince thunder_admin is its own project, locations have changend, therefore this is not applicable anymore.
Comment #9
sjnorton CreditAttribution: sjnorton as a volunteer commentedI'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.
Comment #11
volkerk CreditAttribution: volkerk at Thunder commentedComment #14
netgeek123 CreditAttribution: netgeek123 commentedThis is still an issue..
Comment #15
iansholtys CreditAttribution: iansholtys at Mediacurrent commentedCreated a new issue for the recent issue with the Drupal logo SVG not working.