Unable to locate WordPress Content directory (wp-content).
-
Hello,
I am a new user of WP and ubuntu,
My ubuntu details is as below
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trustyI has istalled WP in my localhost computer and it is working fine but I am not able to add any new theme I recieved the below error:
Unable to locate WordPress Content directory (wp-content).
After googling this problem I saw that the below code will solve it but in my case it doesn’t,
if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); }
I added this code at the end of wp-content.php file then I save the file but when I refresh my page I recieved the same problem.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unable to locate WordPress Content directory (wp-content).’ is closed to new replies.