CPC900 Posted July 22, 2012 Report Share Posted July 22, 2012 Users are getting this error: [b]Warning[/b]: move_uploaded_file(pics/1342931448_fsx 2012-04-05 20-23-48-76.jpg) [[url="http://www.canadianclassicairlines.com/CPC/index.php/function.move-uploaded-file"]function.move-uploaded-file[/url]]: failed to open stream: Permission denied in [b]/home/woodsdom/public_html/CPC/core/modules/Screenshots/Screenshots.php[/b] on line [b]72[/b] [b]Warning[/b]: move_uploaded_file() [[url="http://www.canadianclassicairlines.com/CPC/index.php/function.move-uploaded-file"]function.move-uploaded-file[/url]]: Unable to move '/tmp/phpfdaQXz' to 'pics/1342931448_fsx 2012-04-05 20-23-48-76.jpg' in [b]/home/woodsdom/public_html/CPC/core/modules/Screenshots/Screenshots.php[/b] on line [b]72[/b] There was an error uploading the file, please try again! and line 72 is: if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { Now, I did not notice, because it was fine for me, but obviously I am the administrator. I am assuming it is a folder/file permission thing, or no?!?? Quote Link to comment Share on other sites More sharing options...
Fernando Posted July 22, 2012 Report Share Posted July 22, 2012 You recently moved to this file? please post your code to evaluate. this error happens when the filename has many separate characters, rename photo if the problem persists send me your file to better evaluate. Commercial Pilot - Luiz Fernando Administrative Department www.voeazulvirtual.com/acars Quote Link to comment Share on other sites More sharing options...
CPC900 Posted July 23, 2012 Author Report Share Posted July 23, 2012 Never mind It was a file permissions adjustment and all is well now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.