Reply to Re: Restrict image by file size

Re: Restrict image by file size new!
by colin, 15 years, 5 months ago
I am not too sure what can be the cause. The line 3036 is part of the code which checks that the destination directory is writable. It attemps to create a temp file (which it seems to have done with success, and then deletes it on line 3036).

Can you replace this line with the following?
echo $this->log; 
unlink($this->file_dst_path . $hash . '.' . $this->file_dst_name_ext);

So we should have more information.

And are you sure it fails only when you use file_max_size code?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important