Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I just found the coder module as I was searching for ways to update my modules to 6.x and I'm impressed. I think every module maintainer should run all of their modules through this script. It took me 5 minutes to update my 5.x module to 6.x, and I fixed my coding standard along the way. Very cool.
I have an old phpnuke site with 2000+ members that im converting to drupal. I've created the drupal site and i'm just creating an auth module that checks the persons legacy site credentials against the old server and if successful copies their details across into the new users row in the db.
Everything actually works fine except that on the initial login I get the following error.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mike/DIRECTORY/drupal/modules/user/user.module on line 368.
* warning: implode() [function.implode]: Bad arguments. in /home/mike/DIRECTORY/drupal/modules/user/user.module on line 368.
* user warning: 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 ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home/mike/DIRECTORY/drupal/includes/database.mysql.inc on line 172.
and after refreshing the page, the user has no error and the account works as normal.
The code on the line suggests to me that there is something with the roles.
// To reduce the number of SQL queries, we cache the user's permissions
// in a static variable.
if (!isset($perm[$account->uid])) {
I want my ecommerce software package to get integrated with ebay api system so that i can post my product in any of the ebay category.Can anybody please help in getting this done.