mb_split php function not available
- Status
- Closed
- Subject
- mb_split php function not available
- Version
- 9.x
- Category
- Regression
- Resolution status
- Invalid
- Submitted by
- Yannick Charton
- Lastmod by
- Marc Laporte
- Rating
- Description
Hi,
After upgrading my tiki install to 9.0, going to my website produced a blank page with the following error:
Fatal error: Call to undefined function mb_split() in /bla/bla/bla/tiki/lib/smarty/libs/plugins/shared.mb_str_replace.php on line 47Apparently, my hoster planethoster doesn't provide a php install including the mb_split() function.
Regards,
Yannick- Solution
I solved that problem by changing the line 47 of the file lib/smarty/libs/plugins/shared.mb_str_replace.php
from
$parts = mb_split(...
to
$parts = explode(preg_quote($search), $subject);Hope that it won't produce unexpected behaviors.
Regards,
Yannick- Importance
- 5
- Easy to solve?
- 9
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4266
- Created
- Wednesday 18 July, 2012 12:00:50 UTC
by Yannick Charton - LastModif
- Wednesday 05 June, 2013 17:41:55 UTC