[Phpmyadmin-devel] notices in libraries/RecentTables.class.php
Marc Delisle
marc at infomarc.info
Thu Jun 23 11:55:07 CEST 2011
Le 2011-06-23 04:53, Aris Feryanto a écrit :
> ----- Original Message -----
>
>> From: Marc Delisle <marc at infomarc.info>
>>
>> Aris Feryanto a écrit :
>>> Hi Marc,
>>>
>>> ----- Original Message -----
>>>> From: Marc Delisle <marc at infomarc.info>
>>>>
>>>> From current master, when browsing a table:
>>>>
>>>> Warning in ./libraries/RecentTable.class.php#190 array_unshift()
>>>> expects parameter 1 to be array, null given
>>>>
>>>> Backtrace
>>>>
>>>> ./libraries/RecentTable.class.php#190: array_unshift( NULL, string
>>>> sakila.actor, ) ./libraries/header.inc.php#22:
>>>> PMA_RecentTable->add( string sakila, string actor, )
>>>> ./libraries/header.inc.php#171: PMA_addRecentTable( string sakila,
>>>> string actor, ) ./libraries/tbl_links.inc.php#40:
>>>> require_once(./libraries/header.inc.php) ./sql.php#881:
>>>> require(./libraries/tbl_links.inc.php)
>>>>
>>>
>>> Odd. It shouldn't be NULL because it is always initialized when
>>> PMA_RecentTable class is being constructed. And I can't reproduce
>>> this warning. Is this warning found in demo server?
>>
>> No but possibly, warnings and notices are turned off on the demo server.
>>
>> On your development machine you should use this line in config.inc.php:
>> $cfg['Error_Handler']['display'] = true;
>>
>
> Hi Marc,
>
> I keep looking for the warning while developing the show/hide column feature, but I still cannot see it until now. Please let me know about your steps to reproduce it.
Aris,
when I saw this message, it was just because I was browsing a table
(message at bottom of screen).
I no longer see it (but the feature no longer works).
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list