Greetings!
I found a bug that causes the Aegir CMS login screen to fail
in some installations with the following error message:
PHP Fatal error: Cannot redeclare localize_string() (previously
declared in ROOT(3) : eval()'d code(13) : eval()'d code(5) : eval()'d
code(35) : eval()'d code:13) in ROOT(5) : eval()'d code on line 74
The problem is in snippet /AegirCore/lib/config_set, lines
73-77 where there is the following function:
73: if (!function_exists('gettext')) {
74: function localize_string($str) {
75: return $str;
76: }
77: }
Comment this out and Aegir should start working. Perils of
doing global search-and-replaces... :-(
This one appeared only on systems where the gettext extension
for PHP is not installed.
Should we release a fixed version?? It is now fixed on devel
server.
/Bergie
--
Henri Bergius [EMAIL PROTECTED]
Consultant Partner Tel: +358-20-198 6032
Nemein Oy http://www.nemein.com/
Nemein.Net - Project tracking solution for consulting companies
http://www.nemein.com/Nemein.Net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]