Package: squirrelmail-locales
Version: 1.4.4-20050122-1
Severity: normal

The plugin show_user_and_ip produces the following error after signing 
out.

Fatal error: Call to undefined function: setpref() in
/usr/share/squirrelmail/plugins/show_user_and_ip/functions.php on line
156

Adding the following snippet at the top of the functions.php fixed
the problem.

==============
/**
 * Load some necessary stuff from squirrelmail.
 */
 define('SM_PATH','../../');

 require_once(SM_PATH . 'include/load_prefs.php');
==============

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages squirrelmail-locales depends on:
ii  squirrelmail                  2:1.4.4-3  Webmail for nuts

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to