Seite 1 von 1

fehlermeldung bei uploads

Verfasst: 12.04.2003 14:53
von leif
hallo...ich hab gerade das problem das folgende fehlermeldung kommt wenn man versucht nen avatar oder profile photo hoch zu laden
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/phpcHTqJI) is not within the allowed path(s): (/home/www/htdocs/really2hot4you.de/.) in /home/www/htdocs/really2hot4you.de/phpBB2/profilephoto_mod.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/really2hot4you.de/phpBB2/profilephoto_mod.php:164) in /home/www/htdocs/really2hot4you.de/phpBB2/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/really2hot4you.de/phpBB2/profilephoto_mod.php:164) in /home/www/htdocs/really2hot4you.de/phpBB2/includes/page_header.php on line 481

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/really2hot4you.de/phpBB2/profilephoto_mod.php:164) in /home/www/htdocs/really2hot4you.de/phpBB2/includes/page_header.php on line 482
hab die avatar und images/photo verzeichnisse schon auf 777 .( weiss jemand woran es liegt? hab leider noch ned viel ahnung von php.
webspace is der von levanzo..falls es damit was zu tun hat.

thx
Leif

Verfasst: 12.04.2003 14:59
von |Crazor|
naja, die open basedir restriction besagt, dass du nicht auf dateien außerhalb des roots von deinem webspace zugreifen darfst.
wenn du etwas uploadest, landet das im ordner /tmp ganz oben im verzeichnisbaum deines (linux-)servers. und da darfst du das wohl nicht rausholen wegen open_basedir
lösung kann ich aber auch keine anbieten =/

Verfasst: 12.04.2003 15:05
von leif
aaaah dankee....hast mir damit trotzdem super weitergeholfen. jetz gehts *megasmile*
hatte am anfang als ich webspace bekam mal tmp ordner gelöscht der schon da war, weil ich dachte das der überflüssig ist. hatte also keinen. jetz hab ich ihn erstellt, und 777 gegeben und jetz gehts.
Daaaaaaaankeeee

*kiste bier hinstell* :O)

P.s: gibts irgendwas gutes wo man recht leicht php lernen kann? sowas wie selfhtml bei html? :O) schnall da nämlich bisher nicht wirklich viel.
oder irgend nen gutes buch?

Verfasst: 12.04.2003 15:07
von |Crazor|
*kiste bier hinstell*
jever bidde, dange =)

naja das mit dem erstellen von dem tmp ordner is auch ned schlecht, nette lösung seitens deines providers.

zum lernen gugg ma auf http://php-center.de. damit hab ich vorn paar jahren auch angefangen ^^