Page 1 of 2
To Upgrade Or Not To Upgrade?
Posted: Wed Feb 01, 2006 6:53 pm
by petersreviews
Hello everyone!
I'm running version 0.8.2 with PHP 4.3.11 and was wondering if there was a list of bug fixes and upgrades to the latest version.
Also, one of the reasons I've put off upgrading even though I'm sure it's as easy as they say, is that I'd like to back up my blog and I can't quite figure out how to do that. What are the chances of anything going wrong? I'd hate to mess up anything. Part of me wants to just go for it without a backup and I'm sure things will be fine but what if something happens?
Enough rambling for now. Thanks for any replies to my questions.
Thanks!
Peter
Posted: Wed Feb 01, 2006 7:11 pm
by winkiller
Safe thing would be mysql dump of the related tables and a copy of the whole folder. so your socument root if s9y runs as / or your /blog/ folder.
If anything goes wrong, it can be easily restored.
I personally never had any troubles upgrading, but you could also wait just a little for the release of 1.0 and then do an upgrade
Posted: Wed Feb 01, 2006 7:25 pm
by petersreviews
Hi Winkiller,
Is a MySQL dump the same as "export"? That's the only thing in the MySQLAdmin that looks similar. And then I'm not sure what format to export into (sql, LaTeX, Microsoft Excel 2000, Microsoft Word 2000, CSV for MS Excel or CSV). Of course, I could be looking at the completely wrong thing since I'm not great with all the tech stuff...
Thanks!
Peter
winkiller wrote:Safe thing would be mysql dump of the related tables and a copy of the whole folder. so your socument root if s9y runs as / or your /blog/ folder.
If anything goes wrong, it can be easily restored.
I personally never had any troubles upgrading, but you could also wait just a little for the release of 1.0 and then do an upgrade
Posted: Wed Feb 01, 2006 11:32 pm
by judebert
Yup. You click the database in the sidebar, click the Export tab, and choose all your options. You want to save as SQL (since you might be importing it later, and your database understands SQL), you don't need any compatibility (since you'll be importing with the same software you're exporting with), and add DROP TABLE (to delete any existing table if you don't get it manually).
Then choose "Save as File", give it a name, and off you go. It'll be downloaded to your local machine.
Check your import tab to ensure you're exporting with the same format you're importing. It should AT LEAST have SQL.
Posted: Thu Feb 02, 2006 12:18 am
by Guest
OK I upgraded but I'm getting: Fatal error: Call to undefined function: serendipity_initpermalinks() in /home/content/p/e/t/petersreviews/html/serendipity_config.inc.php on line 220
Do I need to set the permissions for my
serendipity_config.inc.php file "666"? It's set as "700" now.
Thanks!
Peter
P.S. Trying not to freak out since it didn't go quite as smoothly as hoped!

Posted: Thu Feb 02, 2006 12:22 am
by petersreviews
Whoops, forgot to log in...
Anonymous wrote:OK I upgraded but I'm getting: Fatal error: Call to undefined function: serendipity_initpermalinks() in /home/content/p/e/t/petersreviews/html/serendipity_config.inc.php on line 220
Do I need to set the permissions for my
serendipity_config.inc.php file "666"? It's set as "700" now.
Thanks!
Peter
P.S. Trying not to freak out since it didn't go quite as smoothly as hoped!

To Upgrade Or Not To Upgrade? - I Broke it!
Posted: Thu Feb 02, 2006 2:14 am
by petersreviews
Hello again,
I logged into my administration and it gave me a green light on everything so I continued and it says I'm running version 0.9.1 now! But I'm still getting this message:
Fatal error: Call to undefined function: serendipity_initpermalinks() in /home/content/p/e/t/petersreviews/html/serendipity_config.inc.php on line 220
What am I doing wrong? I'm starting to panic a bit here but I'm sure there's an easy fix.
Thanks,
Peter
Posted: Thu Feb 02, 2006 3:23 am
by judebert
Don't Panic -- I've got the towels.
We can fix this. I haven't seen this particular error, myself, but it looks like that function is in include/functions_permalinks.inc.php. Make sure it was properly uploaded: check for its existence on your server. If you can't find it, or you're just not happy with it, you can unzip the Serendipity archive and upload just that file in ASCII mode.
Then we can move on to the next error.

Posted: Thu Feb 02, 2006 3:31 am
by petersreviews
I checked and "include/functions_permalinks.inc.php" was there but for good measure I replaced it with the file from the archive and same deal. Hmm...
Any other suggestions?
Thanks,
Peter
Posted: Thu Feb 02, 2006 4:17 am
by judebert
Oh, wait a minute. That's misspelled.
It should be serendipity_initPermalinks. Go to your serendipity_config.inc.php, find line 220 (or the misspelled word), and change it to the proper spelling.
What version of Serendipity did you install, anyway? I'd like to fix it, if I can.
Posted: Thu Feb 02, 2006 5:38 am
by petersreviews
Hello again,
At this point I'm totally confused. What kind of editor shoud I use? I've used Notepad but I can't identify line 220. What exactly is misspelled?
Also, I'm using version 0.9.1.
Thanks again!
Peter
judebert wrote:Oh, wait a minute. That's misspelled.
It should be serendipity_initPermalinks. Go to your serendipity_config.inc.php, find line 220 (or the misspelled word), and change it to the proper spelling.
What version of Serendipity did you install, anyway? I'd like to fix it, if I can.
Posted: Thu Feb 02, 2006 11:03 am
by garvinhicking
This error really indicates an unproper upload. It seems your include/functions.inc.php file did not get overwritten wit the new release serendipity one; in the first lines it should contain an include of the "functions_permalinks.inc.php" file, which seems to be not included in your install.
Regards,
Garvin
Posted: Thu Feb 02, 2006 1:37 pm
by judebert
Looks like a complete re-upload is called for.
What's "misspelled" is the function call, serendipity_initpermalinks. It should have a capital P: serendipity_initPermalinks. If you're up for editing it manually, you can use any text editor you like. Just search for the lowercase version and replace it with the uppercase version.
Of course, if you unpack the Serendipity archive on your local machine, serendipity_config.inc.php should have the correct capitalization. It's the distribution file, after all. If it does, that indicates that your upload didn't work: the original file was not overwritten.
In that case, there may be other files that didn't get replaced, too. Re-upload the files, and make sure your FTP program is set to overwrite the files (many will automatically try to "continue" if they see a file with similar size already exists). With the correct files, Serendipity will work just fine.
Posted: Thu Feb 02, 2006 1:49 pm
by garvinhicking
Judebert: PHPs function names are case-insensitive. So there should not be an error caused by different spelling.
I agree with your solution, of course.
Regards,
Garvin
Posted: Thu Feb 02, 2006 5:21 pm
by petersreviews
I've uploaded the files again and it's the same. Any other suggestions?
Thanks,
Peter