• I think i have a permissions problem uploading files here.

    First I got an error saying WordPress cannot create directories in the wp-content/upload folder, so I created them manually and chmodded them to have permissions, but now i get this error:


    Warning: move_uploaded_file(/home/kamatsu/public_html/wp-content/uploads/2005/12/1.jpg): failed to open stream: Permission denied in /home/kamatsu/public_html/wp-admin/admin-functions.php on line 1757


    Warning: move_uploaded_file(): Unable to move '/tmp/php8O9Z4k' to '/home/kamatsu/public_html/wp-content/uploads/2005/12/1.jpg' in /home/kamatsu/public_html/wp-admin/admin-functions.php on line 1757
    The uploaded file could not be moved to .

    I think it’s something to do with .htaccess files, as they are not present in /wp-content or any of it’s subfolders and all the posts i’ve read seem to assume they exist. What should I do to allow uploading to work?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check whether your web server (httpd?) has permission to write to the directory wp-content/uploads/2005/12.

    Thread Starter kamatsu

    (@kamatsu)

    I’m hosting mine externally i.e with Cpanel + Apache on a linux server. How would I be able to do this? I resell my own hosting so i have access to the WHM if necessary.

    Moderator James Huff

    (@macmanx)

    The /wp-content/ directory and all upload directorys need to have their permissions set to 777 (CHMOD 777). You can set this with any FTP client.

    Thread Starter kamatsu

    (@kamatsu)

    Yes i already said i’ve chmodded all permissions.

    Thread Starter kamatsu

    (@kamatsu)

    Oh problem solved. My webhost had a restriction that kept de-chmodding my folders to 755.. >< So i yelled at him until he fixed it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem Uploading Files’ is closed to new replies.