WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: rumen on February 09, 2019, 06:38:01 PM

Title: Event module
Post by: rumen on February 09, 2019, 06:38:01 PM
Hi there,

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

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

In the mentioned file raw 53-57 are

Code: [Select]
// 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);

or 57 is
Code: [Select]
list($year, $month, $day) = split('-', $this_date);
What can be wrong?
Title: Re: Event module
Post by: evaki on February 09, 2019, 08:09:05 PM
Code: [Select]
Call to undefined function split()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
Title: Re: Event module
Post by: rumen on February 09, 2019, 08:25:48 PM
Ver. 1.8b3   I don't know if there is newer ver.

I can't use that module?

Title: Re: Event module
Post by: rumen on February 09, 2019, 08:41:48 PM
There is one more event calendar but it crash on different file and raw

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

Where is

Code: [Select]
if( eregi( "false", $SMTEXT['use_template'] ) ){
echo "".$cal->writeCalendar();
Title: Re: Event module
Post by: Gast on February 09, 2019, 09:23:24 PM
i have here a version 1.8.4 from somewhere here in the forum, fixed in last december
Title: Re: Event module
Post by: rumen on February 09, 2019, 09:35:21 PM
With preg_split - it work! Thanks a lot!

Code: [Select]
Call to undefined function split()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
Title: Re: Event module
Post by: rumen on February 09, 2019, 09:36:37 PM
Thanks a lot, buddy!

i have here a version 1.8.4 from somewhere here in the forum, fixed in last december
Title: Re: Event module
Post by: Gast on February 09, 2019, 09:43:50 PM
Maybe a good time, to add this module into Addons (https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?filter=event&search=Search+addons)
Title: Re: Event module
Post by: hgs on February 10, 2019, 07:18:48 AM
Done
Title: Re: Event module
Post by: Luisehahne on February 10, 2019, 10:04:03 AM
INFO!

Habe den Download Event Kalendar für eine unbestimmte  im Repro inaktiv geschaltet. Das Addon wirft jede Menge Fehlermeldungen und muss erstmal überarbeitet werden.

I switched the download Event Calendar to inactive for an indefinite event in the repro. The addon throws a lot of error messages and has to be reworked first.

Dietmar
Title: Re: Event module
Post by: Gast on February 10, 2019, 11:42:56 AM
das tut mir leid  :oops:
habe es selbst nicht im Einsatz, nur kurz rein geschaut in die info.php

I'm sorry  :oops:
I did not use it myself, just looked at the info.php
Title: Re: Event module
Post by: Luisehahne on February 10, 2019, 01:52:59 PM
Kein Problem, fixe es gerade, soll dann auch MYSQL 5.7 Strict fähig werden, Nicht jeder Provider fährt MariaDB

Dietmar
Title: Re: Event module
Post by: Luisehahne on February 10, 2019, 08:27:48 PM
Die erste Testversion event calendar v1.8.5dev2 (https://wb211.wdsnet.de/modules/download_gallery/dlc.php?id=0E8BC37) steht zum Downlaod bereit,
Da ich den Event Calendar nie benutzt habe, bitte ich um ausführliches Testen, ob etwas fehlt.

The first trial version event calendar v1.8.5dev2 (https://wb211.wdsnet.de/modules/download_gallery/dlc.php?id=0E8BC37) is ready for download,
Since I have never used the Event Calendar, I ask for detailed testing whether something is missing.

Version 1.8.5dev2 (Luisehahne 2019/02/10)
+ add default and comment to field type date
+ change mysql to strict mode
+ TypeFixed $MESSAGE['GENERIC']['FILL_IN_ALL']

Dietmar
Title: Re: Event module
Post by: Luisehahne on February 11, 2019, 04:01:28 AM
Hi,

The second trial version event calendar v1.8.5dev3 (https://wb211.wdsnet.de/modules/download_gallery/dlc.php?id=0E8BC37) is ready for download,

Version 1.8.5dev3 (Luisehahne 2019/02/11)
+ some html validate fixes

Dietmar