Jump to content

Screenshot Error [SOLVED]


CPC900

Recommended Posts

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?!??

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...