Error in Inserting Image in a WP Site

by 8 replies
9
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?
#website design #error #image #inserting #site #wordpress
  • Without further infos, its hard to tell...

    A wild guess: your upload dir is not "write-able".
  • Thanks about that, let me check it out Andre
    • [1] reply
  • Looking at it.
  • 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.
    • [2] replies
    • 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.
    • 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?!



      @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!
      • [ 1 ] Thanks
  • 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.

Next Topics on Trending Feed