can anyone help with this?

things were working fine, then I installed another module (forget which one it was now that triggered this)
and now I get the following error message when creating any new content item:

* warning: Invalid argument supplied for foreach() in /home/videofit/public_html/modules/node.module on line 359.
* warning: implode() [function.implode]: Bad arguments. in /home/videofit/public_html/modules/node.module on line 363.
* 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 /home/videofit/public_html/includes/database.mysql.inc on line 120.

It seems I can still add content, but I'm guessing this could create long-term problems.
thanks!

Comments

mademarest’s picture

...when I hit 'submit':

* warning: Invalid argument supplied for foreach() in /home/videofit/public_html/modules/node.module on line 359.
* warning: implode() [function.implode]: Bad arguments. in /home/videofit/public_html/modules/node.module on line 363.
* 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 /home/videofit/public_html/includes/database.mysql.inc on line 120.
* warning: Invalid argument supplied for foreach() in /home/videofit/public_html/modules/node.module on line 359.
* warning: implode() [function.implode]: Bad arguments. in /home/videofit/public_html/modules/node.module on line 363.
* 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 /home/videofit/public_html/includes/database.mysql.inc on line 120.

(again, content goes in, but to a newbie, these errors are kinda scary)

vm’s picture

id suggest shutting off modules til you find the root of the evil. if a module caused this error, it could be that it wasnt the proper version, or that you need to re read the install.txt file that came with the module. it may be missing something important that it needs.

mademarest’s picture

tracked in the log and found that it was after loading the forms.module
and survey.module (which has no readme or install).

removed the modules and the tables but still getting errors.

did it write something in a file somewhere that I need to
go in and edit out, ya think?

thanks again