Menu

problems getting started

Help
Jon
2006-07-21
2013-03-22
  • Jon

    Jon - 2006-07-21

    I am trying to get an install of PB 0.4 running on Windows Server 2000 with IIS, PHP 4.3, and mysql 4.0.  I have been receiving a lot of 'Notice:' messages, however I was able to look through them and move on so I have managed to create the database and the tables.  When I go to the index page I get many notices like the following:

    Notice: Use of undefined constant LOGIN_GUEST - assumed 'LOGIN_GUEST' in F:\DII IP\Web\projectbench\const.php on line 28

    Notice: Use of undefined constant LOGIN_ACCOUNT_DISABLED - assumed 'LOGIN_ACCOUNT_DISABLED' in F:\DII IP\Web\projectbench\const.php on line 29

    Notice: Use of undefined constant LOGIN_INCORRECT_PASS - assumed 'LOGIN_INCORRECT_PASS' in F:\DII IP\Web\projectbench\const.php on line 30

    etc

    I have looked through const.php and I saw the define statements.  Const.php is not the only file listed as a source of these issues.  I also get things like:

    Notice: Undefined index: QUERY_STRING in F:\DII IP\Web\projectbench\class\User.class.php on line 246

    Notice: Undefined variable: NAVBAR in F:\DII IP\Web\projectbench\navbar.php on line 28

    Even the <title> lists undefined variable problems (PAGE_TITLE).

    I have a feeling I have made some type of newbie mistake, but I am unsure what to look for.

    Any help would be greatly appreciated!

    Thanks,
    Jon

     
    • Jon

      Jon - 2006-07-25

      I suppose I either asked a question nobody has the answer to, or I did not provide enough pertinent data.  The problem still exists and I would gladly post more required information if you will let me know what you need.

      Jon

       
    • Philip X

      Philip X - 2006-07-26

      Have you tried running the latest from CVS?

       
    • Jon

      Jon - 2006-07-27

      I downloaded a fresh copy from CVS to make sure, and the same problem occured.  I then set up another server running apache, php, mysql, thinking maybe it's something to do with IIS.  The same problem occured.  I reviewed all installation instructions and finally found that the incorrect php.ini file was being used.  The error_reporting = E_ALL & ~E_NOTICES was not set correctly.  Correcting that fixed the problem I was having.  Thanks for the help.

      PS you might try allowing notices in php and examine the notices that appear.  I found quite a few little bugs (non-severe) by examining why the notices were occuring.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.