Seite 1 von 2

Error bei Avatar upload per URL

Verfasst: 07.02.2008 18:55
von Christina_ZH
Hi zusammen

Ich bekomme folgenden Error wenn ich versuche ein Avatar upload per URL zu machen.
[phpBB Debug] PHP Notice: in file /includes/functions_upload.php on line 745: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/mytmp/i/g/xx-xx-xx.com:/tmp:/mytmp/sendmail:/home/httpd/cgi-bin:/usr/share/php:/home/i/g/xx-xx-xx.com::/
opt/saferpay/:/home/etc2/gbooksrc/:/home/httpd/php/:/home/etc2/Counter/:/usr/lib/php5/lib/php/extensions/:/usr/lib/php4/lib/php/extensions/)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Dieser Error hat ich bereit vor dieses Problem gelösst wurde

kann mir jemand eventuell helfen?

Verfasst: 07.02.2008 19:30
von bantu
Hast du einen tmp-Ordner in images/avatars/upload ?

Verfasst: 07.02.2008 19:58
von Christina_ZH
Ein einen tmp-Ordner? Ne der hab ich nicht. Muss ich da noch einen anlegen?

Verfasst: 07.02.2008 20:01
von bantu
Ja. Da bei dir open_basedir aktiviert ist. Siehe dazu auch: KB:avatar_upload

Verfasst: 07.02.2008 22:42
von Christina_ZH
Ja ich sehe wo das Problem ist. Der Server hat die Sicherheit hochgeschraubt und erlaubt nun es nicht per URL auf dem Server zu laden und das trotz 'allow_url_fopen' ist erlaubt. Danke für die Info ich werde mich nun Definitiv mit dem Host darüber unterhalten und ihn informieren.

Nun mal präventiv. Falls dies nicht wirklich gelöst werden kann.

Wie kann ich nun den die Möglichkeit "Von URL hochladen:" raus nehmen so das nur noch die Option besteht das Avantar vom PC hochladen. Das funktioniert nämlich tadellos auch ohne 'tem' Datei.

grüsse und gute nacht

Verfasst: 07.02.2008 22:44
von bantu
Christina_ZH hat geschrieben:Wie kann ich nun den die Möglichkeit "Von URL hochladen:" raus nehmen so das nur noch die Option besteht das Avantar vom PC hochladen. Das funktioniert nämlich tadellos auch ohne 'tem' Datei.
Administrations-Bereich -> Avatare

Verfasst: 07.02.2008 22:51
von Christina_ZH
"Hochladen von Avataren erlauben: Ja kann man aber auch "Von URL hochladen:" Das genau möchte ich aber wahrscheinlich nicht mehr sondern nur noch vom eigenen PC hochgeladen werden können.

Ich denke da muss ich wohl etwas im Template editieren ... gibt dafür eine anleitung?

Verfasst: 08.02.2008 07:45
von bantu
Oh. Du hast Recht.

Hast du mal einen tmp-Ordner erstellt?

Verfasst: 08.02.2008 07:56
von Christina_ZH
Eine tmp Ordner im upload Ordner mit den rechten 777 hab ich mal erstellt

Aber leider bis jetzt ohne den erwünschten Erfolg.

Die Fehlermeldung erscheint immer noch.

Verfasst: 08.02.2008 08:00
von bantu
Eventuell stimmt da etwas mit den Pfaden nicht. Am besten kontaktierst du mal deinen Hoster. Rückmeldung ist erwünscht.