Calendar Not Working After Upgrade to 4.1.0

airbornejr24 wrote on Friday, October 21, 2011:

I’ve followed the instructions to upgrade OpenEMR from 4.0.0 to 4.1.0 on my Linux server.  The upgrade appears to complete at every step without error.  However, when I login, the Calendar is blank.  I’ve made sure that the Apache user can write to the sites directory as well as the openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled and the openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache directories.  I also applied the 4.1.0 patch 2.

The calendar was working properly in 4.0.0 and I’ve searched the forums but nothing has helped.

In addition, when I do a fresh install of OpenEMR 4.1.0, the Calendar appears but if I try to switch to week view or month view, the Calendar disappears and will not reappear unless I logout and login again.

How can I resolve these issues?

Thanks for any help you can give.

airbornejr24 wrote on Friday, October 21, 2011:

I just saw this in the Apache error log:

   PHP Fatal error:  Class ‘DOMDocument’ not found in /var/www/virtual/emr41.brown.local/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/monthSelector.php on line 27, referer: http://emr41.brown.local/interface/main/calendar/index.php?module=PostCalendar&func=view&tplview=default&pc_category=&pc_topic=

airbornejr24 wrote on Friday, October 21, 2011:

It turns out that I just needed to install php-xml.  After doing that, everything is working properly and the error disappeared from the log.  I’m running OpenEMR on a Centos 5.2 server.

voipbound wrote on Monday, October 31, 2011:

Which php-xml are you referring to? (serializer, htmlsax3, parser, etc…)

yehster wrote on Tuesday, November 01, 2011:

The new calendar code uses the DOMDocument and other related classes.