Sivu 1/1

phpBB Suomi bugaa

Lähetetty: 24 Tammi 2010, 00:34
Kirjoittaja mrl586
Lurttinen ei ole määritellyt oikeaa aikavyöhykeasetusta php:n asetuksiin:
[phpBB Debug] PHP Notice: in file /index.php on line 86: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4187: 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 4189: 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 4190: 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 4191: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)

Re: phpBB Suomi bugaa

Lähetetty: 24 Tammi 2010, 02:17
Kirjoittaja Lurttinen
jep jep. hosti tekee päivityksiä justiinsa. Hyvä, että kertovat muillekin asiasta...
Näkyy olevan muutama muukin sivu rackglobalilla hassuna. :lol:
Helppohan tuo on korjata, mutta antaa hostin tehdä rauhassa.

Eiköhän se siitä, kun saavat hommat hoidettua...

Re: phpBB Suomi bugaa

Lähetetty: 25 Tammi 2010, 06:59
Kirjoittaja sauli.lepola
Lurttinen kirjoitti:rackglobalilla
:shock: Eikös ne menny konkurssiin viime vuonna.

Re: phpBB Suomi bugaa

Lähetetty: 25 Tammi 2010, 07:50
Kirjoittaja Lurttinen
Se oli se toinen räkki ko kippas. :)

Re: phpBB Suomi bugaa

Lähetetty: 16 Huhti 2010, 12:24
Kirjoittaja kizor
Niin siis miten tämä nyt korjataan ?

Tällä tavallako ?:

Kohdetiedosto: index.php
Kohdetiedoston rivi: 86
$now = date_default_timezone_set(time() + $user->timezone + $user->dst - date('Z'));


Jos tällä tavalla muuttaa timezonee ni etusivu häviää kokonaan.

Re: phpBB Suomi bugaa

Lähetetty: 16 Huhti 2010, 13:02
Kirjoittaja kizor
No joo, nyt se sitten selvis vaan runkkaamalla eli.
Kun en kerta löytänyt mistään vastausta tähän ongelmaan niin päätin laittaa pienen opastuksen yllämainitulle bugille.

- Avaa kohdetiedosto index.php
- Rivi 86: $now = getdate(time() + $user->timezone + $user->dst - date('Z'));
- Poista edellinen rivi ja laita tilalle: $now = date_default_timezone_set;
- Tallenna ja siirrä palvelimelle korvaten

Päivitä forumin etusivu, ja debug pitäisi poistua.
Mikäli ei, olet hukannut joitain tiedostoja tai ilmoittamani lauseke on itselläsi puutteellinen (tarkista!)

Kiitos.