Page 1 of 1
Lost templates in migration
Posted: Fri Sep 23, 2005 7:51 pm
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?
Same problem
Posted: Sat Sep 24, 2005 2:28 am
by Bloggertje
I've the same problem but not while migrating just from one day to another they seemed to be gone.
Posted: Sat Sep 24, 2005 9:37 am
by Col. Kurtz
please check if you have the embedded option turned on. if its turned on, you cant see a template at all.
Posted: Sun Sep 25, 2005 2:16 am
by Jae
The embedded option is off - I had already checked on that.
Solution found
Posted: Mon Sep 26, 2005 1:13 am
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 ?
Posted: Mon Sep 26, 2005 4:40 pm
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?
Posted: Mon Sep 26, 2005 5:37 pm
by garvinhicking
Jae, update your Serendipity version. The bug has been fixed a few releases ago.
Regards,
Garvin
Posted: Mon Sep 26, 2005 9:10 pm
by Jae
I upgraded from 8.1 to 8.3 - nothing changed. I have no idea what to do next.
Posted: Mon Sep 26, 2005 9:56 pm
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
Posted: Mon Sep 26, 2005 10:18 pm
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!

Posted: Mon Sep 26, 2005 10:43 pm
by garvinhicking
You're welcome! Have fun with Serendipity!
Regards,
Garvin