Reply to Issue : Local file doesn't exist

Issue : Local file doesn't exist new!
by sorryss, 11 years, 2 months ago
I am getting this message when i attempt to upload an image.

"Local file doesn't exist"

here is my log;

system information
- class version : 0.31
- operating system : Darwin
- PHP version : 5.4.4
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- upload_max_filesize : 32M (33554432 bytes)
- language : en_GB
source is a local file parla_94673.jpg


Here is my code;
$handle = new upload($_FILES['avatar']['name']);
if($handle->uploaded) {
  $handle->process(STORAGE_DIRECTORY);
  if($handle->processed) {
    $response = array('status' => 'true');
    $handle->clean();
  } else $response = array('status' => 'false');
} else $response = array('status' => 'false');

Any help would be very appreciated. Thanks!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