Integrating Comdev Event Calendar
Posted: Mon Jul 17, 2006 7:37 pm
I am trying to integrate Comdev's Event Calendar into your CMS.
I am running CMS Made Simple 0.13 on a Linux server. Php version 4.4.1. My SQL version 4.1.10-standard-log. Apache version 1.3.36
The calendar is going to be the heart of my page, and I had to find a good one to make this work, so I purchased Comdev Event Calendar 4.0 from http://www.comdevweb.com/calendar.php
Once the calendar is configured (and I've done that), the only code required to make it run is 2 lines of php code.
include_once("/home/alabam7/public_html/oneadmin/config.php");
include("/home/alabam7/public_html/oneadmin/calendar/home.calendar.php");
The result of just running these codes can be seen at http://www.alabamaroping.com/tony.php
I tried integrating them into CMSMS by using a User Defined Tag with just those 2 lines of code. I then called the tag with a smarty tag, and I get fatal errors on the page as such:
Fatal error: Cannot redeclare class template in /home/alabam7/public_html/oneadmin/common/class.template.php(1) : eval()'d code(57) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 17
The error can be seen at:
http://www.alabamaroping.com/cmsms/inde ... dar_comdev
Any help understand and resolving this error would be greatly appreciated.
or
If I'm taking the wrong approach entirely, just let me know and help get me pointed in the right direction.
Tony Casey
tony@alabamaroping.com
I am running CMS Made Simple 0.13 on a Linux server. Php version 4.4.1. My SQL version 4.1.10-standard-log. Apache version 1.3.36
The calendar is going to be the heart of my page, and I had to find a good one to make this work, so I purchased Comdev Event Calendar 4.0 from http://www.comdevweb.com/calendar.php
Once the calendar is configured (and I've done that), the only code required to make it run is 2 lines of php code.
include_once("/home/alabam7/public_html/oneadmin/config.php");
include("/home/alabam7/public_html/oneadmin/calendar/home.calendar.php");
The result of just running these codes can be seen at http://www.alabamaroping.com/tony.php
I tried integrating them into CMSMS by using a User Defined Tag with just those 2 lines of code. I then called the tag with a smarty tag, and I get fatal errors on the page as such:
Fatal error: Cannot redeclare class template in /home/alabam7/public_html/oneadmin/common/class.template.php(1) : eval()'d code(57) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 17
The error can be seen at:
http://www.alabamaroping.com/cmsms/inde ... dar_comdev
Any help understand and resolving this error would be greatly appreciated.
or
If I'm taking the wrong approach entirely, just let me know and help get me pointed in the right direction.
Tony Casey
tony@alabamaroping.com