When using "phpBB2Drupal Settings -> Location of phpBB2 data" I found out that all tables mentioned there are always prefixed with "drupal_" (or whatever is used as a table prefix for Drupal).
My settings (but I think they does not matter):
phpbb is on the same database as drupal - no
phpBB2 database location - xxx something ;)
phpBB2 table prefix - phpbb_
I have made myself a little var_dump() in includes/database.mysqli.inc:110
echo '
'; var_dump($query); echo '
';
With result:
string(42) "SHOW TABLES LIKE 'drupal_phpbb_categories'"
string(38) "SHOW TABLES LIKE 'drupal_phpbb_forums'"
string(37) "SHOW TABLES LIKE 'drupal_phpbb_posts'"
string(42) "SHOW TABLES LIKE 'drupal_phpbb_posts_text'"
string(38) "SHOW TABLES LIKE 'drupal_phpbb_topics'"
string(37) "SHOW TABLES LIKE 'drupal_phpbb_users'"
My drupal database layout is prefixed with "drupal_".
Comments
Comment #1
naheemsays commentedI will have a look into this later on today, but if you beat me to it, can you try the same database by unchecking the same database option box and putting in/comparing the database details?
Comment #2
naheemsays commentedThe problem is that I have changed the table checking to use the drupal internal
db_table_existsfunction... which adds the default drupal prefix to the table checks and in your case that is "drupal_". (this only happened in checking for tables and not in actual drupal import - but safeguards would not let you get that far anyway...)I thought I was being clever by replacing the table check code with an internal drupal function.
Should be fixed in the next nightly.
http://drupal.org/cvs?commit=101726
Comment #3
patryk commentedYes, that works, thanks. Now I have other errors to fix ;)
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.