1

[Tue Jul 08 07:13:37 2014] [warn] [client 66.249.80.15] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/wp-content/themes/gt3-wp-cleanspace/timthumb/timthumb.php/wp-content/uploads/2013/12/post-cyberlaw.jpg) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/:/tmp/) in /datas/vhosts/mydomain.com/httpdocs/wp-content/themes/gt3-wp-cleanspace/timthumb/timthumb.php on line 896, referer: https://www.mydomain.com/1

我在 Wordpress 中收到此警告,更新 timthumb.php 后,我真的不知道如何解决此问题,也许需要更改一些服务器设置,但是哪个?,谢谢。

4

1 回答 1

-1

请参阅此问题以获得可能的帮助:

open_basedir 限制生效。文件(/)不在允许的路径内:

如果您在共享托管环境中或无法修改配置文件,则需要联系您的托管服务提供商。

于 2014-07-08T17:16:29.807 回答