My installation is on localhost.

Whenever i log in through ajax login/register block, i am redirected to a page that says
{ "status": true, "updaters": [ ], "debug": [ ], "messages_error": [ ], "messages_status": [ ], "messages_warning": [ ], "redirect": "http://localhost/drupal/user/1?150873099=1", "preview": null, "form_id": "user_login", "options": { "enabled": true } }

When i refresh this page, i am successfully redirected to my accounts page.

Similarly when i register through ajax login/register block, i am redirected to a page that says
{ "status": true, "updaters": [ ], "debug": [ ], "messages_error": [ ], "messages_status": [ { "id": 0, "value": "Your password and further instructions have been sent to your e-mail address." } ], "messages_warning": [ ], "redirect": null, "preview": null, "form_id": null, "options": { "enabled": true } }

Please can anyone help me with this issue.

Thanks

Comments

code_bear’s picture

I had this same problem before, turned out that I was calling the newest jQuery library from within the page.tpl.php file. Make sure a javascript library call isn't interfering with Drupal's internal jQuery. It causes unpredictable behavior all around.

dharmendra singh’s picture

This is third class module.. totally use less,,,, we add a lot of scripts and modules but redirection to /user page not stops..