Nette Tester – Call to undefined function Nette\Utils\mb_strtoupper()
Notice: This thread is very old.
- uestla
- Backer | 799
Hi everyone.
I'm running Nette Tester
from within NetBeans IDE using
Run configuration
.
But anytime I use
Nette\Utils\Strings::<anything using mbstring extension>
, it
breaks with Fatal error
Call to undefined function Nette\Utils\mb_<whatever>()
.
It seems like a strange namespace issue…
I've double checked my PHP 5.4.12 configuration and have the
mbstring
extension is turned on.
Does anyone happen to come across this?
Thanks.
Last edited by uestla (2013-07-12 10:47)
- Jan Tvrdík
- Nette guru | 2595
@uestla: That's simple mbstring extension is not enabled – trust me. Please tripple check it =) This is usually because console use entirely different php.ini.
- David Grudl
- Nette Core | 8227
You must specify which php.ini to use with -c option (see https://github.com/nette/tester). Otherwise no php.ini is used.