SquirrelMail shows blank page after login

Bug #1456194 reported by Ulli Horlacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squirrelmail (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have installed squirrelmail on Ubuntu 14.04, together with apache2.
After login with https://MYSERVER/squirrelmail/src/login.php I get a blank
page. Looking at the source code in the web brwoeser, there is just a "1"
- that's all.

I found a workaround: I added to /etc/squirrelmail/config.php the code:

if (!function_exists('session_unregister')) {
  function session_unregister($var) { unset($_SESSION[$var]); }
}

With this extra code, squirrelmail works as expected.

It looks the Ubuntu packages squirrelmail and libapache2-mod-php5 are
incompatible. See
http://stackoverflow.com/questions/23758202/call-to-undefined-function-session-unregister-when-trying-output
for more information.

Revision history for this message
Ulli Horlacher (framstag) wrote :

I forgot:

Before adding the extra code to /etc/squirrelmail/config.php I found in /var/log/apache2/error.log :

[Mon May 18 08:45:36.075168 2015] [:error] [pid 24923] [client 92.203.28.105:59703] PHP Fatal error: Call to undefined function session_unregister() in /home/httpd/htdocs/squirrelmail/functions/global.php on line 265, referer: https://localhost/squirrelmail/src/login.php

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.