Seite 17 von 32

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 27.10.2009 21:12
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

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 02.11.2009 04:02
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

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 03.11.2009 13:57
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).

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 18.11.2009 08:35
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

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 18.11.2009 21:11
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!)

Re: [MODDB] Automatische Sommerzeit 2.0.1

Verfasst: 19.11.2009 07:09
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:

Re: [MODDB] Automatische Sommerzeit 2.0.2

Verfasst: 20.11.2009 23:09
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.

Re: [MODDB] Automatische Sommerzeit 2.0.2

Verfasst: 20.11.2009 23:29
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?

Re: [MODDB] Automatische Sommerzeit 2.0.2

Verfasst: 21.11.2009 16:45
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:

Re: [MODDB] Automatische Sommerzeit 2.0.2

Verfasst: 21.11.2009 17:20
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