Hello,
I recently followed the directions on installing and integrating gallery2 and drupal form scratch. Everything was going well until I tried to activate the block. I get the following errors. Help is greatly appreciated. Thanks!
warning: in_array(): Wrong datatype for second argument in /usr/local/www/data-dist/modules/gallery.module on line 376.
Fatal error: 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 ')) AND g2_AccessMap.g_permission & 1 = 1' at line 8 query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'php', 'in_array(): Wrong datatype for second argument in /usr/local/www/data-dist/modules/gallery.module on line 376.', 2, '', '/?q=admin/settings/gallery', '205.170.140.174', 1130344394) in /usr/local/www/data-dist/includes/database.mysql.inc on line 70
Call Stack
# Function Location
1 {main}() /usr/local/www/data-dist/index.php:0
2 menu_execute_active_handler() /usr/local/www/data-dist/index.php:18
3 call_user_func_array () /usr/local/www/data-dist/includes/menu.inc:354
4 system_site_settings() /usr/local/www/data-dist/includes/menu.inc:354
5 theme() /usr/local/www/data-dist/modules/system.module:605
6 call_user_func_array () /usr/local/www/data-dist/includes/theme.inc:190
7 xtemplate_page() /usr/local/www/data-dist/includes/theme.inc:190