Я получаю следующую ошибку:
The "C:\xampp\tmp\php49D8.tmp" file does not exist or is not readable.
Но файл успешно скопирован
Код моего контроллера:
$fileResult=$file->move(self::UPLOAD_DIR, $name_file);
if(!$fileResult){
$result = array("status" => "500",
"error"=> array("error" => "Error in the file move"));
return response(json_encode( $result ), $result["status"])
->header("Content-Type", "application/json");
}
Снимок экрана: здесь
Почему может быть проблема?