[Phpmyadmin-devel] notices in libraries/RecentTables.class.php

Aris Feryanto aris_feryanto at yahoo.com
Thu Jun 23 10:53:49 CEST 2011


----- 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 Feryanto




More information about the Developers mailing list