New Install - Change Theme - Blog theme is blank ??

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
SpartacusB
Posts: 2
Joined: Tue Jan 19, 2010 7:11 am

New Install - Change Theme - Blog theme is blank ??

Post by SpartacusB »

Hi,

I'm a 100% newbie here so please forgive any violations of protocols ---

After a successful install, I had the default theme which looked OK, posted some test articles and comments, everything looked good.

Somewhere in my admin panel there was an option about using a custom style sheet which I thought I was going to set temporarily. It didn't seem to change anything in the blog -- blog looked the same.

Then I tried selecting a different template/theme to use to see what it looked like. Now my blog has a white background and default text font, and no matter which theme I choose it is reflected in the admin area but the blog is white background with default browser text. No formatting at all.

Furthermore, now the "manage styles" area of the admin panel only has the list of themes, I absolutely cannot find the option that I "temporarily set" for the custom style sheets in order to set it back.

Don't know if this matters, but if I go to my main blog page and view the source, it is referencing a .css file which doesn't exist anywhere: serendipity.css

Please help, everything was going great and now I'm at a complete impasse.

Thanks!

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

Re: New Install - Change Theme - Blog theme is blank ??

Post by garvinhicking »

Hi!

This sounds as if you might have enabled the "embed mode" in the global s9y configuration. That bypasses any CSS of the current template. Make sure it is not enabled.

If that doesn'T help, please post your URL.

As for "serendipity.css": This is a "URL forward" way. Maybe you deleted your .htaccess file, and now the "URL Rewriting" you configured in s9y is not working anymore. You might want to set that option in the s9y configuration to "No Rewriting/none" again to make sure that no url forwarding is used...

HTH,
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/
SpartacusB
Posts: 2
Joined: Tue Jan 19, 2010 7:11 am

Re: New Install - Change Theme - Blog theme is blank ??

Post by SpartacusB »

Hi!

Hey thanks a lot. It was the URL Forwarding option. Guess I should fully understand configuration options before I try to set them :) That option was set awhile earlier, just didn't have the negative effect until after I tried to change themes I guess.

Thanks again!
boinkboink
Posts: 4
Joined: Sun Jan 29, 2012 9:06 pm

Re: New Install - Change Theme - Blog theme is blank ??

Post by boinkboink »

Sorry to bump an old thread but, I am having the exact problem and setting the

Code: Select all

URL Rewriting
option to

Code: Select all

Disable URL Rewriting
does not fix the issue. Running: Serendipity 1.6 and PHP 5.3.9 on

Code: Select all

# uname -a
FreeBSD tsunami.lan 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Jan 23 09:38:08 PST 2012     root@tsunami.lan:/usr/obj/usr/src/sys/GENERIC  amd64
Server is

Code: Select all

# lighttpd -v
lighttpd/1.4.30 (ssl) - a light and fast webserver
Build-Date: Jan 27 2012 08:59:21
Would be thankful for some help w/ this.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: New Install - Change Theme - Blog theme is blank ??

Post by garvinhicking »

Hi!

Hm, lightttpd has always different URL rewriting schemes. What's the URL to your blog?

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/
boinkboink
Posts: 4
Joined: Sun Jan 29, 2012 9:06 pm

Re: New Install - Change Theme - Blog theme is blank ??

Post by boinkboink »

g'day Garvin, Thanks for your reply.

My URL is: http://localhost/blog
Are you wanting to visit it? I'll have to punch a hole in the FW if you want.

Wow! I was just scanning through the lighttpd config files to paste in relevant sections here for your inspection, when I noticed that in

Code: Select all

modules.conf
"mod_rewrite" was being loaded. Commented the directive out, restarted and bingo! Themes are back. :)

Seems that disabling URL rewriting in s9y is not sufficient to remedy the problem. It would be nice to retain rewriting facility in the server though. Is there a work around for that?

Sincere regards,
joe
boinkboink
Posts: 4
Joined: Sun Jan 29, 2012 9:06 pm

Re: New Install - Change Theme - Blog theme is blank ??

Post by boinkboink »

Update:

Started flipping through the default themes and found that when changing from the default theme. themes are still blank. Woe is me..

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

Re: New Install - Change Theme - Blog theme is blank ??

Post by garvinhicking »

Hi!

That's quite odd. The thing is this: The s9y configuration directive for "URL Rewriting:" indicates, if s9y will generate links linke index.php?/archives/XXX.html or directly /archives/XXX.html.

If URL rewriting in s9y is enabled, but the server is not capable, this would lead to 404 pages.

If URL rewriting in s9y is disabled, but the server has rewriting capabilities, this should not influence s9y's operation at all - because it creates links like index.php?/archives/XXX.html and does not use rewriting at all.

So I don't see how disabling mod_Rewrite in your configuration would actually affect s9y, if it is properly disabled in s9y.

To look at it, giving me a public URL would definitely help to "see" what your actuall settings are.

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/
boinkboink
Posts: 4
Joined: Sun Jan 29, 2012 9:06 pm

Re: New Install - Change Theme - Blog theme is blank ??

Post by boinkboink »

Done. I've sent you a PM w/ all the info (and then some) you will need. :)

Regards,

--
joe
Post Reply