Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

localhost wordpress plugin fail, cant create a directory

  • 13-03-2016 09:14PM
    #1
    Registered Users, Registered Users 2 Posts: 943 ✭✭✭


    i get thsi message when i try to upload a plugin, i am working on a xamp localhost wordpress etc.

    Installing Plugin: bbPress 2.5.8
    Downloading install package from https://downloads.wordpress.org/plugin/bbpress.2.5.8.zip…;

    Unpacking the package…

    Could not create directory.
    i found the following code, will it work and where do put it
    chown+-R+www-data:www-data+your-wordpress-directory
    they paste into say wp content or in console


Comments

  • Registered Users, Registered Users 2 Posts: 3,890 ✭✭✭cgarvey


    You can download the plugin Zip file and extract it in the .../wp-content/plugins/ folder directly, if that's easier.

    Otherwise, you'll have to change the owner of the Wordpress install directory to the user your web server runs as. A quick Google throws up this which looks to fix your issue.


  • Registered Users, Registered Users 2 Posts: 943 ✭✭✭raher1


    cgarvey wrote: »
    You can download the plugin Zip file and extract it in the .../wp-content/plugins/ folder directly, if that's easier.

    Otherwise, you'll have to change the owner of the Wordpress install directory to the user your web server runs as. A quick Google throws up this which looks to fix your issue.

    Thank you, I was going off on a mad tangent there.
    I think placing files in the wp content is a good start and it worked, I have mini version in place, not all the files are useable


  • Registered Users, Registered Users 2 Posts: 6,272 ✭✭✭Buford T Justice


    What OS are you using to host the site?


  • Registered Users, Registered Users 2 Posts: 943 ✭✭✭raher1


    What OS are you using to host the site?
    OS X 10.9.5 mac pro


  • Registered Users, Registered Users 2 Posts: 943 ✭✭✭raher1


    cgarvey wrote: »
    You can download the plugin Zip file and extract it in the .../wp-content/plugins/ folder directly, if that's easier.

    Otherwise, you'll have to change the owner of the Wordpress install directory to the user your web server runs as. A quick Google throws up this which looks to fix your issue.

    they both worked, so far so good....always something as you go along


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,272 ✭✭✭Buford T Justice


    The web server doesn't have permission (or didn't) to create the folder, which is why you were getting that error it seems. chmod would solve it, but you've already rectified the issue.


  • Registered Users, Registered Users 2 Posts: 943 ✭✭✭raher1


    The web server doesn't have permission (or didn't) to create the folder, which is why you were getting that error it seems. chmod would solve it, but you've already rectified the issue.

    What is a chmod? I read up but not sure what it means and where you put it.


  • Registered Users, Registered Users 2 Posts: 6,272 ✭✭✭Buford T Justice


    chmod is a command for changing permssions on a folder or file. Since its a local system you're working on you would have been safe enough to use a chmod -R -777 folderName

    this will change the permissions recursively on the folder to read write and execute for all users, groups and the world.

    Fine for local development

    Wiki


Advertisement