2 Warning update.php 2.6.3 ->2.6.4

Please report bugs here!

Moderator: Thorsten

Post Reply
UTAKA
Posts: 37
Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:

2 Warning update.php 2.6.3 ->2.6.4

Post by UTAKA »

Hi! Now I try update 2.6.3 ->2.6.4
I have 2 Warning
Warning1:
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /var/www/----/install/update.php on line 35

set_time_limit can work "SafeMode off".
http://www.php.net/manual/en/function.s ... -limit.php

open install/update.php

Code: Select all

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/----/install/update.php on line 623
Line 623 is
foreach (glob(PMF_ROOT_DIR.'/inc/*.bak.php') as $filename) {
backup_file is maked /config
change to
foreach (glob(PMF_ROOT_DIR.'/config/*.bak.php') as $filename) {
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 Warning update.php 2.6.3 ->2.6.4

Post by Thorsten »

Hi,

thanks for the hint, I fixed both issues for the 2.6.5 release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply