文件不在允许的路径中

时间:2014-07-08 17:10:38

标签: php wordpress timthumb

  

[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之后,我真的不知道如何解决这个问题,可能需要更改一些服务器设置,但哪一个?,谢谢。< / p>

1 个答案:

答案 0 :(得分:0)

请参阅此问题寻求可能的帮助:

open_basedir restriction in effect. File(/) is not within the allowed path(s):

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