I have a button on a list page that when clicked calls a stored procedure and then opens a custom pdf report. The button works perfectly on the test site. However, after moving everything over to the production site the button no longer works and I get this error in the web developers tools. "Uncaught SyntaxError: Unexpected token < in JSON at position 3 at JSON.parse(<anonymous>) at Object.success(RunnerAll.js:367)"... etc
RunnerAll.js:367 highlighted in bold.
if(!isManyKeys&&rowData.keys.length){keyObject=rowData.keys;location='grid';}
**reqParams={params:JSON.stringify(params),keys:JSON.stringify(keyObject),isManyKeys:isManyKeys,location:location||""};$.post(Runner.getPageUrl("buttonhandler"),reqParams,function(result){pageObj.buttonEventAfter[ctrl.btnName](JSON.parse(result),ctrl,pageObj,proxy,pageid,rowData,row);ctrl.setEnabled();});e.preventDefault();e.stopPropagation();}});Runner.AjaxRow=function(inlineRow){this.row=inlineRow;if(!inlineRow){this.row={id:1,gridLayout:""};}}**
Runner.AjaxRow.prototype={fieldCell:function(fName){var $span=Runner.getFieldSpan(fName,this.row.id);if(this.row.gridLayout===Runner.pages.constants.VERTICAL_LAYOUT){return $span.closest("div");}
Any ideas on where I should look?
Thanks,
Bob