[Phpmyadmin-devel] 2.8.1 config bug?

Sebastian Mendel lists at sebastianmendel.de
Mon Jun 12 14:55:35 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Garvin Hicking schrieb:
> Hi!
> 
>> is the config.inc.php write protected?
> 
> No, I even tried it with 0777.

But it must be write protected! [Security]


>> did you try to 'hardly' start a new session?
> 
> Nope, I didn't think of that. I just re-tried the configuration, and then it
> does parse the proper configuration. So it seems it was previously not reloading
> an updated configuration? I set the auth_type to "http", and with that it still
> doesn't work. But with cookie/config type it does work now.
> 
>> can you check into the config class? especially Config::__wakeup() what is
>> responsible for checking this file and load it if it has changed.
> 
> That server is running PHP4, so __wakup will not be called. Is this intentional
> to depend on PHP4, or am I missing a PHP4 BC method call somewhere?

this call is in common.inc.php on line #2874

} elseif (version_compare(phpversion(), '5', 'lt')) {
    $_SESSION['PMA_Config']->__wakeup();
}



- --
Sebastian Mendel

www.sebastianmendel.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEjWRHX/0lClpZDr4RAgJ6AKC0lZVAYkogFrv4R39GMe53eaXeQQCfQnCE
8W98WopuP6PpWOx2QzHKbK8=
=Bp2a
-----END PGP SIGNATURE-----




More information about the Developers mailing list