【发布时间】:2013-08-07 13:43:41
【问题描述】:
Windows Server 2008 R2 和 Plesk 11.0.9 上的 Wordpress openbase_dir 问题
我刚刚将一个网站和它的 wordpress 数据库从旧的 Windows 服务器移动到运行 Plesk 和 IIS7 的新服务器。
我启用了 PHP,并且 openbase 目录设置为 web 根目录和 c:\Windows\Temp 但是我收到以下错误(见下文)。 Wordpress 从根目录安装在 info 文件夹中。
如果有人知道关于 wordpress php 文件 l10n.php 的任何信息,这将是最有帮助的,看起来我有一个双路径,因为它试图读取的字符串等于:
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
【问题讨论】:
标签: php windows wordpress plesk