IMCE was working fine until this error occurred. It appears in the thumbnail area of both the Personal Files tab and the TinyMCE image box. I usually expect errors like this to derive from permissions errors somewhere but I really can't find anything wrong here. This is happening for user #1 and it doesn't matter which directory I set IMCE to use i get this.

warning: Invalid argument supplied for foreach() in /var/www/html/epsrc/modules/node/node.module on line 561.
warning: implode() [function.implode]: Invalid arguments passed in /var/www/html/epsrc/modules/node/node.module on line 565.
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 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/epsrc/includes/database.mysql.inc on line 174.
warning: Invalid argument supplied for foreach() in /var/www/html/epsrc/modules/node/node.module on line 561.
warning: implode() [function.implode]: Invalid arguments passed in /var/www/html/epsrc/modules/node/node.module on line 565.
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 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/epsrc/includes/database.mysql.inc on line 174.

The only thing I can think that's happened since i installed IMCE was that I upgraded the core to 5.15.

If anyone can spot something obvious about this error and give me a shout I'd be very appreciative. I'd also like to echo an earlier issue and ask if there's any way to remove the Personal Files tab from User profiles bar suppressing the tab. It really isn't needed on my site.

Comments

ufku’s picture

Status: Active » Closed (won't fix)