Menu

Error while loading the login page

Help
Babar Haq
2013-09-25
2014-11-19
  • Babar Haq

    Babar Haq - 2013-09-25

    Hello,

    I have recently installed wass on my local server. I have been able to complete the installation process successfully. However, when I go to the login page, I get following errors in the apache log. Also, on logging in as a guest user, instead of taking me to the make appointment page, it shows a white empty screen.

    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined variable: parmspath in /var/www/wass/pages/login.page.php on line 27
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: authenticated in /var/www/wass/pages/login.page.php on line 79
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: caslogout in /var/www/wass/pages/login.page.php on line 103
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: btnSubmit in /var/www/wass/pages/login.page.php on line 113
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: btnGuest in /var/www/wass/pages/login.page.php on line 113
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: hidSubmit in /var/www/wass/pages/login.page.php on line 113
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: btnSubmit in /var/www/wass/pages/login.page.php on line 121
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: btnGuest in /var/www/wass/pages/login.page.php on line 121
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined variable: parmspath in /var/www/wass/pages/login.page.php on line 27
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: authenticated in /var/www/wass/pages/login.page.php on line 288
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: authtype in /var/www/wass/pages/login.page.php on line 291
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: authid in /var/www/wass/pages/login.page.php on line 291
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: PATH_TRANSLATED in /var/www/wass/pages/login.page.php on line 404
    [Wed Sep 25 10:22:47 2013] [error] [client 192.168.1.105] PHP Notice: Undefined index: PATH_INFO in /var/www/wass/pages/login.page.php on line 404

    Will really appreciate your help in this regard,

    Babar

     
    • Serge Goldstein

      Serge Goldstein - 2013-09-25

      Babar,

      the entries you are seeing in the Apache log are not errors; they are notices (normal part of WASS operation). If you don't want your log to fill up with them, you can set the error_logging level in the .htaccess file to something like:

      php_value error_reporting 81

      The blank screen, on the other hand, is a problem. What browser are you using (and what version of the browser, and on what OS)?

       
  • Serge Goldstein

    Serge Goldstein - 2013-09-25

    Babar,

    It occurs to me that you might not be using a .htaccess file. If so, you can set the PHP error reporting level in a script that every WASS routine executes. This is the OnOff function in wassUtil.class.php (in the "classes" directory). Change the function to read as follows:

    /
    This method determines if the WASS system is up and running and, if not,
    terminates with an error message. It also installs an error handler to trap errors and log them.
    /
    static function OnOff() {
    / If we are down /
    if (!wassParms::RUNNING) {
    if (wassParms::DOWNMSG)
    / Issue specified error message if set /
    die(wassParms::DOWNMSG);
    else
    / Else issue default error message /
    die('The system is down. Please contact ' . wassParms::CONTACTNAME);
    }
    / Set the error reporting level /
    error_reporting(E_ERROR | E_WARNING | E_PARSE);

    }
    
     
  • Babar Haq

    Babar Haq - 2013-09-25

    Hi Serge,
    Thank you for your repsonse.

    I am using 32 bit ubuntu 13.04 and 12.04. On firefox 24 it gives blank page and on chrome it says "server error".

    Thanks in advance.
    Regards,
    Babar Haq

     
  • NwigboYT

    NwigboYT - 2014-11-19

    how do i install wass on my mac.

    thank you in advance

     
  • Serge Goldstein

    Serge Goldstein - 2014-11-19

    To install WASS on a Mac, you first need to install a LAMP stack on your Mac (Check out MAMP or WAMP). Once in place, just follow the installation instructions for WASS.

    Are you running the latest release (4.1.2)? It has some fixes to the installation script, and also obviates the need for you to set a couple of parameters that often generate blank screens.

     
  • NwigboYT

    NwigboYT - 2014-11-19

    thanks very much, yes i am running (4.1.2). when i run it, it says "your connection is not private , attackers might be trying to steal......how do i set this up(a private connection)?

    I need set up instructions.

    thanks

     

    Last edit: NwigboYT 2014-11-19

Log in to post a comment.