Topic: Upgrade 1.0.1 to 1.2.5?

Greetings all.

I've been a very happy user of PunBB for some time now, but I'm running on 1.0.1. If I install and configure 1.2.5 will I have any issue using my existing forum database?

Thank you.

2 (edited by Smartys 2005-06-22 23:14)

Re: Upgrade 1.0.1 to 1.2.5?

Most likely not
However, you should do it in steps.
First, download PunBB 1.1, replace all the files, take 10_to_11_update.php out of the scripts folder and put it in the forum root. Then, run the file. Delete it after.
After that, download PunBB 1.2, replace all the files, take 11_to_12_update.php out of the extras folder and put it in the forum root. Run it, delete it after.
Finally, download PunBB 1.2.5, replace all the files, take 12_to_125_update.php out of the extras folder and put it in the forum root. Run it, delete it after

Repetitive, I know. And, in fact, this gives me a VERY good idea

Re: Upgrade 1.0.1 to 1.2.5?

Thanks for the fast response, and the suggestion!

It's my fault, actually, for not upgrading when updates were available.

Re: Upgrade 1.0.1 to 1.2.5?

I actually just realized I gave you an extra step, silly me wink

Re: Upgrade 1.0.1 to 1.2.5?

For the sake of clarity, I should download 1.1.1.zip then 1.2.1.zip, and finally 1.2.5.zip from the museum - correct? I ask because there are some minor revisions such as 1.1.2 in the tree as well.

6 (edited by Smartys 2005-06-22 23:44)

Re: Upgrade 1.0.1 to 1.2.5?

You download 1.1, then 1.2, then 1.2.5 (they won't seem to be there, but keep looking, they're there, just sorted differently then you would expect)

I just made a script that does all the updating steps if you want to test it (if you do, make sure to have a backup copy of your database: this could have issues)

7 (edited by rchapman 2005-06-22 23:47)

Re: Upgrade 1.0.1 to 1.2.5?

Sure, I'll test it out. How should I get the file from you?

PS - Thanks!

Re: Upgrade 1.0.1 to 1.2.5?

I sent you an email via the form: respond and I'll send you the file smile

Re: Upgrade 1.0.1 to 1.2.5?

Done!

10 (edited by Smartys 2005-06-23 00:02)

Re: Upgrade 1.0.1 to 1.2.5?

Alright, do you have the file? Does it work alright? It IS a lot of queries to run (mmm, maybe I should put in a short stop after each version) smile

Re: Upgrade 1.0.1 to 1.2.5?

I haven't run the script yet - but did back up the database using mysqldump. Once I get home from work I'll run the script, pray a bit, and then see what happens. Actually, I might pray first. smile

Seriously - thanks for taking the time. I'll let you know the result once I run it!

Re: Upgrade 1.0.1 to 1.2.5?

Alright, cool smile
The script should work fine, but it might take a while to work

Re: Upgrade 1.0.1 to 1.2.5?

Oh, just FYI: I'm going to be leaving for about 12 days starting tomorrow, and I won't have Internet access. So, if it doesn't work, feel free to do it the old fashioned way wink

14 (edited by rchapman 2005-06-23 06:01)

Re: Upgrade 1.0.1 to 1.2.5?

LOL. Good thing the script worked like a charm. I'll let you know if I experience any wierd behavior, but it looks like the migration was successful. Thanks again for your time.

Re: Upgrade 1.0.1 to 1.2.5?

Is HTML no longer allowed in posts? I upgraded from 1.0.1 to 1.2.5 and find that HTML doesn't render. I tried looking in Options to set the "enable HTML" flag but couldn't find the option. Any help appreciated.

16 (edited by rchapman 2005-06-23 16:53)

Re: Upgrade 1.0.1 to 1.2.5?

Search is a wonderful thing. I realize now that HTML is no longer allowed in PunBB posts. Sorry for posting without first investigating thoroughly.

Re: Upgrade 1.0.1 to 1.2.5?

Someone could plant some malicious JavaScript in a post and do something bad to one's computer. I'm thinking maybe add an enable HTML option and disable <script> elements and on***** attributes (on***** being onClick, onLoad, etc.) and links with javascript:... would be nice.