2012-04-27 4 views
-1

でopen_basedirの制限は次のエラーを示しています。PHPエラー:警告:必要()[function.require]:私のウェブサイト上で効果

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 90 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 111 Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 112 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 113 

Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client2/web3/web:/var/www/clients/client2/web3/tmp:/var/www/zkus.eu/web:/srv/www/zkus.eu/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client2/web3/web/admin/login.php on line 4 

Warning: include() [function.include]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client2/web3/web:/var/www/clients/client2/web3/tmp:/var/www/zkus.eu/web:/srv/www/zkus.eu/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client2/web3/web/libs/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 161 

ウェブサイト上の(ISP Configが)次のエラーを表示します

どうすれば修正できますか?

+5

最初のステップ:それを読む。 –

答えて

0

最初の問題は、権限外のファイルを含むように見えるということです。あなたが所有していないフォルダからファイルを取得する可能性がありますか?タイムゾーンのため

php_value date.timezone 'Europe/London' 

代替ヨーロッパ/ロンドン:

2番目のエラーは、あなたの.htaccessファイルのアップデートで固定することができます。ここにサポートされているタイムゾーンを見つける:http://php.net/manual/en/timezones.php

関連する問題