Wordpress Won't Install Plugins

6 replies
Hey Warriors,

I'm having an issue with a new site where I'm unable to install any plugins. I get the following error:

Code:
Downloading install package from http://downloads.wordpress.org/plugin/social-media-widget.2.9.3.zip...


Warning: touch() [function.touch]: Unable to create file /home/.../public_html/.../wp-content/uploads/social-media-widget.tmp because Permission denied in /home/.../public_html/wp-admin/includes/file.php on line 177

Warning: unlink(/home/.../public_html/.../wp-content/uploads/social-media-widget.tmp) [function.unlink]: Permission denied in /home/.../public_html/wp-admin/includes/file.php on line 489
Download failed. Destination directory for file streaming does not exist or is not writable.
I've tried setting my permissions for the folders to be 777 instead of 755 with no luck. I've also verified with my host that I'm not in any kind of PHP safe mode.

Anyone heard of this issue and know a solution? Thanks for any help!

blueboy
#install #plugins #wordpress
  • Profile picture of the author blueboy9
    So I seem to have solved this issue by simply moving the entire Wordpress file tree to another directory in the root, and then moving it back to the original location. Just a guess but it seems that the permissions just needed a "reset" and by removing and recreating the file structure, the permissions were re-created as well. If anyone knows the real technicalities behind this I'd love to learn even if its to satisfy my curiosity!
    {{ DiscussionBoard.errors[4949655].message }}
    • Profile picture of the author Tim Brownlaw
      I'm Glad that you got it sorted out.

      Is this being hosted on a local webserver ie LAMP on your PC, or on a Webhosting account?

      Cheers
      Tim
      {{ DiscussionBoard.errors[4950035].message }}
  • Profile picture of the author kayetaylor
    blueboy9 and Tim Brownlaw are both right. Any like what Tim Brownlaw said is this hosted in your local host or in you online server?
    {{ DiscussionBoard.errors[4950756].message }}
  • Profile picture of the author Golgo
    Do you try delete it and install again,what about other plugins?
    {{ DiscussionBoard.errors[4951204].message }}
  • Profile picture of the author blueboy9
    Its hosted on a webhost account, I used an ftp program to move the directories around. I was actually moving them to act as a backup so I could reinstall Wordpress to the original directory. But I ran into a database error so I aborted the reinstall and just moved the files back so the site would at least be accessible by web traffic. That's when I discovered that the permissions were working again.
    {{ DiscussionBoard.errors[4952431].message }}
  • Profile picture of the author harvest316
    I had this problem after moving my site to a new webhost. WP_TEMP_DIR in wp-config.php had an absolute path referring to the old home dir.
    {{ DiscussionBoard.errors[6096845].message }}

Trending Topics