Page 1 of 1

Fatal Error after apparently successful installation

Posted: Tue Sep 23, 2008 8:38 am
by foxylady337
"Fatal error: Call to undefined function serendipity_mb() in /home/rotarycu/public_html/serendipity/include/functions.inc.php on line 206"

I have successfully installed Serendipity on my own PC (Using Apache with Windows XP), but get the error above after installation on my website's server. This is running Apache under Linux 2.4.21-53 with PHP version 5.2.3.

I had to adjust permissions on several directories to make them writeable (...serendipity, ...serendipity/templates_c, and ...serendipity/uploads were straightforward, but I had to use "fixperm.php" to change ...serendipity/archives), but the installation process apparently went OK after that.

Any suggestions?

Thanks in advance.

Re: Fatal Error after apparently successful installation

Posted: Tue Sep 23, 2008 11:44 am
by garvinhicking
Hi!

Usually this error happens when the database is not fully initialized, usually a missing language file or setting. Can you check if your serendipity_config DB table contains a row for the "lang" value in the "name" column? This should contain a string like "en" or "de", depending on the language you selected. Also make sure your lang/ directory contains a serendipity_lang_XX.inc.php file (and one in the UTf-8 subdirectory) for your selected language?!

HTH,
Garvin

Posted: Tue Sep 23, 2008 2:48 pm
by foxylady337
serendipity_config.lang is set to en, but there was no serendipity_lang_en.inc.php file in the lang/ or /lang/UTF-8 directory.

Solving these has solved the problem.

Many thanks!

I use Microsoft FrontPage to maintain the website, and had used drag-and-drop to copy the serendipity folder across. I've found that there were several other files that didn't come across either. You'll probably say it serves me right for using Microsoft products...

Posted: Tue Sep 23, 2008 3:40 pm
by judebert
No, I think you've discovered that using Microsoft products is sufficient punishment. :lol:

You might want to check all the files a second time, just to make absolutely certain that you won't have future problems.