[Modul] Terminliste v3 (Ein- und Ausgabemodul)

Alles rund um Module und Plugins in CONTENIDO 4.10.
homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

[Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Do 25. Apr 2019, 00:03

Hallo Gemeinde,

hier nun die Terminlisten-Module für CON 4.10.x, basierend auf den Versionen von "schlaucher" für ältere Contenido-Versionen. Infos zum ersten großen Update unter 4.9.x sowie das Archiv zu Anpassungen seit 2013 finden sich hier:
posting.php?mode=edit&f=99&p=168175

Installation
Bitte die zip-Datei entpacken, die beiden Module per FTP hochladen und synchronisieren. In einem Unterordner von "Terminliste - Eingabe" liegen Dateien, die auf die jeweiligen Mandantenordner zu verteilen sind. Die CSS- und JS-Dateien bitte im Header des Layouts einbinden. Es wird jQuery benötigt, dies bitte vorher einbinden.

Danach ist folgendes zu tun:
- Gewünschte Terminkategorien in den Mandanteneinstellungen strichkommagetrennt anlegen (Bsp):
terminliste | categories | Seminar;Vortrag;Schulung;Workshop

- Gewünschte css-Klassen in den Mandanteneinstellungen anlegen (Bsp):
terminliste | css_classes | highlight;special;soldout

- Administration/Sprache, letzter Block: die korrekten Datums- und Zeiteinstellungen vornehmen, Varianten von d.m.Y H:i:s; entscheidend ist das Datumsfeld. Falls andere Einstellungen gewünscht sind, dann im Modul selbst oben das Auslesen dieser Einstellungen aushebeln und dort eigene Formate setzen.

- Neue Vorlagen anlegen: eine für die Termineingabe, eine für die Terminausgabe und diese Artikeln/Kategorien zuweisen

Modul Termin Eingabe
Die meisten der alten Einstellungen sind wieder da, einige wenige wurden geopfert, weil sich andere Lösungen anbieten. Soweit möglich, wurde auf existierende CMS-Typen gesetzt - das macht das Datumshandling erstmal etwas umständlicher, dafür kann man über CMS-Date gleichzeitig die Uhrzeit mit einstellen. Den früheren Punkt "Highlight" gibt es so nicht mehr, dafür kann man jetzt jedem Termin css-Klassen mitgeben.
Der Eingabebereich lässt sich durch Auswählen geänderter Smarty-Templates im Konfigurationsbereich recht einfach verschlanken, ein Beispiel ist mit enthalten.
Prinzipiell lässt sich der Termin durch Aufrufen des Artikels im Frontend auch darstellen. Allerdings durchläuft er nicht die intensivere Routine, die in der normalen Terminliste angewendet wird. Da ich diese Funktion nicht wirklich brauche, müsstet Ihr hier im Modul selbst Dinge für die Ausgabe nachpflegen, falls es Euch wichtig ist.

Modul Termin Ausgabe
Wie schon erwähnt, laufen jetzt alle Ausgaben hier zusammen, daher ist der Konfigurationsbereich des Moduls umfangreicher. Die Ausgabe kennt drei Varianten:
- Ausgabe dessen, was in der Konfiguration angegeben ist
- Die Ausgabe des Frontenduser-Suchmoduls und dann ggf. dessen Ergebnisse
- Die Ausgabe des Kalenders und dann ggf. dessen Ergebnisse
Die Terminkategorieeinstellungen greifen für alle drei Fälle, die meisten anderen Einstellungen nur für je einen der drei o.g. Fälle.
Wenn alles richtig konfiguriert ist, sollte im Frontenduser-Suchmodul der DatePicker zu sehen sein rechts neben den Input-Feldern.
Die Namen der Tage und Monate lassen sich im Moduloutput über Arrays an die jeweilige Sprachversion anpassen. Alle Datumsfelder sollten somit auch mit sehr vielen Sprachversionen laufen und automatisch umgeschossen werden.
WICHTIG: Im Modul selbst habe ich vergessen zu erwähnen, dass (wie bisher) die Anzahl der anzuzeigenden Artikel auf "-1" stehen muss, wenn alle gezeigt werden sollen.

Smarty-Templates
Die Darstellung der Termine lässt sich deutlich leichter variieren, indem man Template-Varianten erstellt und diese zuordnet. So erstelle ich pro Termin einen recht umfangreichen Datensatz, dessen einzelne Werte in den Smarty-Templates dann verwendet werden können, um z.B. zu entscheiden, ob und wie gruppierte Termine dargestellt werden sollen. Eine Variablen-Liste findet sich in einem separaten Template, das man am Namen gut erkennen kann.

Die Module sind noch nicht perfekt und an manchen Stellen noch ungalant, und es sind wie gesagt vielleicht nicht alle bisherigen Funktionen da, oder mancher wünscht sich noch andere Arten von Konfigurationen, aber ich denke, für die meisten Anwendungsfälle triffts das schonmal ganz gut.
Wer substanzielle Änderungen beisteuern möchte, möge das tun und mir die Änderungen bitte zuschicken - ich werde versuchen, das Modul weiter zu pflegen und feinzutunen.

Viktor

----------------

Update v3.0.6 vom 18.04.2023:
Modulinput und -output PHP8.0-fähig gemacht. Diese Version ist nicht isoliert getestet, sondern einer Kundenwebseite entnommen. Sollte es Probleme geben, bitte hier melden!

Update v3.0.5 vom 23.10.2019:
Alle Array-Aufrufe wurden php7.2-konform geändert. Im Termine-Darstellungsmodul wurde die Kalenderansicht wieder funktionstüchtig gemacht, die nicht funktionierte. Für Updater: geändert wurden in beiden Modulen lediglich die MODULAUSGABE-PHP-Dateien; alles andere ist unverändert.

Update v3.0.4 vom 24.04.2019:
Diverse Fehlerkorrekturen und Erweiterungen, bitte die revision.txt in der zip-Datei bemühen. Korrigiert ist vor allem, dass das Modul sowohl unter http wie https funktioniert und das Abspeichern der Termine nicht mehr verhindert.
Dateianhänge
terminlistenmodule.zip
v3.0.6, 18.04.2023
(78.75 KiB) 75-mal heruntergeladen
terminlistenmodule.zip
v3.0.6, 18.04.2023
(78.75 KiB) 63-mal heruntergeladen
Zuletzt geändert von homtata am Mi 19. Apr 2023, 17:12, insgesamt 7-mal geändert.

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Do 5. Sep 2019, 15:41

Unterstützt das Modul PHP 7.2? Inhalte der Detailsangaben und Zyklus lassen sich nicht abspeichern (The requested document was not found on this server.), Grundkonfiguration geht. Erhalte folgenden Fehler

Code: Alles auswählen

[05-Sep-2019 14:44:25 UTC] PHP Warning:  Use of undefined constant date0_weekdaynum - assumed 'date0_weekdaynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/demo.domain.de/con/contenido/includes/include.con_editcontent.php(523) : eval()'d code on line 156
[05-Sep-2019 14:44:25 UTC] PHP Warning:  Use of undefined constant date0_dayshort - assumed 'date0_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/demo.domain.de/con/contenido/includes/include.con_editcontent.php(523) : eval()'d code on line 156
[05-Sep-2019 14:44:25 UTC] PHP Warning:  Use of undefined constant date0_weekdaynum - assumed 'date0_weekdaynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/demo.domain.de/con/contenido/includes/include.con_editcontent.php(523) : eval()'d code on line 156

usw.

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Do 5. Sep 2019, 16:17

Grundsätzlich unterstützt das Modul die 7.2, ich habe es darunter rudimentär getestet. Das Hauptproblem ist wahrscheinlich, dass nicht in allen Arrays Hochkommas verwendet werden und das noch unsauber ist.
Der "constant"-Fehler riecht nach Vorkommen, die wie folgt aussehen:

$datum[irgendwas]

statt

$datum["irgendwas"]

Ich kann das Modul derzeit aber nicht zeitnah durchsehen.

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Do 5. Sep 2019, 16:57

ok, aber warum wird, wenn man auf Speichern klickt kein Dokument gefunden. (The requested document was not found on this server.) Wurde da was geändert? Das Modul unter Con 4.9. funktioniert musste zwar auf https umstellen.

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Do 5. Sep 2019, 21:05

Ja, der actionlink wurde umgestellt, damit er das Protokoll eigenständig erkennt. Aber vielleicht funktioniert der nicht für alle (lokalen oder auf Subdomains basierenden) Serverumgebungen...

Ca. Zeile 379 im Ausgabeteil des Moduls für die Termineingabe:

Code: Alles auswählen

$tpl->assign('actionlink', $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
Du kannst dir ja mal ausgeben lassen, was für ein String bei dir herauskommt und ob das wirklich das Problem wäre.

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Fr 6. Sep 2019, 07:54

Das wird als Actionlink ausgegeben:

Code: Alles auswählen

https://demo.domain.de/con/contenido/external/backendedit/front_content.php?changeview=edit&client=1&lang=1&action=con_editart&idartlang=2&idart=2&idcat=2&tmpchangelang=&contenido=tn29gn8krt7qsieagso3n64ptr

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Fr 6. Sep 2019, 09:18

Schön, aber entspricht das jetzt dem internen Link des Frames, in dem du bearbeitest, oder nicht?

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Fr 6. Sep 2019, 10:18

Ich habe mir die Änderungen angeschaut

Code: Alles auswählen

$tpl->assign('actionlink', $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
funktioniert nicht

Code: Alles auswählen

$tpl->assign('actionlink', "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
so geht es

Woran es nun liegt kann ich nicht sagen.

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Mo 14. Okt 2019, 11:29

Calender lässt sich nicht anzeigen.

Was soll das Modul tun? Calender anzeigen (ist eingestellt)
Vorlage für Kalendar: calender.tpl (ist eingestellt)
css ist eingebunden

Ist da noch was zu beachten?

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Mo 14. Okt 2019, 20:20

Na, das Modul soll (sofern auswertbare Termine da sind) diese in einem Kalender anzeigen. Ich habe diesen Teil bei der Anpassung an 4.10.x nicht mehr testen können, weil nirgends im Einsatz und zu wenig Zeit. Funktioniert denn die Listenausgabe, und nur die Kalenderausgabe spinnt?

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Di 15. Okt 2019, 08:33

Ja, die Liste funktioniert, auch das Frontend-Suchformular wird angeziegt, wenn man es auswählt. Auswählbare Termine sind da.

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Di 15. Okt 2019, 16:03

Irgendwas im Errorlog? Ich habe das Problem, dass ich diesen Teil des Moduls nicht brauche und derzeit nicht durchtesten kann, hier knallt die Arbeit rein ohne Ende.

shi
Beiträge: 251
Registriert: Fr 5. Nov 2004, 14:12
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von shi » Mi 16. Okt 2019, 10:05

Hier die error.log dazu

Code: Alles auswählen

[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayshort - assumed 'date1_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayfull - assumed 'date1_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayshort - assumed 'date1_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayfull - assumed 'date1_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthshort - assumed 'date1_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthfull - assumed 'date1_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_lang - assumed 'date1_lang' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant dateformat - assumed 'dateformat' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_month - assumed 'date2_month' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthshort - assumed 'date2_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthfull - assumed 'date2_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_yearshort - assumed 'date2_yearshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_yearfull - assumed 'date2_yearfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_day - assumed 'date2_day' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayshort - assumed 'date2_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayfull - assumed 'date2_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayshort - assumed 'date2_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayfull - assumed 'date2_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthshort - assumed 'date2_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthfull - assumed 'date2_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_lang - assumed 'date2_lang' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant dateformat - assumed 'dateformat' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant oneday - assumed 'oneday' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum2 - assumed 'datum2' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant groupeddate - assumed 'groupeddate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant prevdate - assumed 'prevdate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant prevdate - assumed 'prevdate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant gefunden - assumed 'gefunden' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant anzahl_termine - assumed 'anzahl_termine' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_month - assumed 'date1_month' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthnum - assumed 'date1_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthshort - assumed 'date1_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthnum - assumed 'date1_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthfull - assumed 'date1_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthnum - assumed 'date1_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_yearshort - assumed 'date1_yearshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_yearfull - assumed 'date1_yearfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_day - assumed 'date1_day' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayshort - assumed 'date1_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayfull - assumed 'date1_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_daynum - assumed 'date1_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayshort - assumed 'date1_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_dayfull - assumed 'date1_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthshort - assumed 'date1_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_monthfull - assumed 'date1_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date1_lang - assumed 'date1_lang' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant dateformat - assumed 'dateformat' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_month - assumed 'date2_month' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthshort - assumed 'date2_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthfull - assumed 'date2_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthnum - assumed 'date2_monthnum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_yearshort - assumed 'date2_yearshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_yearfull - assumed 'date2_yearfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_day - assumed 'date2_day' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayshort - assumed 'date2_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayfull - assumed 'date2_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_daynum - assumed 'date2_daynum' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayshort - assumed 'date2_dayshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_dayfull - assumed 'date2_dayfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthshort - assumed 'date2_monthshort' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_monthfull - assumed 'date2_monthfull' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant date2_lang - assumed 'date2_lang' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant dateformat - assumed 'dateformat' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant oneday - assumed 'oneday' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum2 - assumed 'datum2' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant groupeddate - assumed 'groupeddate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant prevdate - assumed 'prevdate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant prevdate - assumed 'prevdate' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant datum1 - assumed 'datum1' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant gefunden - assumed 'gefunden' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant anzahl_termine - assumed 'anzahl_termine' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant categories_sel - assumed 'categories_sel' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant categories_sel - assumed 'categories_sel' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Warning:  Use of undefined constant modconfigbased - assumed 'modconfigbased' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116
[16-Oct-2019 11:01:56 Europe/Berlin] PHP Fatal error:  Uncaught Error: Class 'sKalender' not found in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code:116
Stack trace:
#0 /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762): eval()
#1 /var/www/vhosts/domain.de/httpdocs/cms/front_content.php(43): include('/var/www/vhosts...')
#2 {main}
  thrown in /var/www/vhosts/domain.de/httpdocs/contenido/includes/frontend/include.front_content.php(762) : eval()'d code on line 116

homtata
Beiträge: 1142
Registriert: Mi 14. Jan 2004, 14:41
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von homtata » Do 17. Okt 2019, 07:42

Nun, das liegt an der noch nicht vollständigen Anpassungen an PHP 7.2.
Die Formatierung der Array-Aufrufe ist noch nicht vollständig erledigt. Früher war es möglich,

Code: Alles auswählen

$array[date1_daynum] 
zu schreiben. Für PHP7.2 ist die Version mit Anführungszeichen überwiegend zwingend:

Code: Alles auswählen

$array["date1_daynum"] 
Da ist noch einiges an Nacharbeit nötig, um alle Teile des Moduls anzupassen.

Faar
Beiträge: 1915
Registriert: Sa 8. Sep 2007, 16:23
Wohnort: Brandenburg
Kontaktdaten:

Re: [Modul] Terminliste v3 (Ein- und Ausgabemodul)

Beitrag von Faar » Do 17. Okt 2019, 09:39

homtata hat geschrieben:
Do 17. Okt 2019, 07:42
Da ist noch einiges an Nacharbeit nötig, um alle Teile des Moduls anzupassen.
:roll:
Fliegt der Bauer übers Dach, ist der Wind weißgott nicht schwach.

Antworten