Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-08-14 04:21:25

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Fatal error: Call to undefined function mb_strtolower()

One of my client using Textpattern 4.5.7
when we publish a new article, the following error appear:
Fatal error: Call to undefined function mb_strtolower() in /home/wfndo/public_html/textpattern/lib/xplib_misc.php(812) : eval()'d code on line 36

Offline

#2 2017-08-14 06:09:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Fatal error: Call to undefined function mb_strtolower()

Can you post your diagnostics?
Are the tables UTF-8?
What is the xplib_misc.php file? Shouldn’t that be txplib_misc?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2017-08-14 12:10:31

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: Fatal error: Call to undefined function mb_strtolower()

sorry, that is txplib_misc , i did wrong copy ;)

these are from diagnostics:


Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
18 Tables: OK

Offline

#4 2017-08-14 13:50:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Fatal error: Call to undefined function mb_strtolower()

I hope that the devs will be able to help but I don’t remember ever coming across Charset (default/config): latin1/utf8 as I think that it should be either the one OR the other…

Scrub that! I have very similar results in my diagnostics.

Last edited by colak (2017-08-14 14:39:43)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2017-08-14 21:23:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Fatal error: Call to undefined function mb_strtolower()

Pretty much the only thing that is “eval()’d” in TXP is plugin code, so it’s probably a plugin that uses the mb_strtolower function (on line 36 of the plugin code), which appears to be disabled in your PHP version (full diagnostics should show which PHP functions are disabled).

Offline

#6 2017-08-17 07:17:26

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: Fatal error: Call to undefined function mb_strtolower()

Perhaps the php mbstring module is not installed on the server.


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

Board footer

Powered by FluxBB