Error in Inserting Image in a WP Site

by dee4d
8 replies
  • WEB DESIGN
  • |
Hi warriors, I have this error when uploading an image in an article:
"The uploaded file could not be moved to /home/<<nameofsite>>/public_html/wp-content/uploads/2011/11/15."

Any ideas on how to crack this one?
#error #image #inserting #site #wordpress
  • Profile picture of the author andrejvasso
    Originally Posted by dee4d View Post

    Hi warriors, I have this error when uploading an image in an article:
    "The uploaded file could not be moved to /home/<<nameofsite>>/public_html/wp-content/uploads/2011/11/15."

    Any ideas on how to crack this one?
    Without further infos, its hard to tell...

    A wild guess: your upload dir is not "write-able".
    {{ DiscussionBoard.errors[5055725].message }}
  • Profile picture of the author dee4d
    Thanks about that, let me check it out Andre
    Signature
    Stay Healthy all your Life, and Avoid Lifesty Diseases Later in Life. Enjoy life to the fullest.
    {{ DiscussionBoard.errors[5055751].message }}
    • Profile picture of the author andrejvasso
      Originally Posted by dee4d View Post

      Thanks about that, let me check it out Andre
      p.s. if you are looking for how to check, i think this official guide will help.
      {{ DiscussionBoard.errors[5055791].message }}
  • Profile picture of the author dee4d
    Looking at it.
    Signature
    Stay Healthy all your Life, and Avoid Lifesty Diseases Later in Life. Enjoy life to the fullest.
    {{ DiscussionBoard.errors[5055804].message }}
  • Profile picture of the author NicheMagic
    Check the permission of the upload folder.

    you'll have to log into the FTP click click on the folder ( or select them all ) look for chMOD or change attributes some say different things but mean the same. then change the settings to 777 this will make all files and folders writable. Afterwards you can change it back to 755 if you want. But I never do.
    {{ DiscussionBoard.errors[5058016].message }}
    • Profile picture of the author MikeKey
      Originally Posted by NicheMagic View Post

      Check the permission of the upload folder.

      you'll have to log into the FTP click click on the folder ( or select them all ) look for chMOD or change attributes some say different things but mean the same. then change the settings to 777 this will make all files and folders writable. Afterwards you can change it back to 755 if you want. But I never do.
      You sir are correct. Generally when WordPress is installed via a script on hosting like Host Gator or another service using CPanel, Plesk, etc. It should automatically be set to CHMOD 755.

      Sometimes that can change, and sometimes even the ownership of the files can change.

      If you installed WordPress manually on your own, you'll need to use an FTP program, such as FireZilla to change it to 777.

      Best advice, 777 the whole uploads directory and avoid error messages.
      Signature

      Want to be rich? Here's the secret: SPEND LESS THAN YOU EARN.

      {{ DiscussionBoard.errors[5058109].message }}
    • Profile picture of the author andrejvasso
      Originally Posted by NicheMagic View Post

      Check the permission of the upload folder.

      you'll have to log into the FTP click click on the folder ( or select them all ) look for chMOD or change attributes some say different things but mean the same. then change the settings to 777 this will make all files and folders writable. Afterwards you can change it back to 755 if you want. But I never do.
      I have already told the OP that the problem is probably related due a not writeable upload dir.

      Anyways, what i really wanted to say:

      You leave dirs of your site with chmod 777??? I suppose you are not using a 100% right configured server, but use a shared hosting, am I right? If so:

      Are you insane or do you really want to get hacked?!

      Change that stuff immediately and stop giving such horrible advises!!!

      @OP:never chmod 777 a dir on your shared websever if you not absolutely have to - and in case you have to - change it back when you have done your changes!
      {{ DiscussionBoard.errors[5058542].message }}
  • Profile picture of the author dee4d
    Your help is awesome warriors. I solved the problem yesterday, thanks to your intuitive contributions. Thanks again to you all. Now I can go back to working on my site and update the pending work.
    Signature
    Stay Healthy all your Life, and Avoid Lifesty Diseases Later in Life. Enjoy life to the fullest.
    {{ DiscussionBoard.errors[5074062].message }}

Trending Topics