the relevant css injector files are not loaded initially and produce a 2 warnings in the log file. but then seems to loaded eventually. the message is
type: page not found.
message: public://css_injector/css_injector_8.css (and others similar css injector files)
this happens almost in every web page loaded and produce a large log file. I suspect it slow sdown the site too. Any clue as how to fix this?
Comments
Comment #1
rfayIt looks like you don't have that file.
It should be in sites/default/files/css_injector (or elsewhere if public:// is not sites/default/files
Have you moved to a different site without copying your files directory?
Comment #2
kitling55 commentedThat's the puzzle. The files are there and they are eventually loaded. I can see the effect of the css in the pages. It seems to me that it couldn't find the files initially and write a warning in the log, but then eventually found them and loaded them.
Comment #3
kitling55 commentedMore info from the log:
Type - page not found
Date Monday, April 30, 2012 - 15:17
User xxx
Location http://globalnetcasting.net/public://css_injector/css_injector_5.css?m3b6yy <<=====
Referrer http://globalnetcasting.net/content/read-and-write-living-america/%E6%88......
Message public://css_injector/css_injector_5.css
Severity warning
What would cause Drupal to look for files in
http://globalnetcasting.net/public://css_injector/css_injector_5.css instead of just public://... ?
Comment #4
rfayI've seen this happy on Windows machines when a file named public:/ or public:// accidentally gets created in the Drupal root directory. You might look for that.
If you want to dropbox me (randy at randyfay dot com) your files tarball and database I'll take a look as well.
Comment #5
rfayNote that there have been several issues that mentioned this.
http://drupal.org/project/issues/css_injector?text=public%3A%2F%2F&statu...
Comment #6
kitling55 commentedI also checked the status report and found this:
CSS Injector directory writable Not writable
CSS Injector Directory public://css_injector is writable
the issue was reported in http://drupal.org/node/1250446
My server is Linux and I don't have a "public:" or similarly-named folder anywhere.
Comment #7
rfay#1250446: error appear in my server log after update drupal 7.7 and css injector was resolved when the bogus public: directory was discovered, apparently.
I repeat the offer from #4 . Not much else I can do.
Comment #8
zhangtaihao commentedIn my case, when CKEditor gets loaded, it tries to load CSS injector rules and ends up loading from URLs beginning with:
Comment #9
rfayPlease make sure there is no directory or file accidentally created that is named "public:"
Comment #10
zhangtaihao commentedThere is none.
Comment #11
radj commentedI'm also curious with this issue. It's spamming the dblog.
But I think this might be related to the WYSIWYG issue #1485444: Notice: page not found - public:/css_injector/css_injector_1.css.
Comment #12
rfayThis is a duplicate of #1793704: Fully process local CSS file paths
Comment #13
dimmech commentedIn my case, I use drush as root user on my server to install modules. After which I chown the module folder. However this module creates a folder in the "public" directory at sites/default/files/css_injector and public:// is what drupal uses to find what you set as the public directory at admin/config/media/file-system. Whatever that folder is for you, be sure to chown so it is writable by the server.