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
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.
Thanks.
My guess is that the older version of RC you are running is not happy with the upgraded PHP version - hence the "deprecated" warning. Since the current stable version is 0.5.2, it might be time for an upgrade in RC as well.
Arne Berglund System Administrator, Internet Services Lane Education Service District Eugene, OR ____________
On Wed, 27 Apr 2011 19:34:18 -0500, 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
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.
Thanks.
-- Stan
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?
http://trac.roundcube.net/wiki/Howto_Requirements
Make sure PHP has all of the necessary extensions, in particular.
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/
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.
On 4/27/2011 7:47 PM, Arne Berglund wrote:
My guess is that the older version of RC you are running is not happy with the upgraded PHP version - hence the "deprecated" warning.
I executed 'pear upgrade MDB2-beta' and the log errors have disappeared. The login redirection problem persists.
Since the current stable version is 0.5.2, it might be time for an upgrade in RC as well.
The only reports of this problem I found on the forums are with 0.4.x and 0.5.x, and they occurred BECAUSE of upgrades, same as in my case (or similar at least). The problem was never fixed by an upgrade. And in each case the problem was fixed with a completely different solution. One involved disabling PHP suhosin (which I can't do), the other simply copying one of the *.php files over that was missed during a manual upgrade (which I also can't do).
So apparently multiple root causes can result in this single login redirect problem, and at the same time, leave no trace in the logs as to what is failing or where to look to go about fixing it, which is the absolute worst part of this.
To boot, this was a Linux distribution upgrade, not an app source upgrade, that caused this, or at least seems to have caused this.
Still looking for suggestions. This RC doesn't have a lot of demanding (yet) users but it's been down a couple days now and I'd really like to get it running again. And I'm no closer to accomplishing that. I just tried logging in twice, redirected back to login both times, and there are no errors in the RC or lighttpd logs...