Page 1 of 1

Call to undefined function

Posted: Tue May 23, 2006 10:01 am
by kons
Hi,
im not sure if its a bug or just a failure in the installation process/file missing etc. Sometimes when i open the blog i get the message:
Call to undefined function: serendipity_mb() in .../blog/serendipity/include/functions.inc.php on line 68
and no blog is there :(
Im using Serendipity 0.8.3 and PHP 4.4.1
thanks
kons

... the functions.inc.php

Posted: Tue May 23, 2006 10:16 am
by kons
function serendipity_formatTime($format, $time, $useOffset = true) {
static $cache;
if (!isset($cache)) {
$cache = array();
}

if (!isset($cache[$format])) {
$cache[$format] = $format;
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$cache[$format] = str_replace('%e', '%d', $cache[$format]);
}
}
return serendipity_mb('ucfirst', serendipity_strftime($cache[$format], (int)$time, $useOffset)); <- line 68
}

Re: ... the functions.inc.php

Posted: Tue May 23, 2006 11:24 am
by garvinhicking
Hi!

Please upgrade your blog to at least Serendipity 0.9.1, better 1.0-beta3.

Regards,
Garvin