Moved server - and Serendipity stopped working
Posted: Sun Oct 04, 2009 9:30 pm
Hi.
I have moved my site to a new webhost, but Serendipity did not like that - I got all kinds of errors, so I decided to delete all the files on the new host, do a clean install (Serendipity 1.5 beta1) and then restore all entries and comments from a database backup.
However, my page is still not working. If you look at http://www.mzh.dk/blog/, all you see is "Warning: Smarty error: unable to read resource: "404.tpl" in /home/www/mzh.dk/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1093"
I can access the admin module, but it looks a little amputated (it seems as if no css is being loaded, and there are no graphics), but the basic functionality is there.
So, I go to the configuration page and double check that all the paths are correct - and they are, except that the url for my blog says "http://mzh.dk/blog/", i.e. without "www". However, when I change it and press Check & Save, I get this:
"Warning: fopen(/www/mzh.dk/blog/serendipity_config_local.inc.php) [function.fopen]: failed to open stream: No such file or directory in /home/www/mzh.dk/blog/include/functions_installer.inc.php on line 72"
I have checked, and the file is there - and I have even CHMOD'ed it to 777, but I still get the same error.
When I go to see my media library, I get a similar error:
"Cannot write to folder /www/mzh.dk/blog/templates_c. Check file rights.
Warning: Smarty error: unable to read resource: "admin/media_pane.tpl" in /home/www/mzh.dk/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1093"
Again, templates_c is CHMOD'ed to 777.
When I look in my FTP program (FileZilla), it says "1652 1652" in the "Owner/group" column - is this significant ...?
Please help - I'm going nuts!
I have moved my site to a new webhost, but Serendipity did not like that - I got all kinds of errors, so I decided to delete all the files on the new host, do a clean install (Serendipity 1.5 beta1) and then restore all entries and comments from a database backup.
However, my page is still not working. If you look at http://www.mzh.dk/blog/, all you see is "Warning: Smarty error: unable to read resource: "404.tpl" in /home/www/mzh.dk/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1093"
I can access the admin module, but it looks a little amputated (it seems as if no css is being loaded, and there are no graphics), but the basic functionality is there.
So, I go to the configuration page and double check that all the paths are correct - and they are, except that the url for my blog says "http://mzh.dk/blog/", i.e. without "www". However, when I change it and press Check & Save, I get this:
"Warning: fopen(/www/mzh.dk/blog/serendipity_config_local.inc.php) [function.fopen]: failed to open stream: No such file or directory in /home/www/mzh.dk/blog/include/functions_installer.inc.php on line 72"
I have checked, and the file is there - and I have even CHMOD'ed it to 777, but I still get the same error.
When I go to see my media library, I get a similar error:
"Cannot write to folder /www/mzh.dk/blog/templates_c. Check file rights.
Warning: Smarty error: unable to read resource: "admin/media_pane.tpl" in /home/www/mzh.dk/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1093"
Again, templates_c is CHMOD'ed to 777.
When I look in my FTP program (FileZilla), it says "1652 1652" in the "Owner/group" column - is this significant ...?
Please help - I'm going nuts!