Page 5 of 5

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Tue Apr 29, 2008 11:01 pm
by ric323
Mr.TAEL wrote:...
How can I open DB ?
The backup is just a text file containing SQL queries.
If it is a .SQL fle, you can just open it in a text editor (but it must be able to handle large files.)
If it is a .ZIP or.GZ file, you will need to extract the SQL file from it first.

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Wed Apr 30, 2008 4:17 pm
by Mr.TAEL
ric323 wrote:
Mr.TAEL wrote:...
How can I open DB ?
The backup is just a text file containing SQL queries.
If it is a .SQL fle, you can just open it in a text editor (but it must be able to handle large files.)
If it is a .ZIP or.GZ file, you will need to extract the SQL file from it first.
It is a large DB and I cannot open it with text editor (~70 MB)

Format of backup is .SQL

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Wed Apr 30, 2008 10:25 pm
by ric323
Mr.TAEL wrote: It is a large DB and I cannot open it with text editor (~70 MB)
Yes you can, you just need a better text editor. Try some from: Knowledge Base - Tools needed to set up and customise phpBB

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Thu May 01, 2008 9:44 am
by Mr.TAEL
ric323 wrote:
Mr.TAEL wrote: It is a large DB and I cannot open it with text editor (~70 MB)
Yes you can, you just need a better text editor. Try some from: Knowledge Base - Tools needed to set up and customise phpBB
Thanks a lot.

I saw my converted DB and it's good and no ???? ? ???? characters . (it's in UTF-8 format and Persian language)

So what's the problem . Also in BigDump I've set encoding to utf-8 .

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Thu May 01, 2008 9:14 pm
by todespudel
Have you re-uploaded the dump to the database after you changed the collation?

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Fri May 09, 2008 1:39 pm
by Mr.TAEL
todespudel wrote:Have you re-uploaded the dump to the database after you changed the collation?
No .

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Sat May 10, 2008 10:19 am
by todespudel
Well, try that!

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Fri May 23, 2008 9:44 am
by Mr.TAEL
todespudel wrote:Well, try that!
No . It doesn't any effects .

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Tue May 27, 2008 2:01 pm
by Lieto007
hello i need help with convert
when i try to convert

Code: Select all

Dumping.
Traceback (most recent call last):
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 1164, in <module>
    phpbb_prefix)
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 1014, in start
    phpbb2_posts(structure)
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 442, in phpbb2_posts
    number = int(poster_ip[start:end])
ValueError: invalid literal for int() with base 10: '\xaa\xae\xe2\xae\xe0\xeb\xa
9 \xaf\xe0\xa8\xae\xe2\xaa\xe0\xeb\xa2\xa0\xa5\xe2 \xa7\xa0\xa2\xa5\xe1\xe3 \xad
\xa0\xa4 \xa2\xad\xa5\xe8\xad\xae\xe1\xe2\xec\xee \xe0\xa5\xe1\xe2\xa0\xa9\xab\x
a8\xad\xa3\xae\xa2\xae\xa9 \xac\xae\xa4\xa5\xab\xa8 Lanos'
help please
where the problem and how to decide it

sorry for my ENGLISH

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Tue May 27, 2008 4:37 pm
by todespudel
Ok, sorry guys, I do not have the time anymore to support this converter.

It was once meant to help ME (and it did that very well) and it was a nice learning project, but there are some issues with it.

So learn a programming language and after some days you should be able to write a converter which does the job (at least for you).

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Wed Jun 25, 2008 6:37 am
by Shaythong
Lieto007 wrote:hello i need help with convert
when i try to convert

Code: Select all

Dumping.
Traceback (most recent call last):
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 1164, in <module>
    phpbb_prefix)
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 1014, in start
    phpbb2_posts(structure)
  File "C:\sql\mybb12x_phpbb2_convertor.py", line 442, in phpbb2_posts
    number = int(poster_ip[start:end])
ValueError: invalid literal for int() with base 10: '\xaa\xae\xe2\xae\xe0\xeb\xa
9 \xaf\xe0\xa8\xae\xe2\xaa\xe0\xeb\xa2\xa0\xa5\xe2 \xa7\xa0\xa2\xa5\xe1\xe3 \xad
\xa0\xa4 \xa2\xad\xa5\xe8\xad\xae\xe1\xe2\xec\xee \xe0\xa5\xe1\xe2\xa0\xa9\xab\x
a8\xad\xa3\xae\xa2\xae\xa9 \xac\xae\xa4\xa5\xab\xa8 Lanos'
help please
where the problem and how to decide it

sorry for my ENGLISH
Same here.

Code: Select all

    post_id = int(mybb_posts[row][structure['posts']['pid']])
ValueError: invalid literal for int() with base 10: '`pid`'
Too bad he doesn't support this anymore. :cry:

Re: MyBB 1.2.x ---> phpBB2.0.22 convertor

Posted: Mon Sep 08, 2008 7:13 pm
by einmalzwei
Can anyone upload the Script again? Alle Links in this topic are broken...