6.0.0-beta1
7/17/25

[#4595] After login, php squirts in top frame
Summary After login, php squirts in top frame
Queue IMP
Queue Version 3.2.3
Type Bug
State Not A Bug
Priority 3. High
Owners
Requester manos (at) cat (dot) pdx (dot) edu
Created 10/31/2006 (6834 days ago)
Due
Updated 01/30/2008 (6378 days ago)
Assigned
Resolved 11/03/2006 (6831 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/30/2008 07:40:43 PM manos (at) cat (dot) pdx (dot) edu Comment #3 Reply to this comment
imp-h3-4.1.1/templates/login/login.inc



Was missing "< ? php" at the top. Lookie like a bug to me. This 
doesn't exist in cvs though, so it's moot.
11/03/2006 07:25:17 AM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
This is not a bug.  It is either a misconfigured webserver or PHP.
10/31/2006 03:13:31 AM manos (at) cat (dot) pdx (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ After login, php squirts in top frame
Queue ⇒ IMP
Reply to this comment
This is running on apache 1.3, on a Solaris server, LANG=en_US.UTF-8.



When people login using IE, and sometimes FF (but rarely), the left 
side will appear normally, but the main frame still contains the login 
screen. At the top, above it, the following php code is shown (sorry 
for the ugly paste):



?php $server_key = IMP::getAutoLoginServer(true); $rightAlign = 
empty($nls['rtl'][$language]) ? 'right' :

'left'; $leftAlign = empty($nls['rtl'][$language]) ? 'left' : 'right'; 
$tabindex = 1; /* Build the  widget

                                                                       
                    for the servers

                                                                       
                    and hordeauth

                                                                       
                    servers lists. */

$show_list = ($conf['server']['server_list'] == 'shown'); if 
($show_list) { $hordeauth_servers_list =

     $servers_list = ''; $isAuth = Auth::isAuthenticated(); foreach 
($servers as $key => $val) { $sel =

         (IMP::isPreferredServer($val, $key)) ? ' selected="selected"' 
: ''; $servers_option = "" .

             $val['name'] . ''; if (empty($curServer['hordeauth']) || 
!$isAuth) { $servers_list .=

                 $servers_option; } elseif ($isAuth) { 
$hordeauth_servers_list .= $servers_option; } } } /*

                                                                       
                                      Build

                                                                       
                                      the

                                                                       
                                      widget

                                                                       
                                      containing

                                                                       
                                      the

                                                                       
                                      available

                                                                       
                                      languages.

                                                                       
                                      */ if

                 (!$prefs->isLocked('language')) { 
$_SESSION['horde_language'] = NLS::select(); $langs =

                     ''; foreach ($nls['languages'] as $key => $val) { 
$sel = ($key ==

                             $_SESSION['horde_language']) ? ' 
selected="selected"' : ''; $langs .= "$val";

                     } } ?>







If you click on Mail (or anything on the left) it works. Most users 
see the login in the middle with "Login Failed" so they just "login" 
again, which works as well.



Is there any more information I can provide?

Thanks!

  -Charlie

Saved Queries