When I enable the module in Drupal 6.2 I receive the following error:
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in ~/includes/database.mysqli.inc on line 323.

This is when enabling just the main ulink skeleton module. Any ideas what's wrong?

Comments

drupaloSa’s picture

Category: support » bug
Priority: Normal » Critical

There are some other modules which also give this error. I guess something has changed in API and this needs to be reflected in each module which utilizes that part of API. I change the priority to Critical as the module doesn't work at all.

Roi Danton’s picture

I'll get this error, too, after activating ulink. Though ulink works e.g. Administration Menu doesn't work anymore after enabling ulink so I can't use ulink.

Maybe this helps ('CCK changed it's hook name from "process form values" to "presave"'): http://drupal.org/node/268891#comment-901275

garthee’s picture

I am unable to reproduce the error.
Please uninstall ULINK6 completely and check that you are not receiving the error.
Then again install the modules and check whether you are receiving the error.

If so, kindly post the steps you followed and installed modules, so that I will try to have a look into that.

Roi Danton’s picture

Deactivating helps. As long as uLink is enabled i receive this error.

Core: 6.5
Modules (all newest official versions): CCK, Devel, Token, Views, Automatic Nodetitles, Administration Menu, Date, Diff, ImageAPI, ImageCache, Pathauto

zmove’s picture

Same here,

# warning: mysqli_real_escape_string() expects parameter 2 to be string, array given drupal6\includes\database.mysqli.inc on line 323.
# warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in drupal6\includes\database.mysqli.inc on line 323.
# warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in drupal6\includes\database.mysqli.inc on line 323.

And it break administration menu...