Sql script errors?

chasz - October 31, 2008 - 14:43
Project:Ubercart
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\update.php on line 174.
* user warning: Can't DROP 'uc_roles_products_model'; check that column/key exists query: ALTER TABLE uc_roles_products DROP INDEX uc_roles_products_model in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\includes\database.mysql-common.inc on line 448.
* user warning: Duplicate key name 'model' query: ALTER TABLE uc_roles_products ADD INDEX model (model) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\includes\database.mysql-common.inc on line 434.
* warning: Missing argument 1 for og_notifications_menu() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\sites\all\modules\og\og_notifications\og_notifications.module on line 15.
* warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\content\update.php on line 339.

they may or may not create problems...

#1

Island Usurper - December 10, 2008 - 16:01
Status:active» won't fix

I think you're fine. That particular update is to fix some index names that were created in the Drupal 5 version. Here, MySQL is saying that it can't drop the index, but probably because it didn't exist in the first place.

That said, I don't know what Organic Groups is complaining about.

#2

cha0s - December 10, 2008 - 19:46

It looks like you might be trying to install the Drupal 5 version of og with Drupal 6 or something, since in 5 hook_menu took an arg, but in 6 it doesn't. I think that would account for the 'missing argument 1' error.

 
 

Drupal is a registered trademark of Dries Buytaert.