• With the release of WP 1.5, it appears that the import-greymatter.php file has been broken. I think this is a result of some changes to the function files and table names in version 1.5 of Word Press. I was able to get the file working again by making the following changes to the code in the import-greymatter.php file itself.

    If you make these changes, do so at your own risk, I do not claim to be a WP expert:

    Line Number 70

    Change this code (MySQL login variables):
    mysql_connect($server,$loginsql,$passsql)

    To this:
    mysql_connect(DB_HOST,DB_USER,DB_PASSWORD)

    Line Number 96

    Change this code (a database field name):
    dateYMDhour

    To This:
    user_registered

    Hopefully that will make the GreyMatter import script work again on WP 1.5 for everyone. It seemed to work on my install after those changes. Maybe one of the PHP experts here can confirm that these changes are the best solution.

Viewing 1 replies (of 1 total)
  • ninjadoll

    (@ninjadoll)

    Worked like a charm for me! I was not looking forward to manually making a database so…you r0X0r$ oodles, Boltor, thank you!!

Viewing 1 replies (of 1 total)
  • The topic ‘Code update for GreyMatter import script and WP 1.5’ is closed to new replies.