Lost templates in migration

Having trouble installing serendipity?
Post Reply
Jae
Regular
Posts: 5
Joined: Fri Sep 23, 2005 7:42 pm
Location: NC
Contact:

Lost templates in migration

Post by Jae »

Hi,

I've been using Serendipity for about a year now, and recently migrated my website to a new host and domain name. The migration went fairly well, once I browsed through here and figured out what I needed to do.

But I lost all the templates somewhere in the process, including the default. All of my entries are there, but the layout is just plain text (I was using MT-Rusty before). I can log in to the administrator and select a theme, but there is no change. As far as I can tell, all of the theme files are in place. I've checked all the paths in the config files and the serendipity_config table, and they're all correct.

Anyone have any ideas?
Bloggertje

Same problem

Post by Bloggertje »

I've the same problem but not while migrating just from one day to another they seemed to be gone.
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

please check if you have the embedded option turned on. if its turned on, you cant see a template at all.
Marc
Jae
Regular
Posts: 5
Joined: Fri Sep 23, 2005 7:42 pm
Location: NC
Contact:

Post by Jae »

The embedded option is off - I had already checked on that.
Bloggertje
Posts: 2
Joined: Sat Sep 24, 2005 2:29 am
Location: Mechelen, Belgium
Contact:

Solution found

Post by Bloggertje »

I've solved the problem on my site by changing the friendly url option.
I used apache errorhandling until this week but it seems there were some changes on the server so this didn't worked anymore.
I changed this into the mod_rewrite option and now my http://blogske.be looks fine again.
The only problem left is situated in the serendipity_plugin_staticpage.php
I guess that this is also caused by serverchanges but I don't know how to solve that.
Anybody idears ?
Jae
Regular
Posts: 5
Joined: Fri Sep 23, 2005 7:42 pm
Location: NC
Contact:

Post by Jae »

I'm not getting any error messages, be they MySQL or Apache. The theme files are all there, as far as I can tell, but I cannot get any of them to work. The blog just shows up in plain text. Here is the link:

http://www.somemoorestuff.net/blog

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

Post by garvinhicking »

Jae, update your Serendipity version. The bug has been fixed a few releases ago.

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/
Jae
Regular
Posts: 5
Joined: Fri Sep 23, 2005 7:42 pm
Location: NC
Contact:

Post by Jae »

I upgraded from 8.1 to 8.3 - nothing changed. I have no idea what to do next.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Jae,

which PHP version are you using? Are you using mod_php or PHP as CGI?

It seems that your version does not accept setting header('HTTP/1.0 200'), which is why the CSS stylesheet returns a 404 Header, even though it properly delivers content.

You might need to turn of "URL Rewriting" in your options to bypass this behaviour, but then you can't use "pretty URLs" because of your PHP restrictions...

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/
Jae
Regular
Posts: 5
Joined: Fri Sep 23, 2005 7:42 pm
Location: NC
Contact:

Post by Jae »

I switched from using Apache error handling to using Apache mod_rewrite, and that seems to have fixed the problem. Thanks for all your patience, Garvin! :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You're welcome! Have fun with Serendipity! :)

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