←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Psychostats - function.php

Zablokowany

  • +
  • -
no name - zdjęcie no name 31.01.2011

Witam.

Zainstalowałem psychostaty, ale mam pewien problem.

Adres: PsychoStats - Player Stats

Na każdej stronie mam:

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1199 is not allowed to access /tmp owned by uid 0 in /home/startgam/domains/start-game.it-host.pl/public_html/psychostats/includes/functions.php on line 1057

Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 1199 is not allowed to access /tmp/yNNZKd owned by uid 100 in /home/startgam/domains/start-game.it-host.pl/public_html/psychostats/includes/functions.php on line 1058

Error był już przy instalacji.

Jakieś sugestie?
Odpowiedz

  • +
  • -
Siemir - zdjęcie Siemir 31.01.2011

Zmień folder tymczasowy na szablony, w panelu admina menu "Theme" opcja "Compile directory for themes" masz chyba
/tmp
zamień na
/home/startgam/domains/start-game.it-host.pl/public_html/psychostats/tmp
Odpowiedz

  • +
  • -
no name - zdjęcie no name 01.02.2011

Zmieniłem, ale dalej jest tak samo.

Dodano 01 luty 2011 - 10:14:
Ok, naprawiłem sobie.

Wystarczyło w pliku functions.php usunąć:
if ($temp_file) {
				$temp_dir = realpath(dirname($temp_file));
				unlink($temp_file);
				return $temp_dir;
			} else {
				return '';
			}

Użytkownik no name edytował ten post 01.02.2011 10:08
Odpowiedz
Zablokowany