I just installed the category module. Everything went fine in installation, and I went ahead and activated most of the options. But when I go to the "Create Content" page, the following error appears:
* warning: Invalid argument supplied for foreach() in /home/.opie/andalman/nplusonemag.com/dev/drupal-5.1/modules/node/node.module on line 504.
* warning: implode() [function.implode]: Bad arguments. in /home/.opie/andalman/nplusonemag.com/dev/drupal-5.1/modules/node/node.module on line 508.
* 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 /home/.opie/andalman/nplusonemag.com/dev/drupal-5.1/includes/database.mysql.inc on line 172.
I'd greatly appreciate some help on this one.
Comments
Comment #1
JirkaRybka commentedThis is over 2 years old issue, and 5.x is not exactly supported now. Since the original poster didn't provide any more info how to reproduce, and since I never had any similar problems (running 5.x-1.1 on a live site all these 2 years), I believe this issue is just outdated stuff, and may be closed. (Also the quoted errors are from core node module, so who knows where the real problem was...)
Feel free to re-open, if needed.