Keyword

Fatal error: Call to undefined function mb_interna

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64730 by Neil Boddie
just uploaded my site using kickstart and get this error

Fatal error: Call to undefined function mb_internal_encoding() in /home/mygolfda/public_html/components/com_k2/helpers/route.php on line 59

This is the first upload with k2 involved and of course it goes wrong, have uploaded various joomla site with no problems.

Line 59 reads mb_internal_encoding("UTF-8");

The whole php block is

else {
mb_internal_encoding("UTF-8");
mb_regex_encoding("UTF-8");
$alias = trim(mb_strtolower($user->name));
$alias = str_replace('-', ' ', $alias);
$alias = mb_ereg_replace(':space:+', ' ', $alias);
$alias = trim(str_replace(' ', '', $alias));
$alias = str_replace('.', '', $alias);

$stripthese = ',|~|!|@|%|^|(|)|<|>|:|;|{|}|[|]|&|`|„|‹|’|‘|“|â€�|•|›|«|´|»|°|«|»|…';
$strips = explode('|', $stripthese);
foreach ($strips as $strip) {
$alias = str_replace($strip, '', $alias);
}


I know practically nothing about php so help would be appreciated.

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64731 by Neil Boddie
Hi,

Got the web host to enable mb_internal_encoding (thanks William) it is still showing as disabled on the K2 Information tab.

Wonder if re-loading the site would help, any ideas before I do this.

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

More
12 years 5 months ago #64732 by william white
Replied by william white on topic Re: Fatal error: Call to undefined function mb_interna
Be sure first, clear the browzers cache
Try a different browzer
will look again when i get time and get back to you

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64733 by Neil Boddie
Not the browser,tried lots of different, do you think a re-load of the site would help the php settings in K2 and the Joomla system ifo all say the the mb string is disabled.

I have asked the web host to have another look.

This was their first response to my ticket request:

"I've had Multibyte support added but it doesn't appear to have helped. I'm afraid you'll need to get support from Joomla with that. There's certainly no reason why it shouldn't work on the server".

Newsflash____ thats interesting the two pages that do not have k2 categories enabled as menu items are now showing online, as soon as you click on a k2 enabled menu item the fatal error appears

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

More
12 years 5 months ago #64734 by william white
Replied by william white on topic Re: Fatal error: Call to undefined function mb_interna
I dl a jpa file and kickstarted it to localhost, all is welll
the only difference i see in php info is that on your host zen multibite is enabled.
it still reports on your live site that multibite is disabled, but if you look for mb_string in the php info tab you will see that it is. This is a server issue i am sure. Its sorta like an episode of House, where even thought two test diagnosis have been tried, the patient is still bleeding internally.................
Scratching my head....i dont think the problem is joomla or k2, but the server settings, it it possible for you to switch to another host that supports joomla better (cloudaccess.net or similar?)

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64735 by Neil Boddie
This is weird the .com home page in the live site ok, the next three main menu items give the fatal error and the contact menu selection is ok also, would it be worth deleting from cpanel and re-installing with kickstart.

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

More
12 years 5 months ago #64736 by william white
Replied by william white on topic Re: Fatal error: Call to undefined function mb_interna
do you use skype...?

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago - 12 years 5 months ago #64737 by Neil Boddie
hey missed your call, online now
yep use skype

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

  • Neil Boddie
  • Neil Boddie's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64738 by Neil Boddie
We are up and running now, web host has fixed

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

More
12 years 5 months ago #64739 by william white
Replied by william white on topic Re: Fatal error: Call to undefined function mb_interna
Ok, share with us what they did

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


Powered by Kunena Forum