#55 Virtual Host Login (VLogin) and PHP errors...HELP!!!

closed-invalid
nobody
None
7
2005-08-12
2003-07-29
Erick Adam
No

Hi,

I'm a very new user to both Linux and SquirrelMail (I've
just started using both about a week ago), so please
forgive me if this problem turns out to be something silly
I've just forgotten to do.

I've installed and configured SquirrelMail 1.4.1 on Red
Hat 8. This all works just fine. However, I need
SquirrelMail to support many different domains,
preferably with some customizations for each one. My
understanding is that the Virtual Host Login plugin would
do all this and more for me. So I downloaded it (ver. 3.2)
and wrote a config.php file based on the sample (this file
is attached if you would like to review it). Right now I'm
trying to test it with just two domains to see if I can get
it working.

My problem is, for some reason, whenever I try to pull
up either of the login pages I get the following PHP error
at the top:

Parse error: parse error, unexpected ';'
in /usr/share/squirrelmail/plugins/vlogin/functions.php
(233) : eval()'d code on line 1

If I changed the $debug value in config.php to 1 and
login, it does indeed resolve the login to the correct
domain, but it also prints three additional errors:

Warning: Cannot add header information - headers
already sent by (output started
at /usr/share/squirrelmail/plugins/vlogin/functions.php
(233) : eval()'d code:1)
in /usr/share/squirrelmail/functions/i18n.php on line 1611

(it gives this same error two more times, only with the
files /squirrelmail/functions/global.php (line 267)
and /squirrelmail/src/login.php (line 49)).

If I then turn debugging off it will still continue to print
these errors for several hours afterward.

I am new to PHP, but I have been programming in ASP
and JavaScript for years, with some C++ and Java
experience, so the PHP isn't terribly difficult to follow
(unless I'm missing something completely). I have
vigorously reviewed
the /squirrelmail/plugins/vlogin/data/config.php file
several times and it looks correct to me.

I was also wondering if perhaps the conflict was with
another plugin I have installed, so I removed quite a few
of them. Here is a list of plugins I currently have
installed:
1. delete_move_next
2. newmail
3. calendar
4. image_buttons
5. administrator
6. bug_report
7. compatibility (required for VLogin)
8. browser_info
9. vlogin

But nothing seems to help. I've looked everywhere and
can't seem to find anyone else who has had this
problem, but with almost 8,000 downloads for this plugin,
I can't imagine I'm the only one. If anyone out there
could even point me in the right direction I'd be VERY
grateful.

Thanks!

Discussion

  • Erick Adam

    Erick Adam - 2003-07-29

    /squirrelmail/plugins/vlogin/data/config.php

     
  • Erick Adam

    Erick Adam - 2003-07-29
    • priority: 5 --> 7
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2004-11-23

    Logged In: YES
    user_id=225877

    You have modified plugins/vlogin/functions.php and broke
    something. Or that version of plugin was broken. Check if
    you can reproduce your problem with latest version of plugin.

     
  • Paul Lesniewski

    Paul Lesniewski - 2005-08-12

    Logged In: YES
    user_id=508228

    This is most likely a problem with how you quoted the
    org_title setting in your config file. This kind of help
    request is best placed on the plugins mailing list since it
    is not a bug, it is a request for help configuring the software

     
  • Paul Lesniewski

    Paul Lesniewski - 2005-08-12
    • status: open --> closed-invalid
     
  • Paul Lesniewski

    Paul Lesniewski - 2005-08-12

    Logged In: YES
    user_id=508228

    This is most likely a problem with how you quoted the
    org_title setting in your config file. This kind of help
    request is best placed on the plugins mailing list since it
    is not a bug, it is a request for help configuring the software

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks