Hello! Thank you for your module! After creating/saving a node, attached files are apperaing in custom path, but I get this error:

warning: Invalid argument supplied for foreach() in xxx/modules/node/node.module on line 561.

warning: implode() [function.implode]: Invalid arguments passed in xxx/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 xxx/includes/database.mysql.inc on line 174.

I tried to find a solution by searching at drupal.org in order to solve this problem, but I found out only that it can be caused by token module. Kindly asking to give me some advice to fix it.

Comments

olegnaumov’s picture

Any ideas, please?

davidwhthomas’s picture

Status: Active » Closed (won't fix)

Sorry, as you mentioned, it's not an issue with the uploadpath module. I can see how to address that from this end.
Good luck anyway,

DT