Keyword

Error on Category creation....

More
15 years 2 months ago #70349 by Dani Carull
Replied by Dani Carull on topic Error on Category creation....
Hi geroge,

after some support tickets in my hosting service, they have actived both extensions.
Only one thing: my hosting is under Linux. could be a prolem?

copenhagen.hostgo.com/phpinfo.php
In this link you can see both services in actived, but the problem is persisting.

what do you think?

thank you for your help.

best regards
dani.

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

  • iImagine 'n' iKnow Ltd.
  • iImagine 'n' iKnow Ltd.'s Avatar
  • Offline
  • Senior Member
More
15 years 2 months ago #70350 by iImagine 'n' iKnow Ltd.
Replied by iImagine 'n' iKnow Ltd. on topic Error on Category creation....
Dani

Ask them for the contents of /usr/local/php4/lib/php.in and post here, my phpinfo makes no mention of dbstring so we need to look at the php.ini file to see (a) if it is enabled and (b) where its finding the extension - it maybe missing...

Linux should not be an issue, but they seem to be using older versions of both Apache and PHP .. and probably older versions of mbstring.
They are using Apache I am using Apache 2.2, they are using PHP 4.4.9 PHP Extensions 20020429 I am using PHP 5.2.9-2 PHP Extensions 2006.06.13 - THESE are more likely to be the problem.
They really need to upgrade both or you need different hosting provider - they are not providing you with the latest stable service

george

Dani Carull said:Hi geroge, after some support tickets in my hosting service, they have actived both extensions.
Only one thing: my hosting is under Linux. could be a prolem?

copenhagen.hostgo.com/phpinfo.php
In this link you can see both services in actived, but the problem is persisting.

what do you think?

thank you for your help.

best regards
dani.

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

  • Hankins Development
  • Hankins Development's Avatar
  • Offline
  • New Member
More
15 years 2 months ago #70351 by Hankins Development
Replied by Hankins Development on topic Error on Category creation....
I am on a shared hosting plan with GoDaddy.com. So I don't have access to php.ini nor will they restart Apache just for me. What do I need to tell them to do?
Thanks
CH


George Szubinski said:DaniI forgot - I am doing all this locally on my dev box until I deploy but it does raise a good point about deployment:You just need to contact the hosting company support and ask them to enable access to the dll exactly as I have described - it should not pose any problems to other customers at all.georgeDani Carull said:Hi!I'm getting the same error, but i don't have access to the php.ini file because my hosting service don't have de option.Is there another way to solve this problem? modifying something in K2 files?congratulations for this extension! I hope you could help us with this!thks!George Szubinski said:ok resolved now:Wolf - look at www.phpbuilder.com/board/showthread.php?t=10335517 for background.also www.sugarcrm.com/forums/showthread.php?t=39431 for more background.All you need to do is go and edit your php.ini file - search for mbstring and remove the comment to enable it and resave your ini file. Go and restart Apache.georgeGeorge Szubinski said:ok, these seem to be using new functions:mine in the code looks like:mb_internal_encoding("UTF-8");$this->alias = trim(mb_strtolower($this->alias));$this->alias = str_replace('-', ' ', $this->alias);$this->alias = mb_ereg_replace(':space:+', ' ', $this->alias);$this->alias = trim(str_replace(' ', '-', $this->alias));$this->alias = str_replace('.', '', $this->alias);$stripthese = ',|~|!|@|%|^|(|)|<|>|:|;|{|}|[|]|&|`|„|‹|’|‘|“|�|•|›|«|´|»|°';$strips = explode('|', $stripthese);foreach ($strips as $strip) {$this->alias = str_replace($strip, '', $this->alias);So I need someone with mysql knowledge to tell me how I enable this - or is it something we need to enable in phpHELP PLEASE!!!George Szubinski said:I had this and I put it down to the fact that I did a new install and should have done an upgrade...I have now built a brand new Joomla site 1.5.14 and installed simple image and the full K2 from unified installer - all I had was warning because I do not have joofish....So, just tried to add a category, entered a name, pressed save and bang same error as previous poster.Fatal error: Call to undefined function mb_internal_encoding() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\curry2\administrator\components\com_k2\tables\k2category.php on line 46Can we please have some guidance on what we are doing wrong please....!!!!george

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

  • Viper Web Solutions
  • Viper Web Solutions's Avatar
  • Offline
  • New Member
More
15 years 2 months ago #70352 by Viper Web Solutions
Replied by Viper Web Solutions on topic Error on Category creation....
Can anyone tell me how I can change this in WHM? Which mbstring variable do I change? This is what my configuration shows:

mbstring.detect_order: auto
mbstring.encoding_translation: off
mbstring.func_overload: 0
mbstring.http_input: auto
mbstring.http_output: SJIS
mbstring.internal_encoding: EUC-JP
mbstring.language: Japanese (I don't know what this is)
mbstring.substitute_character: none

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

More
15 years 1 month ago #70353 by Heleen Heijnis
Replied by Heleen Heijnis on topic Error on Category creation....
Hello everyone,

I encounter the same problem: 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

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.

More
14 years 4 months ago #70354 by Toryalai Hart
Replied by Toryalai Hart on topic Error on Category creation....
same here. just installed k2. imported joomla categories and out, same deal

Fatal error: Call to undefined function mb_internal_encoding() in /xxx/xxx/public_html/xxx/administrator/components/com_k2/tables/k2category.php on line 49

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

More
14 years 4 months ago #70355 by Toryalai Hart
Replied by Toryalai Hart on topic Error on Category creation....
got it. Needed to add the mbstring component to my php build. If you have root access, you can do this via the WHM interface, in the "easy apache" section. Can't go back through the steps since mine is currently rebuiling. Essentially, I tookthe route of customizing my current build, ended up in an extensive options section, and found a place to check mbstring off as an element to include in my rebuild. Will take 20+ minutes once you run it. Alternatively, if you don't have root access, your hosting company can do it for you.

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


Powered by Kunena Forum