I found the answer by trial and error on the problem before this. I have been getting this error message after someone tries to upload an image that is too big:
Warning : fopen(/tmp/php3mvoUh): failed to open stream: No such file or directory in /home/xxx/public_html/forum/newattachment.php on line 154
Warning : fread(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 155
Warning : fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 156
Those lines are:
$filenum = fopen($attachment,"rb");-----> line 154
$filestuff = fread($filenum,$filesize);------->line 155
fclose($filenum);-------->156
Also am I the only one who has entire posts deleted if someone tries to edit a post with an image in it? I am running 2.3.3
Thanks for the help.
|