Hi,

I am facing a weird issues for the past few days that suddenly all the ajax requests in the site gets redirected to base URL including admin pages.

Ex issue, For auto-complete. Where the response is in json format and i returned true earlier. This got screwed up after the redirection issue starts. I fixed it by exiting in the function instead of returning true. So issue is fixed by some way for custom functionalities.

But i am using CK editor for few fields. Those fields also got screwed up now by showing homepage html instead of original which i fed (when editing back). I identified that there is a ajax redirection happening for CK editor pages also.

What should i do to fix this issue globally ?

Comments

pasug’s picture

This issue happened because of an unnoticed goto function in module init hook.

After removal everything works fine.