Bug in vers ion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Bug in vers ion

Post by Bill H »

This has just now appeared on the main screen of phpMyAdmin 2.3.3-rc1
You are using PHP 4.2.3, which has a serious bug with multi-byte strings (mbstring). See PHP bug report 19404. This version of PHP is not recommended for use with phpMyAdmin.
Should I (we) be concerned?
I assume this refers to unicode, which I do not use.
:?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

I would upgrade to the latest version of phpMyAdmin instead of using a release candidate for an older version.

But as for the actual bug:
http://bugs.php.net/bug.php?id=19404
http://bugs.php.net/bug.php?id=19460

The fix appears to be to reinstall a new version of PHP or recompile with certain configure options removed if of course the problem is affecting you (i.e. Post variable names stripped of first 4 characters).

Mac
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

I don't have any control pf the php installation(s), unfortunately. I read the bug reports and couldn't make much sense of them. One person asked what is CVS and got no answer. None of the possible solutions seemed available to me, in any case.

It's not affecting me generally, but I haven't done anything with phpMyAdmin at this point, other than view some data.
:?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

I would upgrade phpMyAdmin as release candidates can be buggy. It looks like they had to make a change in a later version so that the error doesn't show unless you have mbstring loaded.
phpmyadmin changelog wrote:2002-11-28 Marc Delisle
* main.php3: display PHP 4.2.3 warning only if mbstring is loaded
http://sourceforge.net/project/shownote ... _id=126061

If you don't have the mbstring extension module loaded you should be fine (and can ignore the error). But upgrade phpMyAdmin anyway.

Mac
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

I upgraded to phpMyAdmin 2.4.0 and the warning went away.
:D
But did the problem? (Not that I'm seeing any. Oh well.)
:?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

If the warning went away then it probably means that mbstring isn't loaded and therefore no worries for you :)

Mac
Post Reply