FS#3170 - squirrelmail broken
Attached to Project:
Arch Linux
Opened by Glenn Matthys (RedShift) - Tuesday, 13 September 2005, 20:51 GMT
Last edited by Dale Blount (dale) - Tuesday, 13 September 2005, 20:56 GMT
Opened by Glenn Matthys (RedShift) - Tuesday, 13 September 2005, 20:51 GMT
Last edited by Dale Blount (dale) - Tuesday, 13 September 2005, 20:56 GMT
|
Details
Hello gents,
squirrelmail 1.5.1cvs-3 is broken, I get the following error when I log in: Fatal error: Call to a member function translate() on a non-object in /home/httpd/html/squirrelmail/functions/gettext.php on line 36 Bye! |
This task depends upon
./configure --with-layout=GNU --with-ttf --with-config-file-scan-dir=/etc \
--enable-gd-native-ttf --enable-shared --with-imap --with-imap-ssl \
--with-readline --with-sqlite=shared --with-gd --without-db2 --without-db3 \
--with-inifile --with-flatfile --with-mysql-sock=/tmp/mysql.sock \
--with-openssl --with-pear=/usr/share/pear --with-png-dir=/usr \
--with-regex=php --with-zlib --with-apxs2=/usr/local/sbin/apxs \
--with-jpeg-dir=/usr --with-mysql=/usr/include/mysql \
--with-mysqli=/usr/bin/mysql_config \
--with-prefix=/usr/local
I'm sure it's a problem with squirrelmail, I used the same configure for php 5.0.4, it worked back then. It's since i've -Syu'ed my system, which updated squirrelmail too I'm having this problem. To make sure it wasn't php, I checked the file that gave the error:
function _($str) {
global $l10n, $gettext_domain;
if ($l10n[$gettext_domain]->error==1) return $str;
return $l10n[$gettext_domain]->translate($str);
}
it errors on the function translate, and that function is not part of PHP, so it it must be squirrelmail that's broken. I downgraded to the previous package version, and the problem went away. Why are CVS versions of squirrelmail being used in the current repo btw!?
I wonder if others agree with this sentiment. I will try and find out.
In the meanwhile, I'll try to upgrade it soon to a newer snapshot, and hopefully that will help you.
SquirrelMail notice messages
Category: SQM_NOTICE
Message: This layout sucks. Adapt squirrelmail.css!!!
Something big is changing in the CVS I guess, and it has to do with the themes.
I'm going to work on getting the latest snapshot in place tonight.