SCRIPT28: Out of stack space when using dataprocessor


I am getting an “out of stack space” error when I try to use the dataprocessor for the scheduler.
Is any one else experiencing this? It is happening in all browsers.
Any help would be appreciated.


This is the line causing the problem.
dhtmlxscheduler.js, line 67 character 133

This is my init. The error goes away when I set update mode to off, but of course it no longer updates either.

function init() {
scheduler.config.multi_day = true;
scheduler.config.prevent_cache = true;

scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.init('scheduler_here',new Date(2010,2,1),"month");

scheduler.locale.labels.section_type = "Type";
scheduler.config.lightbox.sections = [  
  {name:"description", height:200, map_to:"text", type:"textarea" , focus:true},
  {name:"type", height:21, map_to:"type", type:"select", 
  {name:"time", height:72, type:"time", map_to:"auto"}  

// schedule.preventIECaching(true);

var dp = new dataProcessor("/otms/SchedulerDataProcessorConnector");

// dp.setUpdateMode(“off”);

This is actually happening when initializing the dataprocessor “dp.init(scheduler);”

Looks like I can answer my own question. I was missing dhtmlxcommon.js and it seems the order the javascript files are defined matters. I now have the order connector.js, dhtmlxcommon.js, dhtmlxscheduler.js, etc…

Normally, if you are using scheduler only - you need to have only one file dhtmlxscheduler.js, it is already includes dhtmlxcommon.js and dhtmlxconnector.js