BASE logo and nothing else

  • phil7280

    phil7280 - 2005-12-16

    Hello All,

    I have been running BASE on a box with Win2K3, MSSQL, and Snort 2.4.x for about 3 weeks now.  Everything has been working fine.  Now for some reason, the only thing that shows on my BASE console is the logo at the top of the page.  No other data shows up.  Any help would be appreciated.


    • phil7280

      phil7280 - 2005-12-16

      also, running IIS 6.
      Sorry to leave that out

    • Joel Esler

      Joel Esler - 2005-12-16

      What does your $BASE_urlpath say?

    • phil7280

      phil7280 - 2005-12-16

      $BASE_urlpath = "http://localhost/console";

      • Joel Esler

        Joel Esler - 2005-12-16

        This is your problem.  You should have this read /base or /base-1.2.1 or however it is applicable to your installation.

    • Kevin Johnson

      Kevin Johnson - 2005-12-17


      Is there an eroor message in your logs?  If not, could you either turn up the error reportng in your php.ini or the debug level within BASE?


    • phil7280

      phil7280 - 2005-12-19

      Hi and thanks for replying,

      Joel: base_main.php is my default document, which is in the directory localhost/console

      Kevin: What logs are where should i look at?  I turned on the "display errors" in php.ini. Nothing happened.  It sits there and tries to load and then it stops loading and the logo appears. Nothing else. 

      • Kevin Johnson

        Kevin Johnson - 2005-12-23

        With display errors what level of error reporting was turned on?  You can also look in the http server logs...


    • phil7280

      phil7280 - 2005-12-19

      ok I turned on debugging in base_conf.php
      here is what i get now:

      Session Registered
      Checking for DB abstraction lib in 'd:\win-ids\adodb\'

      [BASE LOGO]

      URL: '/console/base_main.php' (referred by: '')
      CLIENT: Mozilla/4.0 (compatible; MSIE 6.0;Windows NT 5.2; SV1; .NET CLR 1.1.4322)
      SERVER: Microsoft-IIS/6.0
      SERVER HW: Windows NT C1SN 5.2 build 3790
      V4.54 5 Nov 2004  (c) 2000-2004 John Lim ( All rights reserved. Released BSD & LGPL.
      PHP VERSION: 5.0.3  PHP API: cgi-fcgi
      BASE VERSION: 1.2.1 (kris)
      SESSION ID: f536073a49534ecccb7d6c1a58b8f458( 212 bytes )
      Checking for DB abstraction lib in 'd:\win-ids\adodb\'

      Should I reload adodb

    • phil7280

      phil7280 - 2005-12-19

      Furthermore, I turned on additional debugging info:

      Session Registered
      Saving state (into 0)
      Insert session into slot #1
      Back List (Cnt = 1)
          [0] => Array
                  [0] =>
                  [1] =>
                  [2] =>

          [1] => Array
                  [PHP_SELF] => /console/base_main.php
                  [QUERY_STRING] =>
                  [session] => back_list|N;back_list_cnt|i:-1;


      Original path = 'd:\win-ids\adodb'
      Attempting to load: 'd:\win-ids\adodb\'
      Checking for DB abstraction lib in 'd:\win-ids\adodb\'

      This looks like more of the same. 
      Any help is warmly welcomed! :)


    • ET2Monty

      ET2Monty - 2007-08-22

      Was this problem ever resolved? I am having the same problem - I get a Base banner and a blank page.  Running Windows 2003, IIS, Base jodie, adodb 494.  I had this problem two weeks ago, reinstalled SQL 2000, and everything worked, so the configuration should be fine.  Two weeks later, I get a blank page.  In base.conf I set debugging to 2, and php.ini to and I get the following:
      Original path = 'd:\adodb'
      Attempting to load: 'd:\adodb\'
      Checking for DB abstraction lib in 'd:\adodb\'

      Notice: Undefined index: REQUEST_URI in D:\Inetpub\wwwroot\base\includes\ on line 92

      I think it might be a database size problem, as that is the only thing that should have changed in the last two weeks.  Also, we have not done any archiving or deleting yet, and we probably have 1-2 million alerts by now. 

      Any ideas?

      • Kevin Johnson

        Kevin Johnson - 2007-08-27

        Odd.  I wouldn't think that data size would affect this.  Any changes to php.ini or IIS?


        • ET2Monty

          ET2Monty - 2007-08-28

          The only changes I made to php.ini was to turn on the debugging.  And the IIS has had no changes made since it previously worked. 
          Additionally, I ended up deleting the databases and recreating them.  And BASE worked just fine.  The only thing I can think of is the time it took to load the database was too long and maybe BASE was trying to refresh too soon.  Although I changed the refresh time and still got no page.  I would still like to know what was happening to get that output from BASE, in case this happens again (and I won't have to delete the database).
          In the meantime I guess I will just have to make sure my database size stays as small as possible.

    • ET2Monty

      ET2Monty - 2007-08-31

      Well it happened again.  I last checked it Wednesday and we were somewhere near a million hits, and I come in today, Friday and I've got the same problem - a Base logo and nothing else.  I did a better job of controlling the number of alerts this time - and I think we had a lot fewer than last time.  So I do not think that the size is the issue - but Wednesday, after I left work, would have been exactly seven days since the database was created.  Perhaps it has something to do with a time limit?
      Any help would be appreciated.

      • Juergen Leising

        Juergen Leising - 2007-09-02

        > Perhaps it has something to do with a time
        > limit?

        Well, php does use a timeout. And you can configure it from within BASE. Cf. base_conf.php:

             /* Sets maximum execution time (in seconds) of any particular page.
             * Note: this overrides the PHP configuration file variable
             *       max_execution_time.  Thus script can run for a total of
             *       ($max_script_runtime + max_execution_time) seconds
            $max_script_runtime = 180;

        You could write
            $max_script_runtime = 6000;

        for example.

        Bye, bye



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