SW:Rebellion NetworkHosted by the SW:Rebellion Network
Welcome to Evaders Squadron Coding [ESC]
Need help running your HTML, PHP, ASP website? - Evaders Squadron Coding - Webmaster Services
Home Forums Nuke Patched Core Coding Services Webmaster Services Personal
  Login/Create an Account    

Forums
· Forums FAQ
· Search
· Usergroups
· Profile
· Private Messages

Support Us
This site runs with your support. Please donate:

User Info/Login
Welcome, Anonymous
Nickname
Password
Security Code: Security Code
Type Security Code

(Register)
Membership:
Latest: audai
New Today: 1
New Yesterday: 0
Overall: 9109

People Online:
Visitors: 16
Members: 0
Total: 16

Link to Us

Affliates
RPG Boards Hosting

Evaders Squadron Coding [ESC] :: View topic - phpBB2phpNuke
phpBB2phpNuke
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services
View previous topic :: View next topic  
Author Message
GregD
Newbie
Newbie


Joined: Jan 30, 2007
Posts: 2

PostPosted: Tue Jan 30, 2007 9:46 pm    Post subject: Re: converting phpbb to phpnuke platinum Reply with quote

BigE wrote:
al my members got imported but not the forums this is the error I got running the script any help would be appreciated

Dumping previous phpNuke users data


Inserting phpBB users data into phpNuke


Updating phpNuke users user_level


Updating phpNuke users user_regdate


Dumping previous forums data


Reseting phpNuke bad banlist table structure (Not critical, don't worry if errors)
Error reseting phpNuke bad nuke_bbbanlist table structure - Can't DROP 'ban_time'. Check that column/key exists


Reseting phpNuke bad ranks table structure (Not critical, don't worry if errors)
Error reseting phpNuke bad nuke_bbranks table structure - Can't DROP 'rank_max'. Check that column/key exists


Inserting phpBB forums data into phpNuke
Error inserting data from phpbb_auth_access to nuke_bbauth_access - Column count doesn't match value count at row 1
Error inserting data from phpbb_forums to nuke_bbforums - Column count doesn't match value count at row 1
Error inserting data from phpbb_groups to nuke_bbgroups - Column count doesn't match value count at row 1
Error inserting data from phpbb_posts to nuke_bbposts - Column count doesn't match value count at row 1
Error inserting data from phpbb_privmsgs to nuke_bbprivmsgs - Column count doesn't match value count at row 1
Error inserting data from phpbb_topics to nuke_bbtopics - Column count doesn't match value count at row 1
Error inserting data from phpbb_vote_desc to nuke_bbvote_desc - Column count doesn't match value count at row 1


Reseting phpNuke default_style


Reseting phpNuke smilies path


Reseting phpNuke anonymous posts


Reseting gzip compress settings


Emptying phpNuke session data


DONE!


I have exactley the same problem too. The only mods i have are EasyMod and Attachment Mod. Is there a fix yet?
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Tue Jan 30, 2007 10:38 pm    Post subject: Reply with quote

Need to compare the following tables to make sure they match. If necessary, drop the phpBB fields for those mods

Quote:

phpbb_auth_access to nuke_bbauth_access
phpbb_forums to nuke_bbforums
phpbb_groups to nuke_bbgroups
phpbb_posts to nuke_bbposts
phpbb_privmsgs to nuke_bbprivmsgs
phpbb_topics to nuke_bbtopics
phpbb_vote_desc to nuke_bbvote_desc

_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Alan
Newbie
Newbie


Joined: Feb 05, 2007
Posts: 2

PostPosted: Mon Feb 05, 2007 12:37 pm    Post subject: same thing Reply with quote

I have the same issue as mads and gregd.

This is a new install of 7.9. I upgraded the forums through all the updates individually.

ie; upgrade17-18.php then upgrade18-19.php and so on up till version up to phpbb version 2.0.22

mysql version is 4.0.22-standard
php version is 4.4.4

I have a phpbb version 2.0.22 that I did a database backup of, I then did a restore to the phpnuke database - which ran successfully.

I then ran phpbb2phpnuke.php and get the following...

Dumping previous phpNuke users data


Inserting phpBB users data into phpNuke


Updating phpNuke users user_level


Updating phpNuke users user_regdate


Dumping previous forums data


Reseting phpNuke bad banlist table structure (Not critical, don't worry if errors)
Error reseting phpNuke bad nuke_bbbanlist table structure - Can't DROP 'ban_time'. Check that column/key exists


Reseting phpNuke bad ranks table structure (Not critical, don't worry if errors)
Error reseting phpNuke bad nuke_bbranks table structure - Can't DROP 'rank_max'. Check that column/key exists


Inserting phpBB forums data into phpNuke
Error inserting data from phpbb_auth_access to nuke_bbauth_access - Column count doesn't match value count at row 1
Error inserting data from phpbb_forums to nuke_bbforums - Column count doesn't match value count at row 1
Error inserting data from phpbb_posts to nuke_bbposts - Column count doesn't match value count at row 1
Error inserting data from phpbb_privmsgs to nuke_bbprivmsgs - Column count doesn't match value count at row 1
Error inserting data from phpbb_topics to nuke_bbtopics - Column count doesn't match value count at row 1


Reseting phpNuke default_style


Reseting phpNuke smilies path


Reseting phpNuke anonymous posts


Reseting gzip compress settings


Emptying phpNuke session data


I checked the tables as you stated and the phpbb tables have the restored (correct) information in them, the corrolating nuke files do not.

Thanks,
Alan
Back to top
View user's profile Send private message
Alan
Newbie
Newbie


Joined: Feb 05, 2007
Posts: 2

PostPosted: Mon Feb 05, 2007 12:50 pm    Post subject: a little more info Reply with quote

I re-read you comment about checking the fields of those tables and they were not the same. All the phpbb tables had and additional field of either attachment or download. I did at one time have the attachment mod in the original phpbb and suspect this is where the additional fields came from.

After droping those fields from the phpbb tables everything seemed to work fine.

Thanks for a great conversion tool!
Alan
Back to top
View user's profile Send private message
GregD
Newbie
Newbie


Joined: Jan 30, 2007
Posts: 2

PostPosted: Mon Feb 05, 2007 4:59 pm    Post subject: Reply with quote

Yes, i dropped the tables causing the issue and the data was migrated without an issue.

It seems the conversion hates mods!
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Mon Feb 05, 2007 5:29 pm    Post subject: Reply with quote

Glad you got it working

Really this script is designed to be simple and fast. It is not designed to be complicated.. as such
Code:

from the readme.txt

It is only designed for MySQL databases running original phpBB and phpNuke releases

Smile
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sixu
Newbie
Newbie


Joined: Feb 13, 2007
Posts: 1

PostPosted: Tue Feb 13, 2007 12:54 am    Post subject: Reply with quote

hey, I seem to be having a problem converting too..

I have phpbb 2.0.22, is this compatible?

each time i attempt to convert, i get the following:

Please check your phpNuke prefix settings in phpbb2phpnuke_config.php

Code:
/* Please modify this file with your database settings */

$dbhost = "localhost";
$dbuname = "sixuang_sixu";
$dbpass = "mypassword";
$dbname = "sixuang_forums";

$nuke_prefix = "nuke";
$user_prefix = "nuke";

$phpbb_prefix = "phpbb_";

?>


but, these are my settings.. Confused
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Tue Feb 13, 2007 3:24 pm    Post subject: Reply with quote

Looks correct to me, did you load up the Nuke tables and phpBB tables in that database?
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
talonj
Newbie
Newbie


Joined: Feb 20, 2007
Posts: 3

PostPosted: Tue Feb 20, 2007 12:17 am    Post subject: Reply with quote

I'm running a standalone phpBB 2.0.22 forum and just installed a PHP-Nuke 8.0 site also running phpBB 2.0.22. I exported all tables and data from phpbb and imported them into the Nuke database. I ran phpbb2phpnuke.php script and all went well, no errors. I then deleted all phpbb_ tables within my Nuke database. I completed the forum configuration. I tried to login and get the following error:
Code:
Error in obtaining userdata

DEBUG MODE

SQL Error : 1054 Unknown column 'user_login_tries' in 'field list'

SELECT user_id, username, user_password, user_active, user_level, user_login_tries, user_last_login_try FROM nuke_users WHERE username = 'TaLoN'

Line : 70
File : login.php

Any assistance would be greatly appreciated.
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Tue Feb 20, 2007 2:37 am    Post subject: Reply with quote

See: http://evaders.swrebellion.com/forums/postt55.html
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
talonj
Newbie
Newbie


Joined: Feb 20, 2007
Posts: 3

PostPosted: Tue Feb 20, 2007 11:00 pm    Post subject: Reply with quote

Thus far everything seems to be running smooth. Import went fine and conversion showed no errors. I do have a user that is active in forum that tries to login as [DIE]-Piano and receives a white screen with Illegal username...

Any ideas what to search for?
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Wed Feb 21, 2007 12:26 am    Post subject: Reply with quote

phpNuke does use some filters for usernames. There is some code in the Your_Account module that does this

Depending on your version / Patched level, this code may be different
Look in modules/Your_Account/index.php
Code:

if (isset($username) && (ereg("[^a-zA-Z0-9_-]",$username))) {


The characters here determine what are allowed
Code:

[^a-zA-Z0-9_-]


You would need to add the brackets [ ] .. I believe like this
Quote:

[^a-zA-Z0-9_-\[\]]

_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
talonj
Newbie
Newbie


Joined: Feb 20, 2007
Posts: 3

PostPosted: Wed Feb 21, 2007 7:32 pm    Post subject: Reply with quote

Evaders99,

Worked like a charm. Greatly appreciate the script and the assistance with making this transition seamless.

As far as the filters for usernames, is there some location that shows how to properly enter these characters into modules/Your_Account/index.php ??
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Wed Feb 21, 2007 8:09 pm    Post subject: Reply with quote

Hmm well, you'd have to look up some basics on Regular Expressions. I don't know them well at all either.
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
chrisbeau
Newbie
Newbie


Joined: May 08, 2007
Posts: 3

PostPosted: Tue May 08, 2007 6:37 pm    Post subject: Reply with quote

Ive been using phpbb 2.0.22 for the last couple of months, and just uploaded the 7.9 nuke version (done nothing else)

And then uploaded this converter, Ive entered the settings which I took from the phpbb config file

Quote:
$dbhost = '*****.*******.net';
$dbuname = my username;
$dbpass = 'my password;
$dbname = 'DB name';

$nuke_prefix = 'nuke';
$user_prefix = 'nuke';

$user_prefix = 'phpbb_';


but when I run the phpbb2phpnuke.php file I get this message:

Quote:
Cannot connect to phpNuke's bbconfig table. Please check your phpNuke prefix settings in phpbb2phpnuke_config.php


Ive checked my ssttings against my phpBB ones and they are correct, but still getting this
Any ideas ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 7 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

^Top
Home Your Account Forums Downloads F.A.Q. Submit News Hosting Contact Us

© 2005 - 2007 by Evaders99. All Rights Reserved.
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters.
You can syndicate our news using the file backend.php
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 5.33 Seconds