[Pgpool-general] Fatal error on pgpooladmin

Martín Marqués martin.marques at gmail.com
Fri Nov 11 18:47:37 UTC 2011


When going to the "Query cache" option, page get's blanck and I have
this in the PHP logs:

PHP Fatal error:  Cannot redeclare selectreg() (previously declared in
/var/www/html/pgpooladmin/definePgpoolConfParam.php:43) in
/var/www/html/pgpooladmin/definePgpoolConfParam.php on line 46

Checking /var/www/html/pgpooladmin/definePgpoolConfParam.php I can't
find what's wrong:

     40 $userreg    = "^[0-9a-zA-Z_\.\-]+$";
     41 $anyelse    = '.*';
     42
     43 function selectreg($lists)
     44 {
     45   return '^['. implode('|', $lists). ']+$';
     46 }
     47
     48 #------------------------------------------------------------------------------
     49 # CONNECTIONS
     50 #------------------------------------------------------------------------------

Any ideas?

-- 
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador


More information about the Pgpool-general mailing list