Tidak Bisa Install Plugin Di Localhost XAMPP


Status
Not open for further replies.

Nadse

Beginner 1.0
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
 
Status
Not open for further replies.

Top