[dev] Blank login page
Maciek Borowka
mborowka at clever-age.com
Tue Sep 7 14:25:41 PDT 2004
I am fighting exactly with the same problem.
It seems that compiling PHP with --enable-mbstring (and not
--enable-mbstring=all) is not enough: the check for the extension will return
true, but the actual functions are not compiled (well, at least
mb_regex_encoding is not). Delete the @ from the line and you will see the
"function undefined" error.
The solution is to replace
if (Util::extensionExists('mbstring')) {
by
if (function_exists('mb_regex_encoding')) {
(line 32, file String.php)
It seems to work in my case. Someone can commit this change?
Thanks for your help Rick, you saved me at least few hours ;+)
./Maciek
On Tuesday 07 September 2004 22:43, Rick Emery wrote:
> I've been able to troubleshoot this a little more.
>
> The call to Registry::singleton results in a call to
> String::setDefaultCharset(NLS::getCharset). String::setDefaultCharset()
> checks for the mbstring extension (returns true) and, if true, calls
> @mb_regex_encoding($charset); $charset is set to "UTF-8". A var_dump before
> this line displays output, but a var_dump after this line displays nothing.
>
> Any Ideas?
> Thanks,
> Rick
--
Maciek Borowka http://www.clever-age.com
Clever Age Polska - Doradztwo i uslugi informatyczne
Tel: +48 58 763 18 46
More information about the dev
mailing list