Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question PHP Fatal error: Call to undefined function mb_strpos()

More
17 years 1 month ago - 17 years 1 month ago #10895 by kai920
kai920 wrote:

Have the same error in error log.

Joomla 1.5.10
Kunena 1.0.9 (upgraded from 1.0.8)
PHP 5.1.6
MySQL 5.0.45
Apache/2.2.3

Any ideas?

Dont' understand how mb_strpos can be undefined though since it's a PHP function :huh:


Managed to fix this with big help from the friendly server admin... turns out php_mbstring wasn't enabled on the server! It's all fixed now for me.

Here's some info for Windows users: us2.php.net/manual/en/ref.mbstring.php#49544
Last edit: 17 years 1 month ago by kai920.

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #10918 by SlowSteady
fxstein wrote:

This looks like a Joomla 1.5.10 bug - might be unrelated to Kunena


That's doesn't make sense because I was running 1.0.8 fine with Joomla 1.5.10 and only have this error when I upgraded to 1.0.9

On top of that, others also using Joomla 1.5.10 are apparently not having this issue.

There is also the post by Kai above who seems to have it working by changing a parammeter on an server which is IIS ... what about Unix servers? Anyone else having this problems other than me?

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #11013 by kai920
SlowSteady wrote:

fxstein wrote:

This looks like a Joomla 1.5.10 bug - might be unrelated to Kunena


That's doesn't make sense because I was running 1.0.8 fine with Joomla 1.5.10 and only have this error when I upgraded to 1.0.9

On top of that, others also using Joomla 1.5.10 are apparently not having this issue.

There is also the post by Kai above who seems to have it working by changing a parammeter on an server which is IIS ... what about Unix servers? Anyone else having this problems other than me?


Are you running Apache? You just need to enable mbstring in php.ini.

Go to phpinfo and search for "mbstring" and see if Multibyte Support is enabled. If you can't find 'mbstring' then you need to enable it!

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago - 17 years 1 month ago #11026 by fxstein
This looks more and more like a Joomla core issue. I have not been able to reproduce the problem myself as I don't have a Windows based install available (seems to be focused around Windows).

The error message posted earlier comes from inside a Joomla library for UTF8 support. The only place it is used is from within JString. Kunena does not have a single occurrence of a function call to this particular function.

Here is the strange part that makes me think this is a bug:

Joomla JString includes the proper UTF8 files and tests if certain mb_xxx functions are available. If they are not Joomla will include natively written replacement functions. There is a mb_stringpos function part of the package, but for some reason the Joomla detection and file inclusion is not working.

While the php mb support will be faster and therefore preferred, you should not have to include it. I should not create an error. It should simply ran a bit slower.

It is rather hard for me to figure out what is really going on since I don't have a test system with this problem.

I will keep you posted on updates to this.

We love stars on the Joomla Extension Directory . :-)
Last edit: 17 years 1 month ago by fxstein.

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #11027 by fxstein
Ok - I have come up with a potential fix for this but need a system with that error on it, to test if that really catches it.
If it does I will make sure this makes it into the next Joomla core build.

Let me know who of you can help with this.

Thx!

fxstein

We love stars on the Joomla Extension Directory . :-)

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago - 17 years 1 month ago #11029 by digimate
I've noticed the same error after migrating my site from Joomla 1.0.15 to 1.5.10 and migrating fireboard from 1.0.4 via 1.0.5RC to Kunena 1.0.9.

After installing and publishing the ObjectClarity Discussbot plugin the error appeared.

But when I unpublish the ObjectClarity Discussbot plugin the error disappears (together with the needed functionality of the discussbot ;-).

Is it possible to override things/settings within the .htaccess file??

Here is my system info:

PHP Built on: Linux hosting.myprovider.com 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686
Database Version: 5.0.67-community
Database Collation: utf8_general_ci
PHP Version: 5.2.6
Web Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.10 Production/Stable [ Wohmamni ] 27-March-2009 23:00 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Safe Mode: Off
Open basedir: None
Display Errors: On
Short Open Tags: On
File Uploads: On
Magic Quotes: On
Register Globals: On
Output Buffering: Off
Session Save Path: None
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: show_source, system, shell_exec, passthru, exec,
Mbstring Enabled: No
Iconv Available: Yes
WYSIWYG Editor: Editor - No Editor
Last edit: 17 years 1 month ago by digimate.

Please Log in or Create an account to join the conversation.

Time to create page: 0.244 seconds