Strona 1 z 1

błąd przy wczytywaniu avatara

: 16 lutego 2010, 21:02
autor: matius71
Mam problem, gdy chcę wczytać nowy avatar wyskakuje mi taki błąd:

Kod: Zaznacz cały

[phpBB Debug] PHP Notice: in file /includes/functions_upload.php on line 811: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/matius/:/tmp:/usr/local/lib/php/:/usr/sbin/:/usr/bin/:/usr/local/bin/:/usr/local/sbin/:/bin/:/sbin/)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
nie wiem czy to ma jakiś związek ale ostatnio instalowałem "phpBB_SEO_Ultimate_SEO_URL_v0.6.2 oraz gym_sitemapsV2-0-0 PL

Re: błąd przy wczytywaniu avatara

: 16 lutego 2010, 23:20
autor: Widmo
Otwórz: includes/functions_upload.php
Znajdź:

Kod: Zaznacz cały

$tmp_path = (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') ? false : $phpbb_root_path . 'cache'; 
Zamień na:

Kod: Zaznacz cały

$tmp_path = /*(!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') ? false :*/ $phpbb_root_path . 'cache';