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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Have you tried running the latest from CVS?
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.