phpBB2 + CH to phpBB3 Upgrade Script(s) Package

Stand-alone scripts designed for a specific function, but not neccessarily part of normal forum browsing.
Forum rules
Image Please feel free to download any Scripts here, support for each Script is located it's own thread.

To post your own Script, please first read the MOD / Script Guidelines

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby nesl247 » 03 Dec 2006, 23:37

Why not simply redo the changes to be from phpBB2 to phpBB3 Beta 1, that way users are recommended to use the phpBB3 Beta1 to phpBB3 Beta3 script, then phpBB3 Beta3 to phpBB3 Beta4 script provided by phpBB? Yes it's a long route, but reduces the need to reimplementing already existing scripts.
nesl247
Cadet I
Cadet I
 
Posts: 11
Joined: 28 Oct 2006, 16:59
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Handyman » 03 Dec 2006, 23:58

Hey nesl247

It would take more work to make this script upgrade to Beta 1 instead of Beta 2 then it would to just finish the already started Beta 2 to Beta 3 script... the only reason it's not finished yet it some of us don't have time to finish it yet... but we will soon Smile I hope for my sake Wink
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Kokuei » 09 Dec 2006, 09:36

Since this script needs a version of phpBB 3.0.B2 does anyone know were to get it or could possibly upload a file here? I would like to try this out but i can't seem to find a download of the old beta ver anywere.

Cuz' I guess it's to much to hope for to find a 2.0.21 -> 3.0.B4 upgrade script here? Twisted

//Kokuei

Solution
Well, as usual I tend to complicate things.
http://www.phpbb.com/development/files/phpBB-3.0.B2.zip

A simlple look at the url solved my problem.
User avatar
Kokuei
Crewman
Crewman
 
Posts: 8
Joined: 09 Dec 2006, 05:21
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Tuk » 09 Dec 2006, 09:50

You can get all releases from http://sourceforge.net/project/showfiles.php?group_id=7885&package_id=194469.

Actually you only need to add one single line within the converter to make it work with beta 4. Just yesterday evening I did a successful conversion from 2.0.21 to latest CVS version.

In upgrade/users_upgrade.php find
Code: Select all
'user_password'         => $user_row['user_password'],

and add
Code: Select all
'user_pass_convert'      => 1,

after it.
"If sharks die, the sea dies" - Andy Cobb, ambassador SHARKPROJECT South Africa
User avatar
Tuk
Supporter
Supporter
 
Posts: 271
Joined: 17 Jul 2006, 11:46
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Kokuei » 09 Dec 2006, 10:37

Hmmm.... dont seem to work for me.

Code: Select all
Fatal error: Call to undefined function: sql_numrows() in ........../upgrade/forums_upgrade.php on line 80

Fatal error: Call to undefined function: sql_numrows() in ......../upgrade/users_upgrade.php on line 19



Seem to get this alot with some General Errors to.... ill have to dig into this some more before I start asking questions.
User avatar
Kokuei
Crewman
Crewman
 
Posts: 8
Joined: 09 Dec 2006, 05:21
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Handyman » 09 Dec 2006, 11:05

You can comment out those lines in those 2 files.
I believe those numrows are just to see how many results are there for displaying later.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Kokuei » 09 Dec 2006, 11:26

[quote="Handyman"]
You can comment out those lines in those 2 files.
I believe those numrows are just to see how many results are there for displaying later.
[/quote]

I am currently working on getting 2.0.21 -> 3.0.B2 to work. I had the same problem with utf8_clean_string(), so my thinking was to replace in users_convert.php

Code: Select all
'username_clean'      => utf8_clean_string($user_row['username']),


with
Code: Select all
'username_clean'      => $user_row['username'],


and see what happens.

I may try to comment those lines later, even if this will work.
User avatar
Kokuei
Crewman
Crewman
 
Posts: 8
Joined: 09 Dec 2006, 05:21
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Handyman » 09 Dec 2006, 11:59

utf8_clean_string was not in existence until Beta 3, so you shouldn't be using it in this upgrade script unless you are trying to make it upgrade to Beta 3 or 4.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Kokuei » 09 Dec 2006, 12:01

I got it to work halfway now though, when i removed (well commented line 218) the utf8_clean_string() function.

Install Forums Script - worked.
Install Users Script - got about 270 users before it "white paged" on me. If I try again i get a SQL-Error (Duplicate entry '8' for key 1 [1062])
Install Ranks Script - woked.
Install Groups Script - worked.
Install User Group Script - worked.
Install PMs Script - worked.
Install Posts Script - i don't know how much this actually gets from my phpBB2 forum, but it does not take all the data, and not cronologically. The postcount/poster does not work. Perhaps my forum is to big for the script to handle (39683 articles, 323 users). Got a "white page" here after a while to.
Install Polls Script - worked.
Last edited by Kokuei on 09 Dec 2006, 12:07, edited 1 time in total.
User avatar
Kokuei
Crewman
Crewman
 
Posts: 8
Joined: 09 Dec 2006, 05:21
Gender: Male

Re: phpBB2 to phpBB3 Upgrade Script(s) Package

Postby Handyman » 09 Dec 2006, 12:07

The white pages means it's running into the timeout before finishing.

You should raise the timeout limit to 600 or so.
It's set to 120 in the index.php page of the upgrade script.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

PreviousNext

Return to Scripts

Who is online

Users browsing this forum: No registered users and 2 guests