Call to undefined function

Found a bug? Tell us!!
Post Reply
kons
Posts: 2
Joined: Tue May 23, 2006 9:54 am

Call to undefined function

Post 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
kons
Posts: 2
Joined: Tue May 23, 2006 9:54 am

... the functions.inc.php

Post 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
}
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ... the functions.inc.php

Post by garvinhicking »

Hi!

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

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/
Post Reply