Posted: Tue Jan 30, 2007 9:46 pm Post subject: Re: converting phpbb to phpnuke platinum
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?
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 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
Posted: Mon Feb 05, 2007 12:37 pm Post subject: same thing
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.
Posted: Mon Feb 05, 2007 12:50 pm Post subject: a little more info
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.
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
_________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
Looks correct to me, did you load up the Nuke tables and phpBB tables in that database? _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
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'
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...
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 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
Hmm well, you'd have to look up some basics on Regular Expressions. I don't know them well at all either. _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
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