Problem uploading wordpress plugin

Discussion in 'Programming' started by NewTier, Nov 22, 2009.

  1. #1
    I use the admin panel and it works for other plugins but some of them say

    Unpacking the package.

    Could not copy file /public_html/wp-content/upgrade/wordspinner/wordspinner/wordspinner.php


    What can I do to fix it?
     
    NewTier, Nov 22, 2009 IP
  2. mtrawka

    mtrawka Peon

    Messages:
    2
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Tray to upload plugin directly thought FTP to wp-content/plugins and then install it manualy in admin panel > plugins
     
    mtrawka, Nov 22, 2009 IP
    NewTier likes this.
  3. Oyaye

    Oyaye Peon

    Messages:
    56
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    chmod the directory to 777 , if not..try to do it manually. you might not have enough permission.
     
    Oyaye, Nov 22, 2009 IP
    NewTier likes this.
  4. japanninja

    japanninja Active Member

    Messages:
    54
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    50
    #4
    Also, if you add the following lines to wp-config, you will not be asked for password everytime you install/update a plugin:
    
    putenv('TMPDIR=' . ini_get('upload_tmp_dir'));
    /** Override default file permissions */
    if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
    }
    
    Code (markup):
     
    japanninja, Nov 22, 2009 IP
    NewTier likes this.
  5. NewTier

    NewTier Notable Member

    Messages:
    2,201
    Likes Received:
    196
    Best Answers:
    0
    Trophy Points:
    250
    #5
    thanks guys rep added
     
    NewTier, Nov 23, 2009 IP