SQL error

jupiterchild - July 18, 2008 - 11:08
Project:Node Browser
Version:5.x-2.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Drupal 5.8, MySQL 5.0.51.a, PHP 5.2.5

I am using node_link 5.x-1.1 and node_browser 5.x-2.3

I receive the following on screen error message when accessing a node_browser test page which includes 2 URLs created with node_link:

Node Link Test

    * Cycling (4/2)
          o Holidays (0/2)

Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (3, 'php', 'mysql_real_escape_string() expects parameter 1 to be string, array given in /home/****/****/cms/includes/database.mysql.inc on line 400.', 2, '', 'http://example.com/cms/node_link_test/Cycling/Holidays', 'http://example.com/cms/node_link_test', '*.*.*.*', 1216378245) in /home/****/****l/cms/includes/database.mysql.inc on line 172

#1

dortik - July 18, 2008 - 18:37

fixed sql error, please try attached module and let me know if it is ok on your side

AttachmentSize
node_browser.tgz13.15 KB

#2

jupiterchild - July 18, 2008 - 20:30

The attached module seems to have fixed the issue. Thanks for your help, much appreciated.

#3

dortik - July 18, 2008 - 21:04
Status:active» fixed

#4

Anonymous (not verified) - August 1, 2008 - 21:04
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.