1

Wordpress openbase_dir problem on Windows Server 2008 R2 and Plesk 11.0.9

I have just moved a website and it's wordpress database from an old windows server to a new one running Plesk and IIS7.

I have PHP enabled and the openbase dir is set to the web root and c:\Windows\Temp however I get the following error (see below). Wordpress is installed within the info folder from the root.

If anyone knows anything about the wordpress php file l10n.php that would be most helpful, it looks like I have a double path because the string it is trying to read is equal to this:

C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/wp-content/plugins/platinum-seo-pack/platinum_seo_pack-en_US.mo

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect.     File(C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/C:\Inetpub\vhosts\creative-    steps.com\httpdocs\info/wp-content/plugins/platinum-seo-pack/platinum_seo_pack-en_US.mo) is not within the allowed path(s): (C:/Inetpub/vhosts/creative-steps.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-includes\l10n.php on line 322

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-includes\l10n.php:322) in C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-login.php on line 290

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-includes\l10n.php:322) in C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-login.php on line 302

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-includes\l10n.php:322) in C:\Inetpub\vhosts\creative-steps.com\httpdocs\info\wp-login.php on line 304
4

1 回答 1

0

问题在于 Platinum Seo Pack 的插件配置。如您所见,此文件名不正确。

C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/ C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/wp-content/plugins/platinum-seo-pack/platinum_seo_pack-en_US。莫

应该

C:\Inetpub\vhosts\creative-steps.com\httpdocs\info/ wp-content/plugins/platinum-seo-pack/platinum_seo_pack-en_US.mo

要解决此问题,请转到 wp-content\plugins\platinum-seo-pack 文件夹中的 Platinum_seo_pack.php 文件。搜索 load_plugin_textdomain 或转到其中的第 181 行。WP_PLUGIN_DIRbasename( dirname( __FILE__ ) )该行中更改。

于 2013-08-18T12:39:21.050 回答