Hi all I am trying to install a PHP site for the first time in my life and have run in to what seems to be a common problem.
When I try to access the page I get the following.
Notice: Use of undefined constant DEFAULT_LEAGUE - assumed 'DEFAULT_LEAGUE' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 6
Notice: Use of undefined constant DB_SERVER - assumed 'DB_SERVER' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 14
Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 15
Notice: Use of undefined constant DB_USER - assumed 'DB_USER' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 16
Notice: Use of undefined constant DB_PASS - assumed 'DB_PASS' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 17
Notice: Use of undefined constant PEAR_DIR - assumed 'PEAR_DIR' in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\config.php on line 22
Warning: main(DB.php): failed to open stream: No such file or directory in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\lib\init.php on line 42
Fatal error: main(): Failed opening required 'DB.php' (include_path='.;C:\PHP\pear::C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs/lib:C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs/plugins') in C:\Dangerbowl\bbwm\nuffle-1.0-Beta\webs\lib\init.php on line 42
I know that the problem is typically either the path is not right or the php.ini files include_path is not set correctly. However I am pretty sure they are both right on the machine since A) when I type in db.php while in any directory of the windows command prompt, it launches dreamweaver and opens the file. The line from the php.ini file is
;** Added by go-pear
include_path=".;C:\PHP\pear"
;**
That is the correct directory. Any other suggestions?
Do I need to make the PHP directory into a virtual web or something. Would think I would not have to, but really grasping at straws here.