To Upgrade Or Not To Upgrade?

Having trouble installing serendipity?
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

To Upgrade Or Not To Upgrade?

Post 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
Please take a minute to visit my web site: http://www.petersreviews.com
winkiller
Regular
Posts: 77
Joined: Tue May 17, 2005 7:52 pm
Location: Munich, Germany
Contact:

Post 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
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

Post 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
Please take a minute to visit my web site: http://www.petersreviews.com
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
Guest

Post 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! :shock:
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

Post 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! :shock:
Please take a minute to visit my web site: http://www.petersreviews.com
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

To Upgrade Or Not To Upgrade? - I Broke it!

Post 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
Please take a minute to visit my web site: http://www.petersreviews.com
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
:lol:
Judebert
---
Website | Wishlist | PayPal
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

Post 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
Please take a minute to visit my web site: http://www.petersreviews.com
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

Post 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.
Please take a minute to visit my web site: http://www.petersreviews.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
petersreviews
Regular
Posts: 28
Joined: Thu Oct 27, 2005 7:51 pm
Location: Sunny California
Contact:

Post by petersreviews »

I've uploaded the files again and it's the same. Any other suggestions?

Thanks,
Peter
Please take a minute to visit my web site: http://www.petersreviews.com
Post Reply