phpBB2 -> phpBB3 Upgrade Script Discussion

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
User avatar
SHS`
Registered User
Posts: 1628
Joined: Wed Jul 04, 2001 9:13 am
Location: The Boonies, Hong Kong
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by SHS` »

jimmygoon wrote: hmm. Is this the same script that has already been developed on the star trek forums... if so I can report success.


Most certainly not. Those persons involved with said 3rd party script have been warned already and anyone using non-official scripts can go crying to said authors. This topic is solely about the proper phpBB3 "UCS" as checked into CVS.
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition!Asking Questions The Smart Way

ByteEnable
Registered User
Posts: 20
Joined: Wed Jan 26, 2005 11:41 pm
Location: Texas
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by ByteEnable »

Hmmm....I get sql errors. This is on php5.2.

Byte

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by naderman »

Would be kind if you could do us a favour and create a bug report on that problem.

Thanks a lot!

ByteEnable
Registered User
Posts: 20
Joined: Wed Jan 26, 2005 11:41 pm
Location: Texas
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by ByteEnable »

I wanted to do some debug before I posted a bug report. Here is what I found:

I had category-hierarchies installed. In the phpbb_forums table there also existed forum names that were the same as the category names. However, they had a cat_id of '0'. The script was using $cats_added[$row['cat_id']] to index against the categories. There was no index for these forums, since they were not really forums but category names. So I just deleted all the forums with a cat_id of 0. Worked like a charm after that!

Byte

BondGamer
Registered User
Posts: 113
Joined: Mon Dec 15, 2003 8:20 pm
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by BondGamer »

How does the upgrade script handle unknown fields (added with MODs) in the default phpBB tables? Does it simply ignore them or does it add them to the new tables?

Uchiha Nick
Registered User
Posts: 397
Joined: Tue Jul 20, 2004 6:21 am
Location: Rotterdam, The Netherlands
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by Uchiha Nick »

hmm, I did resync one forum, and it shows as normall ( yet the count at the bottom still doesn't work )

so I suppose that isn't the right way as well :(
Image

Kokuei
Registered User
Posts: 64
Joined: Sun Nov 26, 2006 6:19 pm
Location: On the other end of the cable.
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by Kokuei »

I also tried to convert a copy of my board today, and ran across a language error.

Code: Select all

[phpBB Debug] PHP Notice: in file /install/convertors/functions_phpbb20.php on line 919: phpbb_prepare_message() [function.phpbb-prepare-message]: Unable to access ./../../phpbb2022/language/lang_en/lang_main.php
[phpBB Debug] PHP Notice: in file /install/convertors/functions_phpbb20.php on line 919: phpbb_prepare_message(./../../phpbb2022/language/lang_en/lang_main.php) [function.phpbb-prepare-message]: failed to open stream: No such file or directory
But also as our dear devs warned I also ran out of memory for the script to complete the update. A quick chat with my host resulted in a pain refusal to go around their policy, and with no idea to solve the problem (yay! stay away from One / B-One hosting all of you). Anyone know if there is anyway to get around this problem? A way to "chunk" the script perhaps?

The script also seem to have problem with the following characters: å,ä,ö (used in swedish)
Last edited by Kokuei on Sun Jan 07, 2007 12:12 pm, edited 1 time in total.

Uchiha Nick
Registered User
Posts: 397
Joined: Tue Jul 20, 2004 6:21 am
Location: Rotterdam, The Netherlands
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by Uchiha Nick »

that bug is the same I had, Schumi reported it to the bugtracker though :)

the memory, that might be one reason as well why mine didn't follow through
Image

Kokuei
Registered User
Posts: 64
Joined: Sun Nov 26, 2006 6:19 pm
Location: On the other end of the cable.
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by Kokuei »

Uchiha Nick wrote: that bug is the same I had, Schumi reported it to the bugtracker though :)
the memory, that might be one reason as well why mine didn't follow through


Actually, it does not seem entierly as the same error. The lines are different when i look more closely at it. Pershaps this should have its own report inte the bug-tracker?

User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

Re: phpBB2 -> phpBB3 Upgrade Script Discussion

Post by John Hjorth »

Kokuei,

You could run the conversion on a local server and thereby have all the power in you computer available.

Post Reply