On certain pages in my site, I get multiple error entries showing "page not found" errors...
Location http://www.ewsis.org/comment/reply/themes/meta/css/images/background-bla...
Referrer http://www.ewsis.org/comment/reply/226
Message comment/reply/themes/meta/css/images/background-black.gif not found.
I am running version 1.1.2.1 (?)
I assume the theme is not creating the correct relative URL for images in certain contexts.
As a start, I have removed the base_url() and path_to_theme() functions from the page.tpl file and hardcoded the URLs, but this doesn't fix the problem.
Can someone point me in the right direction.
Comments
Comment #1
muzll0dr commentedSame problems here.
It seems like it's only an issue when using cleanURLs. When I was using the default ? method, everything worked fine. Once I switched to using mod_rewrite, I started getting errors flooding the log, notably when trying to add comments to stories.
Comment #2
Mateo commentedI have this as well. I'm certain it's an easy fix, but I can't find the reference to the file.
Comment #3
Ken Collins commentedI'm pretty sure this is a Drupal bug.
Comment #4
Phoenix77 commentedI vote to reopen this bug report so that we can find out were it exactly comes from and how to fix it.
The errors do seem to occur when clean url's are activated, I just did yesterday and now my log is full of these messages:
Message part-of-site-here/themes/meta/css/images/background-black.gif not found
So either the clean-url bit is screwing it up or there is a caching problem, the error pop's up no matter what collor schema is choosen.
I'm willing to help to make 100% sure this is a Drupal or a Meta-theme bug.
Phoenix77
Comment #5
Phoenix77 commentedJust a small add-on: I only have the problems with the foto galleries on my site:
Location: http://www.vliestroompje.nl/fotos/themes/meta/css/images/background-blac...
Referer: http://www.vliestroompje.nl/fotos/vakanties
Comment: fotos/themes/meta/css/images/background-black.gif niet gevonden.
But I cannot find the refference to this specific reference of background-black.gif
Comment #6
Phoenix77 commentedDon't mean to be rude, but I changed the status to active once again because I have foudn a work-around.
after searching for a while I found the following work-around:
The reference generating the error is in the following three files in the meta directory:
1: css\userstyle-bg_black.css (17):body { background: #000 url('images/background-black.gif') repeat-x fixed top left; }
2: js\styleswitcher.js (15): image_url[4] = "themes/meta/css/images/background-black.gif";
3: meta-black\style.css (19):body { background: #000 url('../css/images/background-black.gif') repeat-x fixed top left; }
I replaced all the three references above with: http://www.vliestroompje.nl/themes/meta/css/images/background-black.gif and the warning message no longer appears. The thing I don't understand is why this error is only generated for the 'black' theme.
On my site only the basic Meta theme is activated and it's set as default, the four other meta themes are disabled.
Phoenix77
Comment #7
ccima commentedI removed ' in url('...') in the css files.
I got File not found for
http://www.xyz.com/themes/meta/css/'images/masthead-image_black.jpg'
and alike..
It was a PowerPC with som IE 5.1 clients.
Comment #8
pwieck commentedclosing due to unsupported version of Drupal