How to move your Serendipity installation to a different location on your server?
In my case, I had S9Y installed at /lounge and I wanted to move it to /forum/lounge (ie, into a subfolder). I logged onto the server, made the folder, and moved the files into their new location, and S9Y immediately stopped working, giving all sorts of 505 errors and complaining about smarty/404.tpl files not being found. I knew I hadn't changed anything but the installation location so I couldn't have broken too much.
It turned out to be an easy solution, but you need to update the parts of your mysql database that hardcode the S9Y installation's root location. Log into mysql using your database's username and password (you can get both from the file serendipity_config_local.php. So:
Code: Select all
mysql -u USER -p
and then enter the password.
mysql> use DATABASENAME (whatever your S9Y DB is called: get that from the same config file as the user name and password)
Code: Select all
describe serendipity_config
So:
Code: Select all
update serendipity_config set value='/forum/lounge/' where name='serendipityPath';
In my case, that was all it took. Hope this information is useful to anyone who finds themself in my situation.