I moved a phpFox site to a different server and the shoutbox stopped working. According to the Chrome debugger:
Uncaught ReferenceError: xajax_addShoutOut is not defined
(anonymous function)community:451
onsubmit
I noticed that a few lines were missing from the new site's <head>
, but I have no idea where they go.
var xajaxRequestUri="http://domain.com/community/public/";
var xajaxDebug=false;
var xajaxStatusMessages=false;
var xajaxWaitCursor=false;
var xajaxDefinedGet=0;
var xajaxDefinedPost=1;
var xajaxLoaded=false;
function xajax_latestVideos(){return xajax.call("latestVideos", arguments, 1);}
function xajax_getShoutboxMessages(){return xajax.call("getShoutboxMessages", arguments, 1);}
function xajax_addShoutOut(){return xajax.call("addShoutOut", arguments, 1);}
Any ideas?