I am currently evaluating a few different calendar plugin options and the Events Calendar/Scheduler is one of them. I am having a problem that is a bit of a show-stopper, however. Whenever I enter an event, it shows up on the calendar and looks good but as soon as I refresh the page or navigate away from the page and come back, all events are gone and the calendar is blank.
I’m running version 2.0 of the plugin and WordPress 3.0.1 on a Windows Server 2003/IIS server with MySql version 5.1.
Has anyone seen this behavior before? Has anyone come across a solution? I’d appreciate any assistance that can be lent.
Thanks very much
-Chris
Does event turn red after creating ? This mean there is some error during data saving. Try to enable debug mode in scheduler’s settings, it will provide readable error info.
Yes, the event does turn red after I create it. I have enabled debug mode in the plugin settings but I do not see any error information when creating a new event. Where might I find this information?
Thanks very much for your assistance.
-Chris
Can anyone point me towards the location of the debug info? I’d really like to get this plugin working.
Thanks
-Chris
Take a look at dhtmlxSchedulerConfigurator.php file for the definition of the log file location (line 337). You might also want to check for any php errors by locating the php-errors.log file.
OK, I found a reference to a “com_scheduler_log.xml” which I deleted. I then went to my EventScheduler calendar and put in a new event. It turned red and I was left with this following in the log xml file:
<?xml version="1.0"?>
<logs><log time="2010-09-23 19:12:29" usertype="administrator"><![CDATA[<config><active_tab>a1</active_tab><settings><settings_width>600px</settings_width><settings_height>600px</settings_height><settings_eventnumber>4</settings_eventnumber><settings_link>http://tech.mydomainname.com/?page_id=53</settings_link><settings_posts>false</settings_posts><settings_repeat>true</settings_repeat><settings_firstday>true</settings_firstday><settings_multiday>true</settings_multiday><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_year>false</settings_year><settings_defaultmode>month</settings_defaultmode><settings_debug>true</settings_debug><settings_eventnumber>4</settings_eventnumber><settings_collision>false</settings_collision><settings_expand>true</settings_expand><settings_print>true</settings_print><settings_minical>false</settings_minical></settings><access><access_guestView>true</access_guestView><access_guestAdd>false</access_guestAdd><access_guestEdit>false</access_guestEdit><access_subscriberView>true</access_subscriberView><access_subscriberAdd>false</access_subscriberAdd><access_subscriberEdit>false</access_subscriberEdit><access_contributorView>true</access_contributorView><access_contributorAdd>false</access_contributorAdd><access_contributorEdit>false</access_contributorEdit><access_authorView>true</access_authorView><access_authorAdd>true</access_authorAdd><access_authorEdit>true</access_authorEdit><access_editorView>true</access_editorView><access_editorAdd>true</access_editorAdd><access_editorEdit>true</access_editorEdit><access_administratorView>true</access_administratorView><access_administratorAdd>true</access_administratorAdd><access_administratorEdit>true</access_administratorEdit></access><templates><templates_defaultdate><![CDATA[%M %d %Y]]]]><![CDATA[></templates_defaultdate><templates_monthdate><![CDATA[%F %Y]]]]><![CDATA[></templates_monthdate><templates_weekdate><![CDATA[%D]]]]><![CDATA[></templates_weekdate><templates_daydate><![CDATA[%D]]]]><![CDATA[></templates_daydate><templates_hourdate><![CDATA[%h:%i %A]]]]><![CDATA[></templates_hourdate><templates_monthday><![CDATA[%d]]]]><![CDATA[></templates_monthday><templates_minmin><![CDATA[15]]]]><![CDATA[></templates_minmin><templates_hourheight><![CDATA[40]]]]><![CDATA[></templates_hourheight><templates_starthour><![CDATA[6]]]]><![CDATA[></templates_starthour><templates_endhour><![CDATA[20]]]]><![CDATA[></templates_endhour><templates_eventtext><![CDATA[return event.text;]]]]><![CDATA[></templates_eventtext><templates_eventheader><![CDATA[return scheduler.templates.hour_scale(start) + " - " + scheduler.templates.hour_scale(end);]]]]><![CDATA[></templates_eventheader><templates_eventbartext><![CDATA[return "<span title='"+event.text+"'>" + event.text + "</span>";]]]]><![CDATA[></templates_eventbartext></templates><customfields><customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" height="150" /></customfields></config>]]></log></logs>
I can’t really tell by looking at this where the problem lies. Am I looking in the right place?
Thanks
-Chris
Config is definitely wrong.
Try to load the admin part and press “reset default” from scheduler’s settings.
If you can’t access admin panel of scheduler due errors - deactivate plugin, install version 2.3 ( can be taken from dhtmlx.com ) and activate it again. ( data will be preserved )
OK, I reset to default settings as you suggested but I still get the same behavior when trying to create an event. I will attempt to install 2.3 and see how it goes.
Also, I’m not worried about preserving any data since I havent been able to save any yet!
I downloaded and installed the plugin for WordPress from your site and it looks like events are now saving fine. The plugin is still being shown as version 2.0 in WordPress however.
Thanks for your help!
-Chris