functions_installer.inc.php

Found a bug? Tell us!!
Post Reply
Capt Mike
Regular
Posts: 63
Joined: Sat Mar 11, 2006 11:43 am

functions_installer.inc.php

Post by Capt Mike »

Upgrade issue:

http://www.stmarymagdalenechurch.org

I upgraded: "Serendipity 1.4.1 installation. You are seeing this message because you have just installed Serendipity 1.5.2,"

Now I get a fatal error on line: "include/functions_installer.inc.php on line 1262"

// Calculate the checksum
$md5 = false;
if (stristr($type, 'text')) {
// This is a text-type file. We need to remove linefeeds before
// calculating a checksum, to account for possible FTP conversions
// that are inconvenient, but still valid. But we don't want to
// allow newlines anywhere; just different *kinds* of newlines.
$newlines = array("#\r\n#", "#\r#", "#\n#");
$file = file_get_contents($filename);
(1262) $file = preg_replace($newlines, ' ', $file);
$md5 = md5($file);
} else {
// Just get its md5sum
$md5 = md5_file($filename);
}

What went wrong?
:shock:
"Arr, ye call that an anchor?"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: functions_installer.inc.php

Post by garvinhicking »

Hi!

Please give us the actual error message :)

It might be that your PHP is too old, which version do you use?

Could also be you'Re out of memory, in which case you could delete the file "checksums.inc.php".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Capt Mike
Regular
Posts: 63
Joined: Sat Mar 11, 2006 11:43 am

Re: functions_installer.inc.php

Post by Capt Mike »

That did it!

I was a memory overload error message.

Removing the "checksums.inc.php" made it work.

thanks
"Arr, ye call that an anchor?"
Post Reply