Elxis CMS Forum

Extensions => Modules => Topic started by: xmanhattan on March 11, 2013, 16:35:25

Title: Event calendar module day information
Post by: xmanhattan on March 11, 2013, 16:35:25
Hello all,

I just installed the latest event calendar component and module, in that order on my local system, and then added a few categories and events.
After publishing the events module and setting the day info to yes, I am seeing the following error:

Fatal error: Cannot redeclare sind() ... modules\mod_eventcalendar\sun\math.php on line 18

I searched the forum to see if anyone has seen this but found nothing.


Title: Re: Event calendar module day information
Post by: datahell on March 12, 2013, 22:29:16
You can surround function "sind" with an if statement. This will solve the problem:

if (!function_exists('sind')) {
    function sind(...) {
       ....
    }
}

For more, contact the extension's author.
Title: Re: Event calendar module day information
Post by: xmanhattan on March 13, 2013, 09:24:49
Thank you Datahell.
Title: Re: Event calendar module day information
Post by: xmanhattan on March 13, 2013, 13:21:12
Well after adding the code that part of the program does not work so I set,

Display day info:  NO

Not a problem as it is not needed for the site that I am working on.