Page 1 of 1
Error showing up in server logs
Posted: Tue Nov 22, 2005 9:41 pm
by wxman
I have a blog, embedded in a page, that keeps showing an error on the server logs that I can't seem to track down.
The error shows up as:
File does not exist:...httpdocs/serendipity/templates/stamping/{TEMPLATE_PATH}img:
then the referer shows as my blog page address.
Does anyone recognize this? I've checked all the file permissions, and they all seem ok. The blog works normally, and I haven't seen anything not working, so I can't figure out what this is coming from.
Thanks
Re: Error showing up in server logs
Posted: Tue Nov 22, 2005 9:47 pm
by garvinhicking
This should be coming from your CSS file.
A layout.css file of a s9y template is not meant to be emitted directly, you should use the serendipity.css.php wrapper for linking it into your layout.
Regards,
Garvin
Posted: Wed Nov 23, 2005 3:07 pm
by wxman
So because I embedded it in a page layout to match the rest of the site, I have to put my CSS files in the wrapper, not the page header?
Posted: Wed Nov 23, 2005 5:17 pm
by garvinhicking
This would be easier if you tell me your URL, then I can see what exactly is wrong.
You just cannot link to templates/blah/style.css in your embedded page, but you need to link to /serendipity.css.php.
Regards,
Garvin
Posted: Wed Nov 23, 2005 5:38 pm
by wxman
Posted: Wed Nov 23, 2005 6:03 pm
by garvinhicking
In your page you have this code:
Code: Select all
<link href="templates/stamping/style.css" rel="stylesheet" type="text/css" media="screen">
Change it to:
Code: Select all
<link href="/serendipity/serendipity.css.php" rel="stylesheet" type="text/css" media="screen">
Regards,
Garvin
Posted: Wed Nov 23, 2005 6:39 pm
by wxman
I think it worked. I just tried it and the log showed no error this time.
No I need to do it on another one of my sites. This one is straight html though so it's not as easy.