1 (edited by Uziel 2005-10-26 16:00)

Topic: Converting PHPBB to PunBB. Need help =(

I am trying to convert from phpbb to punbb.
My phpbb forums are install at www/forums with the database phpbb

I uploaded all of the files in the punbb zip to www/test and then put the converts folder into the test.
I have yet to run the installer for punbb because I'm confused on one thing.

Do I need to make another DB for punbb or do I run the install for punbb and tell it the name of the phpbb database THEN run the converter? Or do I first have to make a seperate punbb database, install it as a blank forum, and THEN run the converter?

Re: Converting PHPBB to PunBB. Need help =(

My guess would be a fresh database for PunBB...

Because I am pretty sure that the convertor cannot convert a DB then delete any unwanted or unused fields. I maybe wrong...

Secondly... Would it not just be easier anyway... especially if you have problems with the conversion or something you need from old DB.

3 (edited by Uziel 2005-10-26 16:15)

Re: Converting PHPBB to PunBB. Need help =(

Thanks, I'm up and running now. smile

I am having an issue though.

I am trying to move users into a private group.

When I look at their profile, click Administration, then choose the group, and hit save, I get:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I tried every other group and I cannot change any member's group status whatsoever.

I tried changing file and folder permissions to 777 just to test and it makes no difference. Also tried different browsers.

The path before getting the error is:
profile.php?section=admin&id=17

Upon clicking save I get:
profile.php?section=admin&id=17&action=foo

Re: Converting PHPBB to PunBB. Need help =(

Not 100% sure on that one.

But it does work... On my test forum with PHPBB conversion.
Produced a 'Test' group... then through a persons profile added them fine.

I rcv both the php links that you do... after the last one it goes back to page straight away and is updateded.

*** Maybe someone else can help you with this error... over my head.... ***

BUT... if you need an alternative.... (This wont benefit if you gain users reguarly and change groups for people often)
You can change it in your mysql database by changing the corresponding user on the 'Group ID' field in the 'Users' group.

To find out the corresponding number for your new group. Check out the 'Group ID' group.
Standard is 1=Admin, 2=Mod, 3=Guest, 4=Members
Any new ones created will start from 5... <-- This is probably the one you have just created.

5

Re: Converting PHPBB to PunBB. Need help =(

Hm, I have about 100 users to move around and new people join all the time. I think it would be very tedious.
Thanks for the idea though.
I wish I had a better way to give detail on the errors, however my host has disabled error logs.

6

Re: Converting PHPBB to PunBB. Need help =(

Does anyone else have any idea or things I could try? I also deleted the forums cache, same error.

7

Re: Converting PHPBB to PunBB. Need help =(

Just in case anyone was interested this is the response I got from my host.


Hi,



mod_security (www.modsecurity.org) was blocking that. Our rules show it is a
flaw in punbb version 1.2.2 and below. I\'ve removed the rule but make sure you
are running a version newer than 1.2.2


I was running the latest version of punbb and now it works due to the change in mod_security

Re: Converting PHPBB to PunBB. Need help =(

Uziel wrote:

Our rules show it is a flaw in punbb version 1.2.2 and below.

Pardon me?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Converting PHPBB to PunBB. Need help =(

Well, I found the rule (or a ruleset containing it)
http://www.gotroot.com/downloads/ftp/mo … rules.conf

#PunBB version <= 1.2.2 auth bypass exploit
SecFilterSelective REQUEST_URI "profile\.php\?section=admin\&id=.*\&action=foo"

I can't find any "auth bypass" that existed that would be prevented by that line.