Hi!
I'm sure this must have been noticed by someone already, but I can't see any bug entry. Well, maybe it's just something about my server setup...
My problem is that when a visitor wants to leave a comment on one of my articles, he first needs to register. The registration link leads to the registration page and hands over the original page the user was on like this:
http://mydomain/user/register?destination=node/113%2523comment_form
When the user has registered and is supposed to be sent back to the page he was when he clicked the registration link, he is sent to
http://mydomain/node/113%2523comment_form
This causes a series of errors:
warning: Invalid argument supplied for foreach() in /var/www/www.nuclex.org/htdocs/drupal/modules/node.module on line 359
warning: implode() [function.implode]: Bad arguments. in /var/www/www.nuclex.org/htdocs/drupal/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 /var/www/www.nuclex.org/htdocs/drupal/includes/database.mysql.inc on line 120
Anyone had this before?
And what could the problem be? Is the user module maybe supposed to revert the url-encoding itself so the final URL is http://mydomain/node/113#comment_form?
-Markus-