Need Help!

Last post 03-21-2011, 2:11 PM by Eric. 3 replies.
Sort Posts: Previous Next
  •  03-19-2011, 3:41 PM 66758

    Need Help!

    I am implementing php uploader and it works but after the image is uploaded I get this error. I figured out if I remove $mvcfile->Delete(); I don't get the error. Please advise
     

    Fatal error: Uncaught exception 'Exception' with message 'unlink(/tmp/uploadertemp/persisted.97163379-8dd5-4c50-b505-232edefb5791.IMG_0470.JPG.resx) [<a href='function.unlink'>function.unlink</a>]: No such file or directory , failed to delete /tmp/uploadertemp/persisted.97163379-8dd5-4c50-b505-232edefb5791.IMG_0470.JPG.resx' , at /home/david/public_html/post/phpuploader/include_phpuploader.php line 1176' in /home/david/public_html/post/phpuploader/include_phpuploader.php:77 Stack trace: #0 /home/david/public_html/post/phpuploader/include_phpuploader.php(1176): PhpUploader_Delete() #1 /home/david/public_html/post/upload.php(60): PhpUploadFile->Delete('/home/david/pub...', 1176, '/tmp/uploaderte...') #2 {main} thrown in /home/david/public_html/post/phpuploader/include_phpuploader.php on line 77
  •  03-19-2011, 8:55 PM 66760 in reply to 66758

    Re: Need Help!

    Hi cyberguy28,
     
    Which method were you using to save files, MoveTo or CopyTo?
     
    It is not necessary to Delete atfer MoveTo method has done.
     
    If you used CopyTo before $mvcfile->Delete(),
    please check the tmp path to make sure that the temp path is correct.
     
    Regards,
    Jeff 
  •  03-19-2011, 9:02 PM 66761 in reply to 66760

    Re: Need Help!

    I used move to. I've noticed some issues with the include_phpuploader.php. I have an error reporter that sends php errors to my email it sends me errors telling me that there are a bunch of undefined variables in include_phpuploader.php. I've had to remove it because it fills my email. Any Ideas?
  •  03-21-2011, 2:11 PM 66779 in reply to 66761

    Re: Need Help!

    Dear cyberguy28,
     
    Please forward the email to eric@cutesoft.net , we will check these errors.
     
    Thank you for asking
View as RSS news feed in XML