Error showing up in server logs

Having trouble installing serendipity?
Post Reply
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Error showing up in server logs

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Error showing up in server logs

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Post by wxman »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Post 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.
Post Reply