To run a few maintenance on a 6.20 site, I cloned both files and database to my local machine, and Drush is giving me this error below. I even downloaded 6.20 core just to make sure my files are OK. I think something is wrong with the database but I am not much of a developer to understand what is going on. My live site is slow, and was wondering if it is related.
Any help would be appreciated.
===== WD php: array_fill(): Number of elements must be positive in /MY-SITE/includes/database.inc on line 253. [error] WD php: implode(): Bad arguments. in /MY-SITE/includes/database.inc on line 253. [error] WD php: array_keys(): The first argument should be an array in /MY-SITE/modules/user/user.module on line 515. [error] WD php: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use [error] near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /MY-SITE/modules/user/user.module on line 515. Could not login with user ID #<em>0</em>. [error] array_fill(): Number of elements must be positive in /MY-SITE/includes/database.inc on line 253. [warning] implode(): Bad arguments. in /MY-SITE/includes/database.inc on line 253. [warning] array_keys(): The first argument should be an array in /MY-SITE/modules/user/user.module on line 515. [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 [error] ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /MY-SITE/modules/user/user.module on line 515. =====
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com