Well, this is completely baffling.  It's as if, after login, the vlogin
init function does not get executed at all.  Included with this email is
another shot at debugging this mysterious problem...  It is a
replacement for the vlogin setup.php file that will print out the title
bar string.  It should print out " - Mail" when you first go to the
login page, since there is not yet any username.  But once you log in,
it should print it out again, but as "[EMAIL PROTECTED] - Mail" (and then
cause some errors, but hey, this is just for debuggin...).  I wonder if
you'll see anything the 2nd time after logging in...???

> -----Original Message-----
> From: Lilla [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 03, 2002 1:03 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SM-USERS] Multiple domains + Apache + SSL + SM
> 
> I did that with "vi" but I still get only " - Mail" when logged in.
This
> is the diff (I have only adjusted it to "mydomain.com" here):
> 
> $ diff config.php config.php.sample
> 21,24c21,24
> <       'mydomain.com' => array(
> <           'org_name'   => 'My Domain 2',
> <           'org_logo'   => '../images/domain2_image.gif',
> <           'org_title'  => $_SESSION['username'] . ' - Mail'
> ---
>  > //      'domain2' => array(
>  > //          'org_name'   => 'My Domain 2',
>  > //          'org_logo'   => '../images/domain2_image.gif',
>  > //          'org_title'  => $_SESSION['username'] . ' - Mail'
> 29c29
> <       ),
> ---
>  > //      ),
> 148,149c148
> <   //$virtualDomainDataDir = '';
> <   $virtualDomainDataDir =
> '/pkg-local/squirrelmail/default/data/###VIRTUAL_DOMAIN###/';
> ---
>  >   $virtualDomainDataDir = '';
> 
> Maybe it is a problem with php? Are you using 4.2.3 too? Maybe
different
> versions doesn't handle the $_SESSION['username'] thing in the same
way?
> 
> /Lilla
> 
> 
> > Since the $_SESSION['username'] seems to be correctly printing out,
the
> > only thing I can imagine is that there is a problem in the vlogin
config
> > file where there might be a missing comma or a quote not closed
correctly
> > or a stray character that is disrupting that setting.  Try backing
up that
> > file, reopening the sample config file with something like vi (don't
edit
> > it remotely, don't cut and paste, blah blah blah) and make just the
bare
> > minimum changes necessary for you to log in and try it again.  It
really
> > should work.  Really.  It works fine here.  ;>

Attachment: setup.debug.tar.gz
Description: Binary data

Reply via email to