Author Topic: Event module  (Read 406 times)

Offline rumen

  • Posts: 399
Event module
« 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?

Offline evaki

  • Posts: 2695
Re: Event module
« Reply #1 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
« Last Edit: February 09, 2019, 08:17:31 PM by evaki »
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline rumen

  • Posts: 399
Re: Event module
« Reply #2 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?


Offline rumen

  • Posts: 399
Re: Event module
« Reply #3 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();

Offline jacobi22

  • Posts: 5843
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Event module
« Reply #4 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
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline rumen

  • Posts: 399
Re: Event module
« Reply #5 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

Offline rumen

  • Posts: 399
Re: Event module
« Reply #6 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

Offline jacobi22

  • Posts: 5843
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Event module
« Reply #7 on: February 09, 2019, 09:43:50 PM »
Maybe a good time, to add this module into Addons
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline hgs

  • Betatester
  • **
  • Posts: 1110
    • EFG MG
Re: Event module
« Reply #8 on: February 10, 2019, 07:18:48 AM »
Done
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4359
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: Event module
« Reply #9 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
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline jacobi22

  • Posts: 5843
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Event module
« Reply #10 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
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4359
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: Event module
« Reply #11 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
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4359
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: Event module
« Reply #12 on: February 10, 2019, 08:27:48 PM »
Die erste Testversion event calendar v1.8.5dev2 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 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
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4359
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: Event module
« Reply #13 on: February 11, 2019, 04:01:28 AM »
Hi,

The second trial version event calendar v1.8.5dev3 is ready for download,

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

Dietmar
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

 

postern-length