Hello,
My users reported that they were unable to attach files. I did a test and this is what it said.
I checked the functions.php, on that line it says(and lines below):
Im not sure what is wrong.
Any help would be greatly appreciated.
-Mike
My users reported that they were unable to attach files. I did a test and this is what it said.
Warning: filesize() [function.filesize]: open_basedir restriction in effect. File(/tmp/phpH5Ln0m) is not within the allowed path(s): (/home/) in /home/revo7/public_html/forum/admin/functions.php on line 1751
$filesize=filesize($attachment);
if ($maxattachsize!=0 and $filesize>$maxattachsize) {
// too big!
@unlink($attachment);
eval("standarderror(\"".gettemplate("error_attachtoobig")."\");");
exit;
}
if ($maxattachsize!=0 and $filesize>$maxattachsize) {
// too big!
@unlink($attachment);
eval("standarderror(\"".gettemplate("error_attachtoobig")."\");");
exit;
}
Any help would be greatly appreciated.
-Mike
Comment