[phpMyAdmin Developers] phpMyAdmin tbl_operations.php problem

Gökhan Kaya 0x90kh4n at gmail.com
Sun Dec 16 01:27:31 CET 2018


phpmyadmin locale bug:
__
setlocale(LC_CTYPE, 'tr_TR.utf-8');
strtolower('Innodb'); // Innodb
__
setlocale(LC_CTYPE, 'C');
strtolower('Innodb') // innodb

strtolower with mb_strtolower
https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/StorageEngine.php
line
195 fix plz.

Gökhan Kaya <0x90kh4n at gmail.com>, 15 Ara 2018 Cmt, 15:54 tarihinde şunu
yazdı:

>
> https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/StorageEngine.php
> Line 195: strtolower function does not work like
> ---------
> Xampp 64 bit debian linux version 7.2.12, 7.2.13, 7.3.0 I have tested.
> ---------
>
> <?php
> echo strtolower('Innodb');
>
> // Output
> Innodb
>
> Change: mb_strtolower()
>
> Gökhan Kaya <0x90kh4n at gmail.com>, 14 Ara 2018 Cum, 17:30 tarihinde şunu
> yazdı:
>
>>
>> Hi,
>>
>> I am using xampp 7.2.12 on Linux (Ubuntu 18.04). Some sections of
>> phpMyAdmin do not appear in the table operations tab? eg table settings,
>> table copy. There's only a table move section. What is the reason?
>>
>> https://resmim.net/f/i6fiNF.jpg
>>
>> **
>> error_log:
>>
>> Fatal error: Uncaught Error: Call to undefined method
>> PhpMyAdmin\StorageEngine::getInnodbPluginVersion() in
>> /opt/lampp/phpmyadmin/libraries/classes/Operations.php:1234 Stack trace: #0
>> /opt/lampp/phpmyadmin/libraries/classes/Operations.php(1144):
>> PhpMyAdmin\Operations->getPossibleRowFormat() #1
>> /opt/lampp/phpmyadmin/libraries/classes/Operations.php(932):
>> PhpMyAdmin\Operations->getTableOptionFieldset(Object(PhpMyAdmin\Table), '',
>> 'utf8_general_ci', 'INNODB', 'DEFAULT', '0', '2', '1', '', '0') #2
>> /opt/lampp/phpmyadmin/tbl_operations.php(376):
>> PhpMyAdmin\Operations->getTableOptionDiv(Object(PhpMyAdmin\Table), '',
>> 'utf8_general_ci', 'INNODB', 'DEFAULT', '2', '0', '1', '', '0') #3 {main}
>> thrown in /opt/lampp/phpmyadmin/libraries/classes/Operations.php on line
>> 1234
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20181216/fc36b3cb/attachment.html>


More information about the Developers mailing list