Seite 19 von 22

Verfasst: 22.12.2008 20:52
von MisterH
Hallo,

danke für die Hilfe. Es geht!!!

Ich war schon am verzweifeln...

Grüße

Chris

Re: [MODDB] Automatische Sommerzeit

Verfasst: 28.01.2009 10:15
von Christian Spitzhüttl
Hi!

Habe mein Forum gestern zum Teil verhauen, aber soweit läuft es wieder. Bis auf diese Fehlermeldung im Header:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/session.php on line 1497: Use of undefined constant DST_ON - assumed 'DST_ON'
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1497: Use of undefined constant DST_AUTO - assumed 'DST_AUTO'

17Mal:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2069: Use of undefined constant DST_AUTO - assumed 'DST_AUTO'
session.php - Line 1497:

Code: Alles auswählen

			$this->dst = ($this->data['user_dst'] == DST_ON || $this->data['user_dst'] == DST_AUTO && date('I')) ? 3600 : 0;
session.php - Line 2069:

Code: Alles auswählen

		$date_cache[$format]['zone_offset'] = ($this->data['user_dst'] == DST_AUTO) ? $this->timezone + date('I', $gmepoch) * 3600 : $this->timezone + $this->dst;
Ich habe zwar noch eine Meldung, aber die dürfte nichts mit der Automatischen Umstellung zu tun haben:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3736: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3737: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3738: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
Könnt Ihr mir vielleicht Helfen?

Danke,
Christian

Re: [MODDB] Automatische Sommerzeit

Verfasst: 28.01.2009 14:38
von Tuxman
Du hast Recht, das dürfte damit nichts zu tun haben.

Du hast offenbar vergessen, die Konstanten zu definieren. :grin:

Re: [MODDB] Automatische Sommerzeit

Verfasst: 28.01.2009 16:24
von Christian Spitzhüttl
Tuxman hat geschrieben:Du hast offenbar vergessen, die Konstanten zu definieren. :grin:
Könntest du mir dies mal Erklären?

Re: [MODDB] Automatische Sommerzeit

Verfasst: 28.01.2009 17:13
von Tuxman
Prüf mal deine Änderungen in /includes/constants.php.

Re: [MODDB] Automatische Sommerzeit

Verfasst: 28.01.2009 17:58
von Christian Spitzhüttl
Dort fand sich der Übeltäter. Blöd, wenn man Änderungen macht, diese jedoch nicht Speichert... :oops:

Danke fürs Helfen,
Christian

Re: [MODDB] Automatische Sommerzeit

Verfasst: 13.02.2009 22:12
von MartectX
Nötige Änderungen für Kompatibilität mit alightners phpBB Calendar:

ÖFFNEN

calendarpost.php

FINDEN

Code: Alles auswählen

$event_start_date = gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year'] ) - $user->timezone - $user->dst;
ERSETZEN MIT

Code: Alles auswählen

$event_start_date = gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year'] ) - $user->timezone - 3600 * date('I', gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year']));
FINDEN

Code: Alles auswählen

$event_end_date = gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ) - $user->timezone - $user->dst;
ERSETZEN MIT

Code: Alles auswählen

$event_end_date = gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ) - $user->timezone - 3600 * date('I', gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ));
ÖFFNEN

includes/functions_calendar.php

FINDEN

Code: Alles auswählen

$event_days_time = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - $user->dst;
ERSETZEN MIT

Code: Alles auswählen

$event_days_time = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - 3600 * date('I', gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year']));
FINDEN

Code: Alles auswählen

$row['event_start_time'] = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - $user->dst;
ERSETZEN MIT

Code: Alles auswählen

$row['event_start_time'] = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - 3600 * date('I', gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year']));

Re: [MODDB] Automatische Sommerzeit

Verfasst: 15.02.2009 23:59
von MartectX
ÖFFNEN

calendarpost.php

FINDEN

Code: Alles auswählen

	// translate event start and end time into user's timezone
	$event_start = $event_data['event_start_time'] + $user->timezone + $user->dst;
	$event_end = $event_data['event_end_time'] + $user->timezone + $user->dst;
ERSETZEN MIT

Code: Alles auswählen

	// translate event start and end time into user's timezone
	$event_start = $event_data['event_start_time'] + $user->timezone + 3600 * date('I', $event_data['event_start_time']);
	$event_end = $event_data['event_end_time'] + $user->timezone + 3600 * date('I', $event_data['event_start_time']);

Re: [MODDB] Automatische Sommerzeit

Verfasst: 20.02.2009 18:46
von Papa101
Ihr braucht euch kaum noch mühe geben. Ich stör ja nur ungern die Sommerzeit-Party, aber seht mal hier....

http://www.tagesschau.de/inland/zeitumstellung16.html

...aber wer´s trotsdem noch haben möchte... :wink:

Re: [MODDB] Automatische Sommerzeit

Verfasst: 20.02.2009 19:07
von nickvergessen
Papa101 hat geschrieben:Ihr braucht euch kaum noch mühe geben. Ich stör ja nur ungern die Sommerzeit-Party, aber seht mal hier....

http://www.tagesschau.de/inland/zeitumstellung16.html

...aber wer´s trotsdem noch haben möchte... :wink:
Stand: 01.04.2008 00:01 Uhr
Ich weiß ja nicht, ob sich da wer nen Aprilscherz draus gemacht hat =/