0

今日、ワードプレスで次の警告が表示されます。

Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1335

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1344

Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1335

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1344

Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1335

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1344

Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1335

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/testams/:/tmp:/usr/share/pear54) in /home/testams/domains/testams.serveriai.lt/public_html/SA/wp-includes/functions.php on line 1344

[設定] > [メディア] > [アップロードを月ベースと年ベースのフォルダーに整理する] を変更すると、この警告が表示されなくなります。フォルダー作成権限の何が問題なのか、この問題を解決するにはどうすればよいですか?

4

1 に答える 1

0

Dupe: open_basedir 制限が有効です。ファイル (/) が許可されたパス内にありません:

これopen_basedir restriction in effectは、セキュリティのためにそのディレクティブが配置されている一部の共有ホストでよくあるエラーです。ホストに変更を依頼するか、.htaccess にアクセスできる場合は、自分で変更してみてください。ただし、.htaccess でオーバーライドできないようにサーバーが構成されている可能性があります。

于 2013-03-01T06:11:39.113 に答える