Hi,
When i create a flag link(node) in main site, it works fine. But in my sub domain, i try to add a same flag create link, it shows following error. "An AJAX http 401 error occurred"
Also when hover the link,the destination shows sub domain's home page instead on node id.
Help me to fix this?

Comments

Selva.M created an issue. See original summary.

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

The URL in the flag link is made the correct way, with the url() function:

  $variables['link_href'] = isset($link['href']) ? check_url(url($link['href'], $link)) : FALSE;

How do other calls to url() behave? There might be something wrong with your configuration.