Keyword

Cannot Create Categories

  • Tunji Opayele
  • Tunji Opayele's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #103021 by Tunji Opayele
Cannot Create Categories was created by Tunji Opayele
Hi,
Anytime i try to create a new category in k2 or import from the content component to K2 i get this error
Fatal error: Call to undefined function mb_regex_encoding() in /home/******/public_html/administrator/components/com_k2/tables/k2category.php on line 93

I searched the forum for related problems and i saw something about MbString. It is enabled on the server
Please what can i do about this.

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

More
12 years 3 weeks ago #103022 by william white
Replied by william white on topic Re: Cannot Create Categories
This kind of error is usually seen when mbstring is Not Enbled on the server
Go to the k2 dashboard and click on the information tab, and see if K2 "knows" that mbstring is enabled

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

  • Tunji Opayele
  • Tunji Opayele's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #103023 by Tunji Opayele
Replied by Tunji Opayele on topic Re: Cannot Create Categories
i Just checked, Multibyte string support is enabled, i think that's MbString right?
i use joomla 1.5 and the latest K2 2.5.7
Thanks for your response.

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

More
12 years 3 weeks ago #103024 by william white
Replied by william white on topic Re: Cannot Create Categories
Thats it. If this is a new install of K2 i would back up the site first, then reinstall k2.

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

  • Tunji Opayele
  • Tunji Opayele's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #103025 by Tunji Opayele
Replied by Tunji Opayele on topic Re: Cannot Create Categories
I Just Reinstalled K2, Still the same problem :(

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

More
12 years 3 weeks ago #103026 by Lefteris
Replied by Lefteris on topic Re: Cannot Create Categories
Hi. What version of PHP are you using? The error is clear. It says that the function "mb_regex_encoding" is not defined. That means that you should enable it in your server. This function is part of PHP Multibyte String functions. So ensure that it is enabled. Also check your server setup for any disabled functions.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Tunji Opayele
  • Tunji Opayele's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #103027 by Tunji Opayele
Replied by Tunji Opayele on topic Re: Cannot Create Categories
I use PHP 5.3.13 ... MbString is enabled on the server, And K2 component sees it a enabled in the system information. :( I tried this on both Joomla 1.5 and 2.5

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

  • Tunji Opayele
  • Tunji Opayele's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #103028 by Tunji Opayele
Replied by Tunji Opayele on topic The solution is to enable mbregex
Thanks a lot to everybody that that tried to help. I fixed it!
Found out that mbregex was disabled in the configure command
now with mbregex enabled K2 works perfectly :) :) :)

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

More
12 years 3 weeks ago #103029 by Lefteris
Replied by Lefteris on topic Re: The solution is to enable mbregex
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum