Hi austints,
Is there a way to change the working directory, or call my Ajax update page from the root directory, so that I can
solve this problem?
I don't have idea to change the working directory, but we can call your Ajax update page from the root directory, provided this ajax page belongs to same domain, in which the ajax calling page is present, for this, just call ajax page with absolute URL
eg. instead of
Code:
ajax.open("GET","/include/ajax/HandleAjax.php?K1=V1&K2=V2",true); use this code
Code:
ajax.open("GET","http://www.<UR_SUGAR_SITE>/include/ajax/HandleAjax.php?K1=V1&K2=V2",true); Hope this will solve your issue
Bookmarks