I installed the image module and when I clicked "Image" under the content menu I got a message at the top of the page that I've condensed to:
warning: in_array(): Wrong datatype for second argument in node.module lines 1324-28.
If I proceed to upload an image, I get the following message on a blank page:
user error: Access denied for user: 'stlmbaa@localhost' to database 'stlbmbaa_org_-_drupal'
query: LOCK TABLES sequences WRITE in /home/virtual/site132/fst/var/www/html/drupal/includes/database.mysql.inc on line 66.
warning: Invalid argument supplied for foreach() in...image.module on line 315.
warning: Cannot modify header information - headers already sent by (output started at drupal/includes/common.inc:384) in /drupal/includes/common.inc on line 192.
The follow message will also appear in the page
File copy failed: no directory configured, or it could not be accessed.
I'm guessing that drupal does not like the file permissions for the image directory, but the directory is created when I enable the module. I am not able to change the permissions since the directory seems to be owned by drupal.
I'm using the most recent versions of drupal and image.module that I uploaded within the last 2 weeks. I'm running Drupal on a hosted service with Apache and MySQL and used WS_FTP to upload the files.
Does anyone have any idea how I can resolve this problem.