- Posts: 4
COMMUNITY FORUM
Multibyte strings is enabled - still fatal error
- Heleen Heijnis
- Topic Author
- Offline
- New Member
Less
More
15 years 2 months ago #72626
by Heleen Heijnis
Multibyte strings is enabled - still fatal error was created by Heleen Heijnis
Hello!
After upgrading from 2.0 prerelease to 2.0 stable, i get this error message:
Fatal error: Call to undefined function mb_ereg_replace() in /mnt/web4/53/33/51645033/htdocs/administrator/components/com_k2/tables/k2category.php on line 49
I searched the forum, and the solution seems to be to enable the MBstring, however, when I look at my PHP settings in Joomla, Multibyte string support is enabled.
What could be the problem?
Thanks in advance!
After upgrading from 2.0 prerelease to 2.0 stable, i get this error message:
Fatal error: Call to undefined function mb_ereg_replace() in /mnt/web4/53/33/51645033/htdocs/administrator/components/com_k2/tables/k2category.php on line 49
I searched the forum, and the solution seems to be to enable the MBstring, however, when I look at my PHP settings in Joomla, Multibyte string support is enabled.
What could be the problem?
Thanks in advance!
Please Log in or Create an account to join the conversation.
- Valdis
- Offline
- Junior Member
Less
More
- Posts: 21
15 years 2 months ago #72627
by Valdis
Replied by Valdis on topic Multibyte strings is enabled - still fatal error
mb_ereg_replace is from subset of multibyte string functions that deals with regular expressions. IMHO You can have some of mbstring functions enebled and available, but not those related to/dependent on regex use. Might require additional configuration for php if not already enabled by default.
Regards,
Valdis
Regards,
Valdis
Please Log in or Create an account to join the conversation.
- Heleen Heijnis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
15 years 2 months ago #72628
by Heleen Heijnis
Replied by Heleen Heijnis on topic Multibyte strings is enabled - still fatal error
Thanks for you reply, Valdis. I got it working by removing the mb from the mb_ereg_replace in the PHP files. I hope this will not cause any problems when upgrading. Probably I'll have to do that exercise again....
Please Log in or Create an account to join the conversation.
- Heleen Heijnis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
15 years 2 months ago #72629
by Heleen Heijnis
Replied by Heleen Heijnis on topic Multibyte strings is enabled - still fatal error
I just upgraded to 2.1 and get this error when saving an item:
Fatal error: Call to undefined function mb_regex_encoding() in /mnt/web4/53/33/51645033/htdocs/administrator/components/com_k2/tables/k2item.php on line 72
My hosting provider says I can write a php.ini file and try to enable the mb_strings. Any ideas on how to do this? Thanks so much again!
Fatal error: Call to undefined function mb_regex_encoding() in /mnt/web4/53/33/51645033/htdocs/administrator/components/com_k2/tables/k2item.php on line 72
My hosting provider says I can write a php.ini file and try to enable the mb_strings. Any ideas on how to do this? Thanks so much again!
Please Log in or Create an account to join the conversation.
- Naren
- Offline
- New Member
Less
More
- Posts: 1
15 years 18 hours ago #72630
by Naren
Replied by Naren on topic Multibyte strings is enabled - still fatal error
I had the very same problem and just uncommented "extension=php_mbstring.dll" in the php.ini file(I use PHP 5.2.11)
It works like a charm. Hope this helps.
It works like a charm. Hope this helps.
Please Log in or Create an account to join the conversation.
- Jaakko Karhu
- Offline
- New Member
Less
More
- Posts: 13
14 years 9 months ago #72631
by Jaakko Karhu
Replied by Jaakko Karhu on topic Multibyte strings is enabled - still fatal error
Okay, I guess I have the same problem:
Fatal error: Call to undefined function mb_regex_encoding() in /home/toukoaal/public_html/components/com_k2/helpers/route.php on line 56
But I have to admit I have no clue what you guys are talking about. Could somebody be so kind and explain what causes this and how it can be fixed?
Thank you in advance.
Fatal error: Call to undefined function mb_regex_encoding() in /home/toukoaal/public_html/components/com_k2/helpers/route.php on line 56
But I have to admit I have no clue what you guys are talking about. Could somebody be so kind and explain what causes this and how it can be fixed?
Thank you in advance.
Please Log in or Create an account to join the conversation.
- Jaakko Karhu
- Offline
- New Member
Less
More
- Posts: 13
14 years 9 months ago #72632
by Jaakko Karhu
Replied by Jaakko Karhu on topic Multibyte strings is enabled - still fatal error
Okay, this is getting ridiculously hard.
I have no clue wht php.ini file should look like in this case.
Is there any use to just uninstall the whole thing from server and install it all again instead of copying files and databases or do I waste just another tremendous amount of time if I start that operation?
I have no clue wht php.ini file should look like in this case.
Is there any use to just uninstall the whole thing from server and install it all again instead of copying files and databases or do I waste just another tremendous amount of time if I start that operation?
Please Log in or Create an account to join the conversation.
- Jaakko Karhu
- Offline
- New Member
Less
More
- Posts: 13
14 years 9 months ago #72633
by Jaakko Karhu
Replied by Jaakko Karhu on topic Multibyte strings is enabled - still fatal error
Ok, good to know. I solved my problem by being in contact with my server tech support, they were more than happy to help. They just installed mbstring.dll.
Please Log in or Create an account to join the conversation.