Hello,
If you are using Domain Access module, and are using rewrite all links to a single domain, and try to access a poll from a domain that is not the source domain of the poll node, vote form can not submit the result and form hangs.
With DA terminology, you have a poll on foo.example.com (source) that is also available on bar.example.com and bit.example.com; you can only vote if you are accessing the poll (or latest poll block) on foo.example.com but not on others.
As DA module does custom rewrites for url('node/'. $node->nid) type calls, and ranking.inc and binary.inc files have one for the #action, form actions are always rewritten to point the source domain of the poll node, and above problem occurs.
Then I hacked for a nasty solution that I changed this:
$form['#action'] = url('node/'. $node->nid);
to this:
$form['#action'] = '/node/'. $node->nid;
in both of the inc files to avoid a custom rewrite (and path aliasing :/ ).
Now forms are working properly in all domains.
This is neither semantic, nor Drupal way of doing something, but as DA and AP modules are both marvelous and widely used, I'm reporting my solution anyway as a temporary solution.
Tx.
Comments
Comment #1
gobinathmD6 is EOL hence this issue won't be fixed (or) attended. So closing it.