serendipity_mb()

Found a bug? Tell us!!
Post Reply
iman_ebru

serendipity_mb()

Post by iman_ebru »

s9y 0.9 seems to be very great!

s9y is installed now and there are not any modifiability. but a bug is located in include/functions.inc.php:

Code: Select all

Fatal error: Call to undefined function: serendipity_mb() in /home/farsigar/public_html/serendipity/include/functions.inc.php on line 82
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_mb()

Post by garvinhicking »

Which Serendipity version did you install, which language and which charset did you choose?

This message only happens if no valid language file could be included.

Best 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/
iman_ebru

Re: serendipity_mb()

Post by iman_ebru »

garvinhicking wrote:Which Serendipity version did you install, which language and which charset did you choose?

This message only happens if no valid language file could be included.

Best regards,
Garvin
Serendipity v 0.9 and persian utf-8
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_mb()

Post by garvinhicking »

Could you please check your serendipity_config DB table and execute this query:

Code: Select all

SELECT * FROM serendipity_config WHERE name = 'lang'
and tell me your results?

Serendipity 0.9 is not out yet, which version are you using exactly? 0.9-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/
Guest

Re: serendipity_mb()

Post by Guest »

garvinhicking wrote:Could you please check your serendipity_config DB table and execute this query:

Code: Select all

SELECT * FROM serendipity_config WHERE name = 'lang'
and tell me your results?

Serendipity 0.9 is not out yet, which version are you using exactly? 0.9-beta3?

Regards,
Garvin
okay, thanks. yes it is 0.9-beta3. there are some bugs on jalali date too. i'm working for find all bug for fix.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_mb()

Post by garvinhicking »

I think the persian maintainer has committed some changes to the calendar for the final 0.9 release which will be out today.

If you find more issues, we'll patch it in an upcoming version! :)

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/
simb
Regular
Posts: 23
Joined: Thu Apr 13, 2006 2:50 pm

Post by simb »

Hi,

I'm new at s9y and ran into the same problem after installation.
I searched for solutions in this forum, but found only the hint, that this msg appears if the correct language file couldn't be loaded.

Some Info:
version 0.9.1
language: de (also in DB!)
charset: utf-8

Server: apache 1.3.8
but due to the installation with mod_userdir I dont use rewrite rules.

for me it seems, that the problem occured in includes/lang.inc.php:7
as if I echo and kill it here, I recieve: /home/simb/public_html/serendipity/lang/serendipity_lang_.inc.php
so charset and language is missing.
I found out then, that in serendipity_config.inc.php this file is loaded twice, which makes it hard to find the real problem!

In the loaded page with this error-msg I can see, that also the meta-charset is wrong and even the doctype is HTML 4.01 instead of XHTML what I choosed during the installation. The config-flag for XHTML is true in the DB.

All files from the tar.gz are there and nothing else was modified by me.
The files serendipity/lang/serendipity_lang_de.inc.php and serendipity/lang/utf8/serendipity_lang_de.inc.php exists.

The file-permission is at 0777 for the whole serendipity directory.

I repeated the installation already twice, but with the same results.

I have no more clue, where I have something wrong... :oops:
So I hope for some help/hints

greets
simb
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Maybe you could try to install the current 1.0 beta? I think a few issues have changed there, which could get it working for you.

Apache 1.3.8 is very old; which PHP version are you using, and which OS?

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/
simb
Regular
Posts: 23
Joined: Thu Apr 13, 2006 2:50 pm

Post by simb »

Hi Garvin,

thanks for your reply and sorry for the wrong details:
Apache/2.0.50 (Linux/SUSE)
System Linux bruchtal 2.6.8-24.18-default #1 Fri Aug 19 11:56:28 UTC 2005 i686 (SuSE 9.2)
PHP Version 4.3.8

In between I tested the installation in the root of my apache (no user dir) but doesn't work either.

I will try the alpha but IMHO an alpha version isn't the right thing for a productive website, isn't it?

greets
simb
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I am refering to the 1.0 beta version, not 1.1 alpha. The 1.0 beta is what becomes the 1.0 final release in a few days. It's actually more stable than 0.9.1.

Usually the kind of error you have seems to be caused that fetching the serendipity_config table fails. Can you check your database and see if that table is in place and contains all the right values for "langueage" and "xhtml" and so on?

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/
simb
Regular
Posts: 23
Joined: Thu Apr 13, 2006 2:50 pm

Post by simb »

OK, i gave it up. :roll:
All configs have been in the DB.

No I tried 1.0-b on another machine and it works.
Thanks for your replies anyway.

simb
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

So it works now?

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