Converting from PunBB 1.3.6

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
Ideas Centre
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Converting from PunBB 1.3.6

Post by Bellic1 »

I am currently using PunBB 1.3.6 and I would very much like to convert to phpBB3.

I've done a lot of reading on this subject, and I've found it's possible to convert from PunBB 1.2.x to phpBB2, and go to phpBB3 from there. However, I can't find a way to 'downgrade' to PunBB 1.2.x, and I can't find any converters for my PunBB version.

Does anyone know a way for me to convert to phpBB?

Thanks!
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: Converting from PunBB 1.3.6

Post by D¡cky »

Try the convertor for punBB 1.2.x. The convertor does not make any changes to the punBB board, so no harm will come to the punBB board if something does go wrong. If you do get an error, post it here and I will help to solve it.
Have you hugged someone today?
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Re: Converting from PunBB 1.3.6

Post by Bellic1 »

Ok, I'm using the 1.2.x converter, and I can't get any further than step 2. Here's my error message:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files (x86)\EasyPHP-5.3.9\www\phpbb2x\db\mysql4.php on line 118

edit: I changed the max_execution_time to 0 in all the php.ini files I could find , and that seems to have solved my problem. :)
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Re: Converting from PunBB 1.3.6

Post by Bellic1 »

Okay then, seems like the conversion was successful! :) When I did the phpBB2->phpBB3 conversion, I got some error messages in red about some posts, but I clicked the 'Continue' button and everything seems fine now... I wonder what that was about.

The only problem I had was not being able to sign in. I heard this is common because of different password encryption or something. I was able to sign in by resetting my password, however: will all my users have to go through this or is there another way? My old forum did not require e-mail activation so I know a lot of users registered with fake e-mails. Do they have to register again with a real e-mail or is there a way to make signing in possible with old passwords?
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: Converting from PunBB 1.3.6

Post by D¡cky »

Use this auth_db.php file, http://www.phpbb.com/community/download ... ?id=139659

Unzip and upload to the includes/auth/ folder overwriting the existing auth_db.php file.
Have you hugged someone today?
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Re: Converting from PunBB 1.3.6

Post by Bellic1 »

Thank you Dicky, but it's still not working, users get error messages saying it is impossible to convert their password.
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: Converting from PunBB 1.3.6

Post by D¡cky »

It looks like punBB is now using a password salt. Let me see if I can get those transferred over to phpBB3. In the meantime, check to see if your members have the same user_id on phpBB3 as they had on pubBB. The only one that may be different is if you had a user_id of 1 on punBB.
Have you hugged someone today?
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Re: Converting from PunBB 1.3.6

Post by Bellic1 »

I'm not sure what you mean, but it seems like the user id numbers are the same as on punBB. The only difference I could find was that on PunBB guests have user id 1 , while on phpBB they have -1.
AhmedYJJ
Registered User
Posts: 1
Joined: Fri Apr 06, 2012 2:49 pm

Re: Converting from PunBB 1.3.6

Post by AhmedYJJ »

Following thread starter plan I too planed to convert from punbb (actualy fluxbb) to phpbb 2.x and then to phpbb3.
(Using this convertor: http://www.phpbb.com/community/viewtopi ... 0&t=298342 )

But as forum use Latvian language alphabet ('which includes ā š ļ ī ū ē č ž š ņ ķ etc) I got letter converting problem. All those "ā ļ ē etc" have been converted to "?".
My database is in utf-8.
How to overcome this problem?



I truly need solution at last. I already 5 days spending time only on migration problems. I tried myBB (500 error), smf (different default definitions errors but could not fix salt passwords error), converted to fluxBB (everything works but do not like that fluxBB is missing standard options like subforums and installing them ir hard and they are with bugs). Tried also Fudforum, but stopped on other problems.
I searched out internet but it is realy problem to migrate from punBB to somewhere except fluxBB.
Bellic1
Registered User
Posts: 40
Joined: Fri Mar 30, 2012 1:20 am

Re: Converting from PunBB 1.3.6

Post by Bellic1 »

Can anyone help me with the login problem? It kinda sucks that so many users are not able to log in anymore, and since not everyone are that tech savvy, some of them have just left.

Also, the search option does not work at all anymore.

Please help!
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: Converting from PunBB 1.3.6

Post by D¡cky »

The attached move_salt.php file will populate the phpBB database with the PunBB salt field. This script will work only if the PunBB tables and phpBB tables are in the same database or at least on the same server with the same user name and password.

Unzip and open the file with your text editor and fill in the three $punbb_* fields at the top of the file.
Upload the attached move_salt.php file to your phpBB root directory and run it.

Unzip and upload the attached auth_db.php to the phpBB includes/auth directory.
You and your users should now be able to log in.
You do not have the required permissions to view the files attached to this post.
Have you hugged someone today?
bertie343
Registered User
Posts: 16
Joined: Tue Jul 10, 2012 3:25 pm

Re: Converting from PunBB 1.3.6

Post by bertie343 »

The only issue I had with the move_salt was that the script created a field of CHAR size 12 where as the punBB salt was VARCHAR size 200. I modified the script so that the same type and size field was created in the phpBB DB so that I would not receive the SQL error I was getting. Would you like me to post the modified move_salt file Dicky?
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: Converting from PunBB 1.3.6

Post by D¡cky »

bertie343 wrote:Would you like me to post the modified move_salt file Dicky?
Sure, you can do that.
Have you hugged someone today?
bertie343
Registered User
Posts: 16
Joined: Tue Jul 10, 2012 3:25 pm

Re: Converting from PunBB 1.3.6

Post by bertie343 »

See attached.
You do not have the required permissions to view the files attached to this post.
Basher52
Registered User
Posts: 5
Joined: Wed Oct 31, 2012 7:37 pm

Re: Converting from PunBB 1.3.6

Post by Basher52 »

Hi y'all, my first post :) weeee

(since it related to the same subject, I'll just continue here and not just create yet another upgrade post :P)


I'm gonna try this convert script myself soon, but I'm on 1.3.4.

The script is made for PunBB 1.2.x and there are database changes up to 1.3.x (and maybe even within 1.3).

I'll try this convert and also check the script(also scripts in PunBB1.3.4 -> 1.3.6) to see if I can find anything
that might not get copied over.
I'll take a while though 'cos I'm busy a lot but I will be back.

//B52


PS. I'm thinking of moving over to phpBB since it seems that PunBB has stopped being updated :(
but I can't be sure of that yet. Also we're having big user problems when upgrading to 1.4.x,
thus rendering all users with ID <= 254 not able to see all posts.

Return to “[3.0.x] Convertors”