I've developed an application that uses the CFajaxproxy tag to set up proxies to CFCs. Everything works as intended on my local machine, the proxy initiates the function, executes it and returns a value that is then handled by the setCallBackHandler function.
However, on the 'live' server, something doesn't work...
The function is executed through the proxy and it actually returns a value (I can see the value being returned in the CFDEBUG window)... but for some reason the callbackhandler doesn't execute at all and thus, the page isn't refreshed and no new data is being displayed.
I know that the proxy/cfc is working because the database is actually being updated as well as session variables and, as mentioned, the CFDEBUG window clearly shows a value is being returned.
The other strange thing is that the 'setErrorHandler' function works fine... i.o.w., when the CFC throws an error, it comes back with an error.
I have tested the setCallbackHandler by adding a simple 'alert' method inside the function and it just doesn't execute.
There are no errors being reported in the FF error console but in the Chrome debugger, I do get the following error:
'throw new SyntaxError("parseJSON")' in the file 'CFIDE/scripts/ajax/package/cfajax.js'
I also get an 'uncaught exception' error in IE but the debugger shows me nothing.
The only other thing I could think of was the mappings to the root of the server are different than they are locally but if the errorHandler works, why wouldn't the setCallbackHandler work??
I am at a complete loss!