Michael Orlitzky put forth on 4/27/2011 8:00 PM:
On 04/27/2011 08:34 PM, Stan Hoeppner wrote:
Platform: Debian 6.0 Squeeze i386 RC rev: 0.3.1-6
Symptom: Immediately after RC login and seeing the mailbox view I am instantly redirected back to the login page. This occurs via http and https, with or without https redirection enabled. I did not have this problem immediately after the Squeeze upgrade when I tested all apps on the server to make sure they were all working.
Relevant Log entries:
... [27-Apr-2011 19:15:25] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2647 [27-Apr-2011 19:15:28] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 393 [27-Apr-2011 19:15:28] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2647
This is nothing to worry about. The older version of Roundcube does something that is now deprecated. There are no other effects than these log entries (for now).
Related information:
I can't recall the exact details, but an issue unrelated to Roundcube forced me to remove and reinstall one of the php packages on the system. I'm guessing this is the source of the problem. There are 234 php and related packages in Debian 6.0 and I have no idea which one(s) I need to reinstall to fix this problem.
Any help would be greatly appreciated.
Can you double check that you didn't lose any of the requirements somehow?
I just double checked the Debian Roundcube 0.3.1-6 package dependencies and all are installed.
Make sure PHP has all of the necessary extensions, in particular.
They all appear to be installed.
It depends on what's causing this, but it may help to see the HTTP headers from your request and the ones returned by the server. The easiest way to get them is probably Live HTTP Headers for Firefox:
https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/
Here's are the last two http headers I get resulting from the login and the subsequent redirect. RC is redirecting me back to the 'referer' URL: Referer: http://www.hardwarefreak.com/roundcube/?_task=mail which dumps me back at the login screen.
http://www.hardwarefreak.com/roundcube/program/js/app.js?s=1256995295
GET /roundcube/program/js/app.js?s=1256995295 HTTP/1.1 Host: www.hardwarefreak.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 Accept: */* Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Referer: http://www.hardwarefreak.com/roundcube/?_task=mail Cookie: mailviewsplitterv=165; mailviewsplitter=205; roundcube_sessid=8ca0036362fa93f629906bc1f26ee0d2 If-Modified-Since: Sat, 31 Oct 2009 13:21:35 GMT If-None-Match: "1419049353"
HTTP/1.1 304 Not Modified Content-Type: application/javascript Accept-Ranges: bytes Etag: "1419049353" Last-Modified: Sat, 31 Oct 2009 13:21:35 GMT Date: Thu, 28 Apr 2011 05:00:05 GMT Server: lighttpd/1.4.28
The cause of this is probably something stupid. IIRC I saved my current RC conf files instead of installing the new version. I'm going to try reinstalling everything with the new conf files and see if that helps.