Test is successfull.
But importing gives this error after submit:
The website encountered an unexpected error. Please try again later.
In the logs is the following message.
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /var/aegir/platforms/xgroups-7.14-1.0/sites/afrosai-e.org.za/modules/contrib/user_import/user_import.admin.inc on line 912 and defined in db_query() (line 2310 of /var/aegir/platforms/xgroups-7.14-1.0/includes/database/database.inc).
This seems to be the old way of using db_query.
This patch fixed the error for me.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | db_query_wrong_sql_syntax_2.patch | 662 bytes | jlab |
| db_query_wrong_sql_syntax.patch | 661 bytes | jlab |
Comments
Comment #1
jlab commentedThe above patch of mine had a syntax error of it's own here is the correct patch.
My appologies.
Comment #2
petednz commented@robert - thank you for doing the upgrade to d7
@personxx - thank you for hitting this error before I did and for supplying a patch
I tested the patch - and the import ran without the error
should i move the to Reviewed and Tested?
Comment #3
petednz commentedps there is a bit of whitespace noise at the bottom of the patch
Comment #4
warmth commentedIs this #1840246: profile_fields doesn't exist error related?
Comment #5
Marster commentedHello, i had the same problem and db_query_wrong_sql_syntax_2.patch solved the problem.
Please review and test it a second time.
@personxx: Thank you very much!
Best regards
Comment #6
robert castelo commentedThanks.
Fixed in 7.x-1.0-beta2