No stylesheet after installation

Having trouble installing serendipity?
Post Reply
morlock
Posts: 1
Joined: Tue Jun 19, 2007 5:35 pm

No stylesheet after installation

Post by morlock »

I'm just posting this here because the problem occured right after installing Serendipity:

The installation went fine (and looked ok, too), but after successfully completing it, the system does not apply stylesheets.
I tracked down the problem this far: When changing the theme in the administration, the correct templates are used, so there is no problem here. But: the HTML-Code references the stylesheet "serendipity.css" which just isn't present and is not being created when changing the Theme. Same goes for the administration.
Since i don't really have the time to look through all the code to track down where exactly the files should be created (at least i guess the SHOULD be created at some point) i would be glad for any helpful idea.

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

Re: No stylesheet after installation

Post by garvinhicking »

Hi!

Could it be you installed s9y using URL Rewriting, but your host is not capable of using it? Go to the s9y configuration and set URL Rewriting to "None".

The 'serendipity.css' is a virtual file that is rerouted by serendipitys URL rewriting.

Please check the FAQ on what other issues "missing templates" can cause.

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/
jamesmusic
Regular
Posts: 46
Joined: Thu Jun 28, 2007 6:50 pm
Contact:

Post by jamesmusic »

hello, i'm having a similar problem! none of the default style templates are showing up on the blog page, although they are clearly selected in the admin style panel. what shows up is a skelington page without any graphics... i'm not an advanced user but am a quick learner, do you have any suggestions?? any help would be very much appreciated!!

i'm testing the pages at the mo so if you PM i can send you the page links...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi jamesmusic!

Yes, the same that I wrote above applies to you.

Go to the s9y configuration, set "URL Rewriting" to "None". This is also contained in the FAQ. :-)

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/
jamesmusic
Regular
Posts: 46
Joined: Thu Jun 28, 2007 6:50 pm
Contact:

Post by jamesmusic »

hi gavin,
thank you for the help. i have already disabled URL rewriting, without it having any effect, and the same problem is happening....!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Did you maybe set the "Embed" option of your blog to "Yes"? You only should enable this option if you know what you are doing. :-)

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/
jamesmusic
Regular
Posts: 46
Joined: Thu Jun 28, 2007 6:50 pm
Contact:

Post by jamesmusic »

ahhh-ha! that was it, i jumped the gun a little bit - i'll read up on embedding the blog on a web page... as i'd like to add a css-style web header on all the pages. :D
thank you garvin!
kind regards,
james
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You're welcome :)

In your case, embedding might not be the best way to go. Instead you could just edit the 'index.tpl' template file of your theme and insert your Web HEader there. Or in your style.css file :)

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