Tidak Bisa Install Plugin Di Localhost XAMPP

Discussion in 'Desain Web dan Programming' started by Nadse, 2 Dec 2014.

Thread Status:
Not open for further replies.
  1. Nadse

    Nadse Beginner 1.0

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Sore, Rekan2 DWH
    Saya tidak bisa menginstall plugin lewat Plugin > Add New (Lewat WP Admin Dashboard), hanya bisa lewat upload manual.
    Pesan errornya adalah

    Downloading install package from https://downloads.wordpress.org/plugin/wp-super-cache.1.4.2.zip…


    Warning: unlink(D:\Xampp\tmp/wp-super-cache17.tmp): Permission denied in D:\xampp\htdocs\newproject\wp-admin\includes\file.php on line 457
    Download failed. Could not resolve host: downloads.wordpress.org


    Saya sudah atur hak akses folder tmp.
    Saya sudah atur upload_tmp_directory via php.ini

    Coba2 googling, tambah code ini ke wp-config juga tidak membuahkan hasil

    define('WP_TEMP_DIR','D:\Xampp\tmp');

    // define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/uploads/') ;

    // define( 'WP_TEMP_DIR' , ABSPATH . 'wp-content/' );
    // define('FS_METHOD', 'direct');

    // define ( 'WP_TEMP_DIR' , ABSPATH , 'tmp');

    // $path = ABSPATH .'wp-content/uploads/';
    // define('WP_TEMP_DIR',$path);

    // define('WP_TEMP_DIR', ABSPATH.'wp-content/uploads/');

    define('FS_CHMOD_DIR', (0755 & ~ umask()));
    define('FS_CHMOD_FILE', (0644 & ~ umask()));

    Pusing pala barbie.

    Ada solusikah?
    Thanks
     
  2. dpnux

    dpnux Expert 1.0

    Messages:
    455
    Likes Received:
    28
    Trophy Points:
    28
    PC yang di install XAMPP konek ke internet nggak pas install plugin?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...