開発メンバー募集中
開発者からテンプレートデザイナーまで募集を致しております。
ご興味のある方は、お問い合わせ下さい。
ID #1063

update.php で2つのWarning 2.6.3 ->2.6.4

 

Warning1:
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /var/www/vhosts/phpmyfaq.jp/httpdocs/install/update.php on line 35

set_time_limit は、"SafeMode オフ" でしか動きません。
http://www.php.net/manual/en/function.set-time-limit.php

open install/update.php

if (SAFEMODE) {
 set_time_limit(0);
}

 to

if (!SAFEMODE) {
 set_time_limit(0);
}

 or

if (SAFEMODE) {
 @set_time_limit(0);
}


Warning2:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/phpmyfaq.jp/httpdocs/install/update.php on line 623

Line 623 は
    foreach (glob(PMF_ROOT_DIR.'/inc/*.bak.php') as $filename) {

 backup_file は 、/config 以下に作られますので

 change to

    foreach (glob(PMF_ROOT_DIR.'/config/*.bak.php') as $filename) {

本家に投稿 http://forum.phpmyfaq.de/viewtopic.php?f=3&t=10435

タグ: Warning

関連エントリー: -



Comments

コメントはまだありません


Add Comment