WebsiteBaker Support (2.12.x) > General Help & Support

Event module

(1/3) > >>

rumen:
Hi there,

I try to run the even module, but I got error


--- Code: ---There was an uncatched exception
Call to undefined function split()
in line (57) of (/modules/event/change_event.php):
--- End code ---

In the mentioned file raw 53-57 are


--- Code: ---// Get Data from database
$query_content = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `event_id` = '$event_id'");
$fetch_content = $query_content->fetchRow();
$this_date = $fetch_content['date'];
list($year, $month, $day) = split('-', $this_date);
--- End code ---

or 57 is

--- Code: ---list($year, $month, $day) = split('-', $this_date);
--- End code ---

What can be wrong?

evaki:

--- Code: ---Call to undefined function split()
--- End code ---
split() is deprecated since PHP 5.3.0.
How old is the module? (Version)


https://forum.WebsiteBaker.org/index.php/topic,26418.msg180591.html#msg180591
Reg./MfG. Evaki

rumen:
Ver. 1.8b3   I don't know if there is newer ver.

I can't use that module?

rumen:
There is one more event calendar but it crash on different file and raw


--- Code: ---There was an uncatched exception
Call to undefined function eregi()
in line (36) of (/modules/event_calendar/view.php):
--- End code ---

Where is


--- Code: ---if( eregi( "false", $SMTEXT['use_template'] ) ){
echo "".$cal->writeCalendar();
--- End code ---

jacobi22:
i have here a version 1.8.4 from somewhere here in the forum, fixed in last december

Navigation

[0] Message Index

[#] Next page

Go to full version