Question:
Call to undefined function: mb_convert_case() in httpd error log?
Lucas O
2006-07-16 20:49:33 UTC
I have php running on my windows box where I developed some code. I call this function on that development computer and it works fine. When I upload it to my production server the code throws this error in the log. "Call to undefined function: mb_convert_case()" Why is that? Both servers have the same version of php running 4.3.9.
Four answers:
tedjn
2006-07-16 21:07:04 UTC
The PHP reference states that the mbstring module is not included by default. Do you have access to the production server? If so, what operating system is it? If not, you will have to get in contact with your hosting service and ask them to provide support.
2016-03-17 02:21:20 UTC
I think that it's a good idea to insulate the majority of your code from accessing a particular database API such as mysql or mysqli or mssql and to instead encapsulate database functionality into classes such as: DB, DBTable, etc. Maybe it's late in the game for that, but it's a good idea to use object-oriented programming to insulate your code from a particular database engine or API. If you need to use SQL in the rest of your code and not encapsulate all of the database functionality into a handful of classes, you can use standard SQL that will work for different database engines. Another thing to consider is downgrading your PHP back to a version that does support mssql. Recently, I downgraded from the latest version of Python3.3.1 down to Python2.x.x I would have thought that the latest version was best, but it wasn't. I've decided not to use Python on the web. It's just not standard like PHP is. Similarly, you may decide that mssql is just not as standard like mysql/php is. MySQL and PHP seem to be well-supported everywhere you go.
2016-12-15 20:48:53 UTC
Mb_convert_case
Melissa
2006-07-16 21:49:35 UTC
I don't know but your girlfriend loves you very much.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...