[MODDB] Automatische Sommerzeit 2.0.2

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Cosmoledo
Mitglied
Beiträge: 3
Registriert: 20.06.2008 20:53

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von Cosmoledo »

Hallo,

ich habe ebenfalls den Mod von 1.0.6 auf 2.0.1 gebracht, läuft soweit auch alles gut, Europa/Berlin ist als Zeitzone aktiv. Die Serverzeit ist ebenso korrekt, habe ich eben mit einem php Script geprüft, das Board hingt dennoch 1h hinterher, sprich UTC. Ich kann mir nicht vorstellen das es mit dem Mod zusammenhängt. User berichteten das auch vor Update des Mods die Zeit hinterherhing. Vielleicht hat ja jemand einen Tipp für mich.

Gruß
Cosmoledo
Gast234254
Gesperrt
Beiträge: 1999
Registriert: 08.02.2009 22:58

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von Gast234254 »

3.06.RC3 EDIT auch unter 3.0.6.RC4
automatic_dst_2.0.1
PHP/5.3.0

Code Änderung root/includes/ucp/ucp_register.php

Finden

Code: Alles auswählen

				'confirm_code'		=> array('string', !$config['enable_confirm'], CAPTCHA_MIN_CHARS, CAPTCHA_MAX_CHARS),
				'tz'				=> array('num', false, -14, 14),
Ersetzen mit

Code: Alles auswählen

				'confirm_code'		=> array('string', !$config['enable_confirm'], CAPTCHA_MIN_CHARS, CAPTCHA_MAX_CHARS),
3.0.5

Code: Alles auswählen

				// We do not include the password
				$s_hidden_fields = array_merge($s_hidden_fields, array(
					'username'			=> utf8_normalize_nfc(request_var('username', '', true)),
					'email'				=> strtolower(request_var('email', '')),
					'email_confirm'		=> strtolower(request_var('email_confirm', '')),
					'confirm_code'		=> request_var('confirm_code', ''),
					'confirm_id'		=> request_var('confirm_id', ''),
					'lang'				=> $user->lang_name,
					'tz'				=> request_var('tz', (float) $config['board_timezone']),
				));
3.0.6 ist wegefallen 'confirm_code' => array('string', !$config['enable_confirm'], CAPTCHA_MIN_CHARS, CAPTCHA_MAX_CHARS),

Code: Alles auswählen

				// We do not include the password
				$s_hidden_fields = array_merge($s_hidden_fields, array(
					'username'			=> utf8_normalize_nfc(request_var('username', '', true)),
					'email'				=> strtolower(request_var('email', '')),
					'email_confirm'		=> strtolower(request_var('email_confirm', '')),
					'lang'				=> $user->lang_name,
					'tz'				=> request_var('tz', (float) $config['board_timezone']),
				));
Finden

Code: Alles auswählen

					'email_confirm'		=> strtolower(request_var('email_confirm', '')),
					'lang'				=> $user->lang_name,
					'tz'				=> request_var('tz', (float) $config['board_timezone']),
Ersetzen mit

Code: Alles auswählen

					'email_confirm'		=> strtolower(request_var('email_confirm', '')),
					'lang'				=> $user->lang_name,
EDIT Debug- und Fehlermeldung nur bei angemeldeten Mitglieder, nicht als Admin und oder Gast

mit Webbrowser IE8; Firefox und Opera

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/automatic_dst.php on line 31: Undefined index: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4258: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4260: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4261: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4262: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Gibt es dafür eine Lösung?
Gruß
Stephan
Benutzeravatar
MartectX
Ehemaliger Übersetzer
Beiträge: 648
Registriert: 10.05.2008 17:08
Wohnort: Marienplatz

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von MartectX »

wintstar hat geschrieben:Gibt es dafür eine Lösung?
Gruß
Stephan
Servus Stephan,

Danke für Deinen Hinweis - jedoch habe ich wirklich keine Zeit, mich mit den RCs herumzuschlagen. Sobald 3.0.6 released ist, werde ich meinerseits ein Update der Automatischen Sommerzeit bereitstellen (sobald ich Wind davon bekomme innerhalb weniger Stunden).
Gast234254
Gesperrt
Beiträge: 1999
Registriert: 08.02.2009 22:58

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von Gast234254 »

MartectX hat geschrieben:
wintstar hat geschrieben:Gibt es dafür eine Lösung?
Gruß
Stephan
Servus Stephan,

Danke für Deinen Hinweis - jedoch habe ich wirklich keine Zeit, mich mit den RCs herumzuschlagen. Sobald 3.0.6 released ist, werde ich meinerseits ein Update der Automatischen Sommerzeit bereitstellen (sobald ich Wind davon bekomme innerhalb weniger Stunden).
3.0.6 ist draussen, hast du schon eine lösung? :roll:

gruß
Stephan
Benutzeravatar
MartectX
Ehemaliger Übersetzer
Beiträge: 648
Registriert: 10.05.2008 17:08
Wohnort: Marienplatz

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von MartectX »

wintstar hat geschrieben:3.0.6 ist draussen, hast du schon eine lösung? :roll:
Bin dran! :grin:

EDIT: Versuch's mal damit. :D

Version 2.0.2
  • Update für phpBB 3.0.6
  • Bugfix für Zeitzonen der Südhalbkugel (Danke für die Info an andrade!)
  • Bugfix eines Sprachfehlers (Danke für die Info nunonina!)
  • Bugfix der Übersetzung der Kontinente (Danke nunonina!)
  • Beispiel für Übersetzung von Stadtnamen angefügt (Danke nochmals nunonina!)
  • Portugiesische Übersetzug hinzugefügt (Und noch einmal Dank an nunonina!)
  • Russische Übersetzung hinzugefügt (Danke FladeX!)
Zuletzt geändert von MartectX am 19.11.2009 10:02, insgesamt 3-mal geändert.
Gast234254
Gesperrt
Beiträge: 1999
Registriert: 08.02.2009 22:58

Re: [MODDB] Automatische Sommerzeit 2.0.1

Beitrag von Gast234254 »

:grin: Spitze,keine Debug Meldung mehr

Neuinstallation
bei php 3.0.6 style AeroBlue und Subsilver2

Danke :grin:
Stephan
EDIT in Prosilver auch ohne Debug Meldung :grin:
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: [MODDB] Automatische Sommerzeit 2.0.2

Beitrag von franki »

Nabend alle zusammen

Mal eine Info geb............
Ein Update von 2.0.1 auf 2.0.2 funktioniert bei meiner phpbb 3.0.6 nicht. Fehlermeldung blieb bestehen.
(phpbb3.0.6 im Testboard mit der Datenbank vom phpbb3.0.5 neu aufgebaut)

Werd bei zeiten das Mod in ein frisches 3.0.6 einbauen und schauen was da los ist.
LG Franki
Benutzeravatar
MartectX
Ehemaliger Übersetzer
Beiträge: 648
Registriert: 10.05.2008 17:08
Wohnort: Marienplatz

Re: [MODDB] Automatische Sommerzeit 2.0.2

Beitrag von MartectX »

franki hat geschrieben:Ein Update von 2.0.1 auf 2.0.2 funktioniert bei meiner phpbb 3.0.6 nicht. Fehlermeldung blieb bestehen.
(phpbb3.0.6 im Testboard mit der Datenbank vom phpbb3.0.5 neu aufgebaut)
Warum funktioniert das Update nicht? Welche Fehlermeldung bleibt bestehen?
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: [MODDB] Automatische Sommerzeit 2.0.2

Beitrag von franki »

wintstar hat geschrieben:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/automatic_dst.php on line 31: Undefined index: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4258: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4260: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4261: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4262: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Gruß
Stephan
Trotz Update, leere aller Caches und Browserwechsel keine Änderung :cry:
LG Franki
Gast234254
Gesperrt
Beiträge: 1999
Registriert: 08.02.2009 22:58

Re: [MODDB] Automatische Sommerzeit 2.0.2

Beitrag von Gast234254 »

franki hat geschrieben:
wintstar hat geschrieben:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/automatic_dst.php on line 31: Undefined index: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4258: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4260: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4261: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4262: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Gruß
Stephan
Trotz Update, leere aller Caches und Browserwechsel keine Änderung :cry:
Ich kann nur sagen bei neuinstallation hab ich weder bei Opera, Firefox noch Internet Explorer eine Debugmeldung, auch nicht bei weiteren einabauten von Mods.
Gruß
Stephan
Antworten

Zurück zu „[3.0.x] Mods in Entwicklung“