Hallo Netcup.
Bei mir im Forum kann ich leider keine Dateianhänge mehr hochladen. Komischerweise konnte ich das aber vorher.
Folgende Fehlermeldung kommt.
Code
[COLOR=#000000][COLOR=#0000BB]Fatal error[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]PHP warning in file [/COLOR][COLOR=#007700]/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]wcf[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]lib[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]data[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]attachment[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]MessageAttachmentListEditor[/COLOR][COLOR=#007700].class.[/COLOR][COLOR=#0000BB]php [/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]181[/COLOR][COLOR=#007700]): [/COLOR][COLOR=#0000BB]sha1_file[/COLOR][COLOR=#007700]() [<[/COLOR][COLOR=#0000BB]a href[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]'function.sha1-file'[/COLOR][COLOR=#007700]>function.[/COLOR][COLOR=#0000BB]sha1[/COLOR][COLOR=#007700]-[/COLOR][COLOR=#0000BB]file[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]a[/COLOR][COLOR=#007700]>]: [/COLOR][COLOR=#0000BB]open_basedir restriction in effect[/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]File[/COLOR][COLOR=#007700](/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]phptmp[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php6EyXN7[/COLOR][COLOR=#007700]) [/COLOR][COLOR=#0000BB]is not within the allowed path[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]s[/COLOR][COLOR=#007700]): (/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]:/[/COLOR][COLOR=#0000BB]usr[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]share[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php[/COLOR][COLOR=#007700]:/var/[/COLOR][COLOR=#0000BB]lib[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php5[/COLOR][COLOR=#007700]:/[/COLOR][COLOR=#0000BB]tmp[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]Information[/COLOR][COLOR=#007700]:
[/COLOR][COLOR=#0000BB]error message[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]PHP warning in file [/COLOR][COLOR=#007700]/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]wcf[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]lib[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]data[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]attachment[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]MessageAttachmentListEditor[/COLOR][COLOR=#007700].class.[/COLOR][COLOR=#0000BB]php [/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]181[/COLOR][COLOR=#007700]): [/COLOR][COLOR=#0000BB]sha1_file[/COLOR][COLOR=#007700]() [<[/COLOR][COLOR=#0000BB]a href[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]'function.sha1-file'[/COLOR][COLOR=#007700]>function.[/COLOR][COLOR=#0000BB]sha1[/COLOR][COLOR=#007700]-[/COLOR][COLOR=#0000BB]file[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]a[/COLOR][COLOR=#007700]>]: [/COLOR][COLOR=#0000BB]open_basedir restriction in effect[/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]File[/COLOR][COLOR=#007700](/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]phptmp[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php6EyXN7[/COLOR][COLOR=#007700]) [/COLOR][COLOR=#0000BB]is not within the allowed path[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]s[/COLOR][COLOR=#007700]): (/var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]:/[/COLOR][COLOR=#0000BB]usr[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]share[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php[/COLOR][COLOR=#007700]:/var/[/COLOR][COLOR=#0000BB]lib[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]php5[/COLOR][COLOR=#007700]:/[/COLOR][COLOR=#0000BB]tmp[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]error code[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]0
file[/COLOR][COLOR=#007700]: /var/[/COLOR][COLOR=#0000BB]www[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]web278[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]wcf[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]lib[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]system[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]WCF[/COLOR][COLOR=#007700].class.[/COLOR][COLOR=#0000BB]php [/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]281[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]php version[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]5.2.6[/COLOR][COLOR=#007700]-[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]+[/COLOR][COLOR=#0000BB]lenny9
wcf version[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]1.1.3 [/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]Tempest[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]date[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]Thu[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]25 Nov 2010 16[/COLOR][COLOR=#007700]:[/COLOR][COLOR=#0000BB]06[/COLOR][COLOR=#007700]:[/COLOR][COLOR=#0000BB]46 [/COLOR][COLOR=#007700]+[/COLOR][COLOR=#0000BB]0000
request[/COLOR][COLOR=#007700]: /[/COLOR][COLOR=#0000BB]index[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]php[/COLOR][COLOR=#007700]?[/COLOR][COLOR=#0000BB]form[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]PostAdd[/COLOR][COLOR=#007700]&[/COLOR][COLOR=#0000BB]threadID[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]16
referer[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]http[/COLOR][COLOR=#007700]:[/COLOR][COLOR=#FF8000]//wellensittichportal.de/index.php?form=PostAdd&threadID=16
[/COLOR][COLOR=#0000BB]Stacktrace[/COLOR][COLOR=#007700]:
[/COLOR][COLOR=#FF8000]#0 /var/www/web278/html/wcf/lib/data/attachment/MessageAttachmentListEditor.class.php(181): WCF::handleError(2, 'sha1_file() [<a...', '/var/www/web278...', 181, Array)
#1 /var/www/web278/html/lib/form/ThreadAddForm.class.php(160): MessageAttachmentListEditor->handleRequest('/var/www/web278...')
#2 /var/www/web278/html/wcf/lib/form/AbstractForm.class.php(90): ThreadAddForm->submit()
#3 /var/www/web278/html/wcf/lib/form/CaptchaForm.class.php(104): AbstractForm->readData()
#4 /var/www/web278/html/wcf/lib/form/MessageForm.class.php(193): CaptchaForm->readData()
#5 /var/www/web278/html/lib/form/ThreadAddForm.class.php(369): MessageForm->readData()
#6 /var/www/web278/html/lib/form/PostAddForm.class.php(243): ThreadAddForm->readData()
#7 /var/www/web278/html/wcf/lib/page/AbstractPage.class.php(90): PostAddForm->readData()
#8 /var/www/web278/html/wcf/lib/form/MessageForm.class.php(237): AbstractPage->show()
#9 /var/www/web278/html/lib/form/ThreadAddForm.class.php(434): MessageForm->show()
#10 /var/www/web278/html/lib/form/PostAddForm.class.php(312): ThreadAddForm->show()
#11 /var/www/web278/html/wcf/lib/page/AbstractPage.class.php(46): PostAddForm->show()
#12 /var/www/web278/html/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
#13 /var/www/web278/html/wcf/lib/util/RequestHandler.class.php(95): RequestHandler->__construct()
#14 /var/www/web278/html/index.php(8): RequestHandler::handle('PostAdd', Array, 'form')
#15 {main}[/COLOR][/COLOR]
Alles anzeigen
In einem anderen Supportforum sagte man mir ich sollte mich an den Hoster wenden, da irgendwas in der php.ini eingestellt werden muss.
ZitatHallo,
du musst in deiner PHP Konfiguration unter den basedir Restrictions den Pfad "/var/www/web278/phptmp/" hinzufügen.
Könnt ihr mir helfen?