Hi,
I just installed DHTMLX scheduler in Joomla 1.7.0 and I get this error message when trying to save the config from the admin menu:
Warning: implode() [function.implode]: Invalid arguments passed in <…website directory…>/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 1091
There was error during configuration saving. Last stable configuration restored.
Error report saved to “com_scheduler_log.xml”
The XML file doesn’t reveal much either to me, here it is:
<log time="2012-04-18 22:28:32" usertype="">
<config><active_tab>a1</active_tab><settings><settings_width>680px</settings_width><settings_height>600px</settings_height><settings_eventnumber>5</settings_eventnumber><settings_link></settings_link><settings_posts>false</settings_posts><settings_repeat>true</settings_repeat><settings_firstday>false</settings_firstday><settings_multiday>true</settings_multiday><settings_fullday>false</settings_fullday><settings_marknow>false</settings_marknow><settings_singleclick>false</settings_singleclick><settings_day>true</settings_day><settings_week>true</settings_week><settings_month>true</settings_month><settings_agenda>false</settings_agenda><settings_week_agenda>false</settings_week_agenda><settings_year>false</settings_year><settings_map>false</settings_map><settings_defaultmode>week</settings_defaultmode><settings_debug>false</settings_debug><settings_collision>false</settings_collision><settings_expand>true</settings_expand><settings_pdf>true</settings_pdf><settings_ical>true</settings_ical><settings_minical>false</settings_minical></settings><access><group id="-1"><view>true</view><add>false</add><edit>false</edit></group><group id="1"><view>true</view><add>false</add><edit>false</edit></group><group id="6"><view>true</view><add>false</add><edit>false</edit></group><group id="7"><view>true</view><add>false</add><edit>false</edit></group><group id="2"><view>true</view><add>false</add><edit>false</edit></group><group id="3"><view>true</view><add>false</add><edit>false</edit></group><group id="4"><view>true</view><add>false</add><edit>false</edit></group><group id="5"><view>true</view><add>false</add><edit>false</edit></group><group id="10"><view>true</view><add>false</add><edit>false</edit></group><group id="12"><view>true</view><add>false</add><edit>false</edit></group><group id="13"><view>true</view><add>false</add><edit>false</edit></group><group id="14"><view>true</view><add>false</add><edit>false</edit></group><group id="15"><view>true</view><add>false</add><edit>false</edit></group><group id="16"><view>true</view><add>false</add><edit>false</edit></group><group id="8"><view>true</view><add>true</add><edit>true</edit></group><privatemode>off</privatemode></access><templates><templates_defaultdate><![CDATA[%d %M %Y]]></templates_defaultdate><templates_monthdate><![CDATA[%F %Y]]></templates_monthdate><templates_weekdate><![CDATA[%l]]></templates_weekdate><templates_daydate><![CDATA[%d/%m/%Y]]></templates_daydate><templates_hourdate><![CDATA[%H:%i]]></templates_hourdate><templates_monthday><![CDATA[%d]]></templates_monthday><templates_minmin><![CDATA[5]]></templates_minmin><templates_hourheight><![CDATA[42]]></templates_hourheight><templates_starthour><![CDATA[0]]></templates_starthour><templates_endhour><![CDATA[24]]></templates_endhour><templates_agendatime><![CDATA[30]]></templates_agendatime><templates_eventtext><![CDATA[return event.text;]]></templates_eventtext><templates_eventheader><![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]></templates_eventheader><templates_eventbartext><![CDATA[return "<span title='"+event.text+"'>" + event.text + "</span>";]]></templates_eventbartext><templates_username>false</templates_username></templates><customfields><customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="150" /></customfields><google><google_email></google_email><google_cal></google_cal></google><skins><use>false</use><bg>#c2d5fc</bg><event>#ffe763</event></skins></config>'
</log>
Any help would be very much appreciated, because I can’t get the config saved if I make alterations…
Thanks!
radyno
April 20, 2012, 2:09pm
#2
Hi,
please, provide result of sql-request:
SELECT value from jos_scheduler_options WHERE name = ‘scheduler_xml’;
Don’t forget to replace jos_ with your joomla-prefix.
Here is the result;
<esc;config>esc;<esc;active_tab>esc;a1<esc;/active_tab>esc;<esc;settings>esc;<esc;settings_width>esc;680px<esc;/settings_width>esc;<esc;settings_height>esc;600px<esc;/settings_height>esc;<esc;settings_eventnumber>esc;5<esc;/settings_eventnumber>esc;<esc;settings_link>esc;<esc;/settings_link>esc;<esc;settings_posts>esc;false<esc;/settings_posts>esc;<esc;settings_repeat>esc;true<esc;/settings_repeat>esc;<esc;settings_firstday>esc;false<esc;/settings_firstday>esc;<esc;settings_multiday>esc;true<esc;/settings_multiday>esc;<esc;settings_fullday>esc;false<esc;/settings_fullday>esc;<esc;settings_marknow>esc;false<esc;/settings_marknow>esc;<esc;settings_singleclick>esc;false<esc;/settings_singleclick>esc;<esc;settings_day>esc;true<esc;/settings_day>esc;<esc;settings_week>esc;true<esc;/settings_week>esc;<esc;settings_month>esc;true<esc;/settings_month>esc;<esc;settings_agenda>esc;false<esc;/settings_agenda>esc;<esc;settings_week_agenda>esc;false<esc;/settings_week_agenda>esc;<esc;settings_year>esc;false<esc;/settings_year>esc;<esc;settings_map>esc;false<esc;/settings_map>esc;<esc;settings_defaultmode>esc;week<esc;/settings_defaultmode>esc;<esc;settings_debug>esc;false<esc;/settings_debug>esc;<esc;settings_collision>esc;false<esc;/settings_collision>esc;<esc;settings_expand>esc;true<esc;/settings_expand>esc;<esc;settings_pdf>esc;true<esc;/settings_pdf>esc;<esc;settings_ical>esc;true<esc;/settings_ical>esc;<esc;settings_minical>esc;false<esc;/settings_minical>esc;<esc;/settings>esc;<esc;access>esc;<esc;group id="-1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="6">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="7">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="2">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="3">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="4">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="5">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="10">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="12">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="13">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="14">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="15">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="16">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="8">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;true<esc;/add>esc;<esc;edit>esc;true<esc;/edit>esc;<esc;/group>esc;<esc;privatemode>esc;off<esc;/privatemode>esc;<esc;/access>esc;<esc;templates>esc;<esc;templates_defaultdate>esc;<esc;![CDATA[%d %M %Y]]>esc;<esc;/templates_defaultdate>esc;<esc;templates_monthdate>esc;<esc;![CDATA[%F %Y]]>esc;<esc;/templates_monthdate>esc;<esc;templates_weekdate>esc;<esc;![CDATA[%l]]>esc;<esc;/templates_weekdate>esc;<esc;templates_daydate>esc;<esc;![CDATA[%d/%m/%Y]]>esc;<esc;/templates_daydate>esc;<esc;templates_hourdate>esc;<esc;![CDATA[%H:%i]]>esc;<esc;/templates_hourdate>esc;<esc;templates_monthday>esc;<esc;![CDATA[%d]]>esc;<esc;/templates_monthday>esc;<esc;templates_minmin>esc;<esc;![CDATA[5]]>esc;<esc;/templates_minmin>esc;<esc;templates_hourheight>esc;<esc;![CDATA[42]]>esc;<esc;/templates_hourheight>esc;<esc;templates_starthour>esc;<esc;![CDATA[0]]>esc;<esc;/templates_starthour>esc;<esc;templates_endhour>esc;<esc;![CDATA[24]]>esc;<esc;/templates_endhour>esc;<esc;templates_agendatime>esc;<esc;![CDATA[30]]>esc;<esc;/templates_agendatime>esc;<esc;templates_eventtext>esc;<esc;![CDATA[return event.text;]]>esc;<esc;/templates_eventtext>esc;<esc;templates_eventheader>esc;<esc;![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]>esc;<esc;/templates_eventheader>esc;<esc;templates_eventbartext>esc;<esc;![CDATA[return "<esc;span title=+event.text+>esc;" + event.text + "<esc;/span>esc;";]]>esc;<esc;/templates_eventbartext>esc;<esc;templates_username>esc;false<esc;/templates_username>esc;<esc;/templates>esc;<esc;customfields>esc;<esc;customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="150" />esc;<esc;/customfields>esc;<esc;google>esc;<esc;google_email>esc;<esc;/google_email>esc;<esc;google_cal>esc;<esc;/google_cal>esc;<esc;/google>esc;<esc;skins>esc;<esc;use>esc;false<esc;/use>esc;<esc;bg>esc;#c2d5fc<esc;/bg>esc;<esc;event>esc;#ffe763<esc;/event>esc;<esc;/skins>esc;<esc;/config>esc;
radyno
April 21, 2012, 1:15pm
#4
Please, open file /components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php and modify it like here:
...
$xml = str_replace('<esc;', '<', mysql_result($res, 0, $this->fieldValue));
$xml = str_replace('>esc;', '>', $xml);
$xml = str_replace('′', "'", $xml);
$xml = str_replace('"', '"', $xml);
...
Thank you, that helped a bit. Normal saving works fine now, although I still get the error when I try to add a custom field as type ‘option’. When adding fields to this custom option field, I am not able to save the configuration, again with the same error, only the ‘implode error’ is now on line 1095.
Thanks for your support so far, really appreciate it.
i was getting same exact error as described above. I patched it as you say but I still can’t save. Getting this error now:
Warning: mysql_result() expects parameter 1 to be resource, null given in /home/thestandish/www/www/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 1081
Warning: implode() [function.implode]: Invalid arguments passed in /home/thestandish/www/www/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 1093
There was error during configuration saving. Last stable configuration restored.
Error report saved to “com_scheduler_log.xml”
On a linux joomla install. 2.3 worked great. Thanks in advance.
Just tried on Firefox browser and worked fine. Got the error on Google Chrome.
And for more info, I am using a macbook pro with Safari…
And tried Firefox, same problem. When adding a custom Options field with options, I am not able to save.
Warning: implode() [function.implode]: Invalid arguments passed in /Users/martin/Sites/www.myflights.nl/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 1094
radyno
April 25, 2012, 9:21am
#10
Martin, please, try to create custom field and execute sql-request like earlier.
radyno
April 25, 2012, 9:28am
#11
Hi, dbiviano. Please make sure that table {prefix}scheduler_options exists.
Hi,
Not sure what you mean with that…
Sorry, Got it
<esc;config>esc;<esc;active_tab>esc;a5<esc;/active_tab>esc;<esc;settings>esc;<esc;settings_width>esc;900px<esc;/settings_width>esc;<esc;settings_height>esc;600px<esc;/settings_height>esc;<esc;settings_eventnumber>esc;5<esc;/settings_eventnumber>esc;<esc;settings_link>esc;<esc;/settings_link>esc;<esc;settings_posts>esc;false<esc;/settings_posts>esc;<esc;settings_repeat>esc;true<esc;/settings_repeat>esc;<esc;settings_firstday>esc;false<esc;/settings_firstday>esc;<esc;settings_multiday>esc;true<esc;/settings_multiday>esc;<esc;settings_fullday>esc;false<esc;/settings_fullday>esc;<esc;settings_marknow>esc;false<esc;/settings_marknow>esc;<esc;settings_singleclick>esc;false<esc;/settings_singleclick>esc;<esc;settings_day>esc;true<esc;/settings_day>esc;<esc;settings_week>esc;true<esc;/settings_week>esc;<esc;settings_month>esc;true<esc;/settings_month>esc;<esc;settings_agenda>esc;true<esc;/settings_agenda>esc;<esc;settings_week_agenda>esc;true<esc;/settings_week_agenda>esc;<esc;settings_year>esc;true<esc;/settings_year>esc;<esc;settings_map>esc;false<esc;/settings_map>esc;<esc;settings_defaultmode>esc;week<esc;/settings_defaultmode>esc;<esc;settings_debug>esc;false<esc;/settings_debug>esc;<esc;settings_collision>esc;false<esc;/settings_collision>esc;<esc;settings_expand>esc;true<esc;/settings_expand>esc;<esc;settings_pdf>esc;true<esc;/settings_pdf>esc;<esc;settings_ical>esc;true<esc;/settings_ical>esc;<esc;settings_minical>esc;false<esc;/settings_minical>esc;<esc;/settings>esc;<esc;access>esc;<esc;group id="-1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="6">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="7">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="2">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="3">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="4">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="5">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="10">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="12">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="13">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="14">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="15">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="16">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="8">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;true<esc;/add>esc;<esc;edit>esc;true<esc;/edit>esc;<esc;/group>esc;<esc;privatemode>esc;off<esc;/privatemode>esc;<esc;/access>esc;<esc;templates>esc;<esc;templates_defaultdate>esc;<esc;![CDATA[%d %M %Y]]>esc;<esc;/templates_defaultdate>esc;<esc;templates_monthdate>esc;<esc;![CDATA[%F %Y]]>esc;<esc;/templates_monthdate>esc;<esc;templates_weekdate>esc;<esc;![CDATA[%l]]>esc;<esc;/templates_weekdate>esc;<esc;templates_daydate>esc;<esc;![CDATA[%d/%m/%Y]]>esc;<esc;/templates_daydate>esc;<esc;templates_hourdate>esc;<esc;![CDATA[%H:%i]]>esc;<esc;/templates_hourdate>esc;<esc;templates_monthday>esc;<esc;![CDATA[%d]]>esc;<esc;/templates_monthday>esc;<esc;templates_minmin>esc;<esc;![CDATA[5]]>esc;<esc;/templates_minmin>esc;<esc;templates_hourheight>esc;<esc;![CDATA[42]]>esc;<esc;/templates_hourheight>esc;<esc;templates_starthour>esc;<esc;![CDATA[0]]>esc;<esc;/templates_starthour>esc;<esc;templates_endhour>esc;<esc;![CDATA[24]]>esc;<esc;/templates_endhour>esc;<esc;templates_agendatime>esc;<esc;![CDATA[30]]>esc;<esc;/templates_agendatime>esc;<esc;templates_eventtext>esc;<esc;![CDATA[return event.text;]]>esc;<esc;/templates_eventtext>esc;<esc;templates_eventheader>esc;<esc;![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]>esc;<esc;/templates_eventheader>esc;<esc;templates_eventbartext>esc;<esc;![CDATA[return "<esc;span title=+event.text+>esc;" + event.text + "<esc;/span>esc;";]]>esc;<esc;/templates_eventbartext>esc;<esc;templates_username>esc;false<esc;/templates_username>esc;<esc;/templates>esc;<esc;customfields>esc;<esc;customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="150" />esc;<esc;customfield name="OptionField" dsc="Test option field" type="select" old_name="New field2" use_colors="false" units="false" timeline="off" timeline_secondscale="false" >esc;<esc;option hide="0" color="#dfdfdf">esc;option<esc;/option>esc;<esc;/customfield>esc;<esc;/customfields>esc;<esc;google>esc;<esc;google_email>esc;<esc;/google_email>esc;<esc;google_cal>esc;<esc;/google_cal>esc;<esc;/google>esc;<esc;skins>esc;<esc;use>esc;true<esc;/use>esc;<esc;bg>esc;#c2d5fc<esc;/bg>esc;<esc;event>esc;#ffe763<esc;/event>esc;<esc;/skins>esc;<esc;/config>esc;"
radyno
April 26, 2012, 8:36am
#14
Hi,
there is a problem in generated xml-configuration. The best way would be to have access to scheduler admin panel.
By the way, does it work correctly if to save options using another browser?
Hi,
The error comes also up in firefox. (don’t have other browsers installed).
Is this a single case just related to my configuration? or is it a known issue?
What do you mean with admin access? would you like to access my site?
I am currently running this on a local machine (same mac with apache), so that would be impossible i guess…
radyno
April 27, 2012, 12:56pm
#16
Hi,
please, open file components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.js
and modify it like here:
getXML: function() {
var xml = '<config>';
xml += '<active_tab>' + this.getActiveCell() + '</active_tab>';
xml += '<settings>' + this.acc.cells("a1").getFrame().contentWindow.getOptions() + "</settings>";
xml += '<access>' + this.acc.cells("a2").getFrame().contentWindow.getOptions() + "</access>";
xml += '<templates>' + this.acc.cells("a3").getFrame().contentWindow.getOptions() + '</templates>';
var isMap = this.acc.cells("a1").getFrame().contentWindow.isMap();
xml += '<customfields>' + this.acc.cells("a5").getFrame().contentWindow.getOptions(isMap) + '</customfields>';
xml += '<google>' + this.acc.cells("google").getFrame().contentWindow.getOptions() + '</google>';
xml += '<skins>' + this.acc.cells("skins").getFrame().contentWindow.getOptions() + '</skins>';
xml += '</config>';
var reg1=/</g;
var reg2=/>/g;
xml = xml.replace(reg1, '<esc;');
xml = xml.replace(reg2, '>esc;');
console.log(xml);
console.log(this.acc.cells("a2").getFrame().contentWindow.getOptions());
this.hidden.value = xml;
if (this.debug) {
var reg1=/</g;
var reg2=/>/g;
var reg3 = /<></;
xml = xml.replace(reg3, '');
xml = xml.replace(reg1, '<');
xml = xml.replace(reg2, '>');
xml = xml.replace(reg3, '<<br>>');
this.debug.innerHTML = xml;
}
},
This modification should output some debug information into browser console (you may open it using Chrome - F12->Console, or Firebug plugin for Firefox). So you have to modify code, open scheduler admin panel, add several custom fields. After that debug-info will appear into browser console, send it to me, please.
Here you go;
dhtmlxSchedulerConfigurator.js:177&
<esc;config>esc;<esc;active_tab>esc;a5<esc;/active_tab>esc;<esc;settings>esc;<esc;settings_width>esc;900px<esc;/settings_width>esc;<esc;settings_height>esc;600px<esc;/settings_height>esc;<esc;settings_eventnumber>esc;5<esc;/settings_eventnumber>esc;<esc;settings_link>esc;<esc;/settings_link>esc;<esc;settings_posts>esc;false<esc;/settings_posts>esc;<esc;settings_repeat>esc;true<esc;/settings_repeat>esc;<esc;settings_firstday>esc;false<esc;/settings_firstday>esc;<esc;settings_multiday>esc;true<esc;/settings_multiday>esc;<esc;settings_fullday>esc;false<esc;/settings_fullday>esc;<esc;settings_marknow>esc;false<esc;/settings_marknow>esc;<esc;settings_singleclick>esc;false<esc;/settings_singleclick>esc;<esc;settings_day>esc;true<esc;/settings_day>esc;<esc;settings_week>esc;true<esc;/settings_week>esc;<esc;settings_month>esc;true<esc;/settings_month>esc;<esc;settings_agenda>esc;true<esc;/settings_agenda>esc;<esc;settings_week_agenda>esc;true<esc;/settings_week_agenda>esc;<esc;settings_year>esc;true<esc;/settings_year>esc;<esc;settings_map>esc;false<esc;/settings_map>esc;<esc;settings_defaultmode>esc;week<esc;/settings_defaultmode>esc;<esc;settings_debug>esc;false<esc;/settings_debug>esc;<esc;settings_collision>esc;false<esc;/settings_collision>esc;<esc;settings_expand>esc;true<esc;/settings_expand>esc;<esc;settings_pdf>esc;true<esc;/settings_pdf>esc;<esc;settings_ical>esc;true<esc;/settings_ical>esc;<esc;settings_minical>esc;false<esc;/settings_minical>esc;<esc;/settings>esc;<esc;access>esc;<esc;group id="-1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="6">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="7">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="2">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="3">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="4">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="5">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="10">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="12">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="13">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="14">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="15">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="16">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="8">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;true<esc;/add>esc;<esc;edit>esc;true<esc;/edit>esc;<esc;/group>esc;<esc;privatemode>esc;off<esc;/privatemode>esc;<esc;/access>esc;<esc;templates>esc;<esc;templates_defaultdate>esc;<esc;![CDATA[%d %M %Y]]>esc;<esc;/templates_defaultdate>esc;<esc;templates_monthdate>esc;<esc;![CDATA[%F %Y]]>esc;<esc;/templates_monthdate>esc;<esc;templates_weekdate>esc;<esc;![CDATA[%l]]>esc;<esc;/templates_weekdate>esc;<esc;templates_daydate>esc;<esc;![CDATA[%d/%m/%Y]]>esc;<esc;/templates_daydate>esc;<esc;templates_hourdate>esc;<esc;![CDATA[%H:%i]]>esc;<esc;/templates_hourdate>esc;<esc;templates_monthday>esc;<esc;![CDATA[%d]]>esc;<esc;/templates_monthday>esc;<esc;templates_minmin>esc;<esc;![CDATA[5]]>esc;<esc;/templates_minmin>esc;<esc;templates_hourheight>esc;<esc;![CDATA[42]]>esc;<esc;/templates_hourheight>esc;<esc;templates_starthour>esc;<esc;![CDATA[0]]>esc;<esc;/templates_starthour>esc;<esc;templates_endhour>esc;<esc;![CDATA[24]]>esc;<esc;/templates_endhour>esc;<esc;templates_agendatime>esc;<esc;![CDATA[30]]>esc;<esc;/templates_agendatime>esc;<esc;templates_eventtext>esc;<esc;![CDATA[return event.text;]]>esc;<esc;/templates_eventtext>esc;<esc;templates_eventheader>esc;<esc;![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]>esc;<esc;/templates_eventheader>esc;<esc;templates_eventbartext>esc;<esc;![CDATA[return "<esc;span title=+event.text+>esc;" + event.text + "<esc;/span>esc;";]]>esc;<esc;/templates_eventbartext>esc;<esc;templates_username>esc;false<esc;/templates_username>esc;<esc;/templates>esc;<esc;customfields>esc;<esc;customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="150" />esc;<esc;customfield name="New field1" dsc="Description" type="textarea" old_name="" use_colors="false" units="false" timeline="off" height="150" />esc;<esc;/customfields>esc;<esc;google>esc;<esc;google_email>esc;<esc;/google_email>esc;<esc;google_cal>esc;<esc;/google_cal>esc;<esc;/google>esc;<esc;skins>esc;<esc;use>esc;false<esc;/use>esc;<esc;bg>esc;#c2d5fc<esc;/bg>esc;<esc;event>esc;#ffe763<esc;/event>esc;<esc;/skins>esc;<esc;/config>esc;
dhtmlxSchedulerConfigurator.js:178<group id="-1"><view>true</view><add>false</add><edit>false</edit></group><group id="1"><view>true</view><add>false</add><edit>false</edit></group><group id="6"><view>true</view><add>false</add><edit>false</edit></group><group id="7"><view>true</view><add>false</add><edit>false</edit></group><group id="2"><view>true</view><add>false</add><edit>false</edit></group><group id="3"><view>true</view><add>false</add><edit>false</edit></group><group id="4"><view>true</view><add>false</add><edit>false</edit></group><group id="5"><view>true</view><add>false</add><edit>false</edit></group><group id="10"><view>true</view><add>false</add><edit>false</edit></group><group id="12"><view>true</view><add>false</add><edit>false</edit></group><group id="13"><view>true</view><add>false</add><edit>false</edit></group><group id="14"><view>true</view><add>false</add><edit>false</edit></group><group id="15"><view>true</view><add>false</add><edit>false</edit></group><group id="16"><view>true</view><add>false</add><edit>false</edit></group><group id="8"><view>true</view><add>true</add><edit>true</edit></group><privatemode>off</privatemode>
dhtmlxSchedulerConfigurator.js:177<esc;config>esc;<esc;active_tab>esc;a5<esc;/active_tab>esc;<esc;settings>esc;<esc;settings_width>esc;900px<esc;/settings_width>esc;<esc;settings_height>esc;600px<esc;/settings_height>esc;<esc;settings_eventnumber>esc;5<esc;/settings_eventnumber>esc;<esc;settings_link>esc;<esc;/settings_link>esc;<esc;settings_posts>esc;false<esc;/settings_posts>esc;<esc;settings_repeat>esc;true<esc;/settings_repeat>esc;<esc;settings_firstday>esc;false<esc;/settings_firstday>esc;<esc;settings_multiday>esc;true<esc;/settings_multiday>esc;<esc;settings_fullday>esc;false<esc;/settings_fullday>esc;<esc;settings_marknow>esc;false<esc;/settings_marknow>esc;<esc;settings_singleclick>esc;false<esc;/settings_singleclick>esc;<esc;settings_day>esc;true<esc;/settings_day>esc;<esc;settings_week>esc;true<esc;/settings_week>esc;<esc;settings_month>esc;true<esc;/settings_month>esc;<esc;settings_agenda>esc;true<esc;/settings_agenda>esc;<esc;settings_week_agenda>esc;true<esc;/settings_week_agenda>esc;<esc;settings_year>esc;true<esc;/settings_year>esc;<esc;settings_map>esc;false<esc;/settings_map>esc;<esc;settings_defaultmode>esc;week<esc;/settings_defaultmode>esc;<esc;settings_debug>esc;false<esc;/settings_debug>esc;<esc;settings_collision>esc;false<esc;/settings_collision>esc;<esc;settings_expand>esc;true<esc;/settings_expand>esc;<esc;settings_pdf>esc;true<esc;/settings_pdf>esc;<esc;settings_ical>esc;true<esc;/settings_ical>esc;<esc;settings_minical>esc;false<esc;/settings_minical>esc;<esc;/settings>esc;<esc;access>esc;<esc;group id="-1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="1">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="6">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="7">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="2">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="3">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="4">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="5">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="10">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="12">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="13">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="14">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="15">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="16">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;false<esc;/add>esc;<esc;edit>esc;false<esc;/edit>esc;<esc;/group>esc;<esc;group id="8">esc;<esc;view>esc;true<esc;/view>esc;<esc;add>esc;true<esc;/add>esc;<esc;edit>esc;true<esc;/edit>esc;<esc;/group>esc;<esc;privatemode>esc;off<esc;/privatemode>esc;<esc;/access>esc;<esc;templates>esc;<esc;templates_defaultdate>esc;<esc;![CDATA[%d %M %Y]]>esc;<esc;/templates_defaultdate>esc;<esc;templates_monthdate>esc;<esc;![CDATA[%F %Y]]>esc;<esc;/templates_monthdate>esc;<esc;templates_weekdate>esc;<esc;![CDATA[%l]]>esc;<esc;/templates_weekdate>esc;<esc;templates_daydate>esc;<esc;![CDATA[%d/%m/%Y]]>esc;<esc;/templates_daydate>esc;<esc;templates_hourdate>esc;<esc;![CDATA[%H:%i]]>esc;<esc;/templates_hourdate>esc;<esc;templates_monthday>esc;<esc;![CDATA[%d]]>esc;<esc;/templates_monthday>esc;<esc;templates_minmin>esc;<esc;![CDATA[5]]>esc;<esc;/templates_minmin>esc;<esc;templates_hourheight>esc;<esc;![CDATA[42]]>esc;<esc;/templates_hourheight>esc;<esc;templates_starthour>esc;<esc;![CDATA[0]]>esc;<esc;/templates_starthour>esc;<esc;templates_endhour>esc;<esc;![CDATA[24]]>esc;<esc;/templates_endhour>esc;<esc;templates_agendatime>esc;<esc;![CDATA[30]]>esc;<esc;/templates_agendatime>esc;<esc;templates_eventtext>esc;<esc;![CDATA[return event.text;]]>esc;<esc;/templates_eventtext>esc;<esc;templates_eventheader>esc;<esc;![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]>esc;<esc;/templates_eventheader>esc;<esc;templates_eventbartext>esc;<esc;![CDATA[return "<esc;span title=+event.text+>esc;" + event.text + "<esc;/span>esc;";]]>esc;<esc;/templates_eventbartext>esc;<esc;templates_username>esc;false<esc;/templates_username>esc;<esc;/templates>esc;<esc;customfields>esc;<esc;customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="150" />esc;<esc;customfield name="New field2" dsc="Description" type="select" old_name="New field2" use_colors="false" units="false" timeline="off" timeline_secondscale="false" >esc;<esc;/customfield>esc;<esc;/customfields>esc;<esc;google>esc;<esc;google_email>esc;<esc;/google_email>esc;<esc;google_cal>esc;<esc;/google_cal>esc;<esc;/google>esc;<esc;skins>esc;<esc;use>esc;true<esc;/use>esc;<esc;bg>esc;#c2d5fc<esc;/bg>esc;<esc;event>esc;#ffe763<esc;/event>esc;<esc;/skins>esc;<esc;/config>esc;
dhtmlxSchedulerConfigurator.js:178<group id="-1"><view>true</view><add>false</add><edit>false</edit></group><group id="1"><view>true</view><add>false</add><edit>false</edit></group><group id="6"><view>true</view><add>false</add><edit>false</edit></group><group id="7"><view>true</view><add>false</add><edit>false</edit></group><group id="2"><view>true</view><add>false</add><edit>false</edit></group><group id="3"><view>true</view><add>false</add><edit>false</edit></group><group id="4"><view>true</view><add>false</add><edit>false</edit></group><group id="5"><view>true</view><add>false</add><edit>false</edit></group><group id="10"><view>true</view><add>false</add><edit>false</edit></group><group id="12"><view>true</view><add>false</add><edit>false</edit></group><group id="13"><view>true</view><add>false</add><edit>false</edit></group><group id="14"><view>true</view><add>false</add><edit>false</edit></group><group id="15"><view>true</view><add>false</add><edit>false</edit></group><group id="16"><view>true</view><add>false</add><edit>false</edit></group><group id="8"><view>true</view><add>true</add><edit>true</edit></group><privatemode>off</privatemode>
radyno
April 30, 2012, 8:05am
#18
Please, try to modify code in the same file like here:
xml = xml.replace(reg1, '<esc;');
xml = xml.replace(reg2, '>esc;');
xml = xml.replace(/"/g, '"');
Did it help?
No Change… still an error
There was error during configuration saving. Last stable configuration restored.
Error report saved to "com_scheduler_log.xml"
Field 'newfield2' has empty option set. Its type is changed to 'text'
radyno
May 3, 2012, 9:33am
#20
I don’t know why but wordpress saves incorrect scheduler’s configuration in database.
After that scheduler opens this incorect XML and gets an error.
Are you using some specific Wordpress plugins?