I'm working on upgrading a NukePHP site to a Druapl site. Starting with the small ones and working my way up to the larger ones as I gain some knowledge.
Searching the Drupal site, I've found the update/migrate scripts, and have downloaded the latest one from the authors site and spent a couple of days with it:
PHP-Nuke 6.0 -> Drupal 4.7 Migrator
February 24th, 2006
http://www.quillem.com/nuke2drupal
Drupal version 4.7
PHPNuke version 7.8
The site has latest phpNuke version it will work for as 7.1, and I'm on 7.8 right now. Have seen a few notes where it has worked up to 7.9
SQL Version 4.1
Tracking down the error to the mysql_query line below, I placed a "die" function so I could try to get more info, but it seems to leave me as confused as before. Verified that the database is able to connect so that's not the problem. I verified the database names, tables, permissions etc. I'm thinking I'm overlooking something simple.
SELECT COUNT(*) AS usernum FROM doc-ken_nbak.nuke_users You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-ken_nbak.nuke_users' at line 1
On the above statement, the "SELECT" statement appears okay, but the "use near" statement at the end seems to chop off the prefix "doc" Not sure if that is what is happening that's giving me my problem or if it's just from printing out the error. Echoing variables it seems to be alright.