Created a CCK node, click Preview button, then warning message displays as follows:

* warning: Invalid argument supplied for foreach() in /usr/local/apache/htdocs/sitename.com/dpa/modules/node.module on line 359.
* warning: implode(): Bad arguments. in /usr/local/apache/htdocs/sitename.com/dpa/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 /usr/local/apache/htdocs/sitename.com/dpa/includes/database.mysql.inc on line 120.

Note: Using latest version of Node module

Comments

Anonymous’s picture

im confirming this bug.

solutiondrop’s picture

Title: Warning message when Previewing CCK Node » Warning message when Viewing and Previewing CCK Node

I can confirm this as well. And, the same error happens when I submit or view the node.

The behaivor doesn't do the same thing on a clean 4.7.1 site with the only contributed module being CCK. I also applied this small patch (http://drupal.org/node/64905#comment-101368) on both the development site and the clean site. The development site is pretty far along with over 10 contrib modules being used and a lot of theming and phptemplate stuff.

If I find what the difference is between my development site and the clean install site I'll report it back here.

DS

killes@www.drop.org’s picture

Project: Drupal core » Content Construction Kit (CCK)
Version: x.y.z » 6.x-1.x-dev
Component: node system » General

moving

JonBob’s picture

Cannot reproduce with HEAD or 4.7. Will close if no confirmations are posted within the week.

coupet’s picture

I will try to recreate a new test platform similar to the one that displayed warning messages.
I have removed test platform that displayed the warnings

coupet’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

Unable to recreate warning messages with latest installation.

think, it could have been caused by a patch!?