相关疑难解决方法(0)

Wordpress要求我的FTP凭据来安装插件

我在本地系统中安装了一个Wordpress博客.但是当我尝试从管理员添加插件时,它要求FTP访问.我需要为Wordpress配置什么才能在没有FTP的情况下上传?

ftp wordpress

104
推荐指数
12
解决办法
8万
查看次数

Wordpress插件安装:无法创建目录

我在centos 6上使用wordpress.

我尝试安装插件.但我得到了这个错误:

安装插件:bbPress 2.5.9从https://downloads.wordpress.org/plugin/bbpress.2.5.9.zip下载安装包...

打开包装......

无法创建目录.

我怎么解决这个问题?

P/S:我运行这个命令:

sudo -u root touch /var/www/html/wordpress/wp-content/plugins/test.txt

它的工作原理.但我仍然得到那个错误.

php ftp wordpress

27
推荐指数
9
解决办法
7万
查看次数

在此服务器上找不到Wordpress JsonAPI - /wp-json /

我使用以下插件Json Rest API.

要测试插件,文档说明我应该使用:

$ curl -i http://testpress-maxximus.rhcloud.com/wp-json/
HTTP/1.1 404 Not Found
Date: Sat, 24 May 2014 07:01:21 GMT
Server: Apache/2.2.15 (Red Hat)
Content-Length: 303
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /wp-json/ was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at testpress-maxximus.rhcloud.com Port 8
0</address>
</body></html>
Run Code Online (Sandbox Code Playgroud)

正如您所看到的,URL没有找到任何内容.如果API或wordpress出现问题,是否有任何建议?

感谢您的回复

wordpress json wordpress-plugin openshift

25
推荐指数
6
解决办法
3万
查看次数

无法删除旧插件

我正在尝试更新客户端站点上的插件,我收到多个插件的错误.他正在使用plesk.

Downloading update from https://downloads.wordpress.org/plugin/awesometastic.131026.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin update failed.


An error occurred while updating Awesometastic Plugin: Could not remove the old plugin.
Run Code Online (Sandbox Code Playgroud)

我确定它与目录权限有关,但是,有人可以向我解释可能存在的问题以及如何解决这个问题?

谢谢!

permissions wordpress plugins file-permissions plesk

4
推荐指数
2
解决办法
1万
查看次数

Wordpress无法安装插件:无法找到WordPress插件目录

我无法在Centos 6 VPS上安装插件.当我尝试安装时,我得到了这个:

Installing Plugin: BotDetect WordPress CAPTCHA 3.0.Beta1.7

Downloading install package from
[web path to:]botdetect-wp-captcha.zip…
Unpacking the package…
Could not create directory.
Return to Plugin Installer
Run Code Online (Sandbox Code Playgroud)

更新:这似乎与权限有关 - 我猜是有一些组织wordpress需要成为更改文件夹,创建文件等的一部分,但我无法弄清楚该组应该是什么是.我没有www-data组 - 我在某处读到了有关此要求的内容.有人可以告诉我WP需要存在哪些组和权限?

更新:我已经chmodded权限,以我的插件和上传文件夹,777我也已经创建了一个FTP用户专门针对WordPress的和做的主目录是用户同我WordPress的根文件夹作为推荐这里.然后我在wp-config.php文件中更改了这些行:

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__ . "/"));

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Run Code Online (Sandbox Code Playgroud)

至:

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__));

/** Sets …
Run Code Online (Sandbox Code Playgroud)

wordpress wordpress-plugin

4
推荐指数
2
解决办法
2万
查看次数

WordPress - 通过自动更新强化权限?

有没有办法让 WordPress 自动更新,同时仍然使用强化权限?

\n

看来 WordPress 的推荐安全设置是使用强化权限,这主要是使用此答案中给出的权限来实现的。但是,这些权限导致 WordPress 无法自动更新,或者通过管理员 Web 界面使用更新,从而导致错误:

\n
Downloading update from https://downloads.wordpress.org/release/wordpress-x.x.x-partial-x.zip\xe2\x80\xa6\n\nUnpacking the update\xe2\x80\xa6\n\nThe update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php\n\nInstallation Failed\n
Run Code Online (Sandbox Code Playgroud)\n

通过允许网络服务器更新,update-core.php我们违反了强化的权限(据我所知)。不幸的是,如果没有自动更新,我们还存在无法获得自动安全更新的问题,这会导致另一个安全问题。有没有办法允许自动更新而不需要弱权限?在允许自动更新的同时可以使用的最强权限是什么?这个权限是否足够强大?

\n

permissions wordpress

4
推荐指数
1
解决办法
1658
查看次数