I am using subdomain for a content type (create custom content type) and create a subdomain (via subdomain module). The fivestar module display well but it could not save voting from this subdomain (just url alias, not multisite feature).

main url: http://mydomain.com
subdomain url: http://sub.mydomain.com <= fivestar could not save voting from the node have this url.

Comments

Petrica’s picture

I am searching for a solution, too.

Bolzamo’s picture

Assigned: Unassigned » Bolzamo
Issue tags: +subdomain, +Ajax

The problem in Ajax cross-domain request.
Maybe this can help: http://www.leveltendesign.com/solution/error-access-restricted-uri-denie...

quicksketch’s picture

Status: Active » Postponed

Right, this isn't specifically a "bug report", it's a browser "security feature". :-)

I'm marking this postponed, because it would require Fivestar to completely change its returned data, which currently is XML, to use JSON instead. I wonder why subdomain module can't just submit the vote requests to the same domain?

Petrica’s picture

At the beginning of .htaccess I added the following line:
RewriteRule ^fivestar/vote/(.*)$ index.php?q=fivestar/vote/$1 [L]

It works for me.

PS. This is for drupal v5.

steppenwolf’s picture

I am searching for a solution, too.

whiteph’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

We can no longer support the Drupal 6 version of Fivestar. It is in security maintenance mode only. When the Drupal 8 version of Fivestar is released, the Drupal 6 version will be officially deprecated.

whiteph’s picture