hello and thanks-
running the latest cvs version of gmap.module 4.7x (gmap.module,v 1.49.2.1 2007/01/12)-
for drupal 4.7.5
also running mysl 4.0 flavor not 4.1
i carefully observed that the enabling of the gmap.module generates the following errors when you attempt to create content by visiting page, node/add
please note errors are generated simply upon visit to this page-
no content actually needs to be created- or is attempted
i have a backtrace if that would help
here are the errors, below...
any and all help would be appreciated...
does not seem to be a clash with other modules-
and if i toggle off gmap.module the errors go away.
and gmap.module works fine with all functionality, when enabled
just don't like these errors being generated- and i am concerned.
any and all help would be greatly appreciated.
THANKS!
###
location: node/add
error 1- Invalid argument supplied for foreach() in /home/httpd/vhosts/drupalcore.com/httpdocs/drupal475/modules/node.module on line 382.
error 2- implode(): Bad arguments. in /home/httpd/vhosts/drupalcore.com/httpdocs/drupal475/modules/node.module on line 386.
error 3- You have an error in your SQL syntax near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/httpd/vhosts/drupalcore.com/httpdocs/drupal475/includes/database.mysql.inc on line 121.
Comments
Comment #1
big67 commentedI have exactly the same errors with both the 4.7.x-1.x-dev and 4.7.x-2.x-dev.
These errors appear whenever I set "gmap" and "gmap location" as active modules.
Anyway they do not seem to prevent the module from working.
(The errors come out both with and without adding the "lid" field in the location table, please refer to my other issue for more information on this).
Comment #2
big67 commentedTo clarify the statement about the 'lid' field in table location:
I tried disintalling completely the Gmap module (dropping the location table from the DB), installing the location module and re-installing the Gmap module. This sets up correclty the location table.
The errors are still there.
The errors appear anytime the create content page is accessed.
Comment #3
Lisa Williams commentedYes, I get this too.
When I turn on gmap_location module, I get the following error:
* warning: Invalid argument supplied for foreach() in /var/www/html/modules/node.module on line 374.
* warning: implode(): Bad arguments. in /var/www/html/modules/node.module on line 378.
* user warning: 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 '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /var/www/html/includes/database.mysql.inc on line 121.
I'm running Drupal 4.7.6 and gmap_location.module 1.24.2.3
I get this error any time I enable gmap_location.module.
Comment #4
addweb1 commentedwarning: Invalid argument supplied for foreach() in C:\AppServ\www\dr52\modules\node\node.module on line 521.
warning: implode() [function.implode]: Bad arguments. in C:\AppServ\www\dr52\modules\node\node.module on line 525.
user warning: 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 '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM dr52_node n INNER JOIN dr52_users u ON u.uid = n.uid INNER JOIN dr52_node_revisions r ON r.vid = n.vid WHERE in C:\AppServ\www\dr52\includes\database.mysql.inc on line 172.
==============================================
This is what I get when trying to see my account details.
Can´t see or edit the gmap options of my account.
==============================================
Comment #5
bdragon commentedIf this is still broken I don't know how to fix it.