"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.
Fatal Error after apparently successful installation
-
foxylady337
- Posts: 2
- Joined: Tue Sep 23, 2008 8:29 am
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Fatal Error after apparently successful installation
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
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
# 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/
# 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/
-
foxylady337
- Posts: 2
- Joined: Tue Sep 23, 2008 8:29 am
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...
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...