[Php-calendar-discussion] adodb/adodb.inc.php is missing?
Brought to you by:
sproctor
From: Peter P. S. <si...@oe...> - 2004-09-23 03:22:55
|
Again: (compare From: Mr. Fitz <mr_fitz@ho...> v. 0.9: adodb/adodb.inc.php is missing? 2004-04-14 ) localhost/calendar Warning: Failed opening './config.php' for inclusion (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/calendar/includes/setup.php on line 24 Warning: Failed opening 'adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/calendar/includes/db.php on line 27 ------ The answer was: ADOdb has to be installed. (2004 04 14 ) That is clear but if I put the adodb folder into my WebServer site it seems to expect items at /usr/lib/php On my MacOS 10.2.8 I find /usr/local/php] psint% ls bin httpd.conf.php lib phpBB2 doc include libphp4.so share and [inn:/usr/lib/php] psint% ls build extensions Which files in the adodb folder (directory) have I to edit (if any)? Where to put adodb: on the same level as calendar (into WebServer/Documents/ ) Have I to edit setup.php ( include($phpc_root_path . 'config.php'); does it get $phpc_root_path from $phpc_root_path = './'; in install.php ?) or db.php where I find include_once('adodb/adodb.inc.php'); If I run localhost/calendar/install.php : Warning: Failed opening 'adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/calendar/install.php on line 32 your config file is not writeable. I suggest logging in with a shell and typing: touch config.php chmod 666 config.php The only config.php I find is in cconfig.php /Library/WebServer/Documents/phpBB2/config.php /usr/local/php/phpBB2/config.php (for another working phpBulletinBoard ) The docs describe extensively how to write php files using adodb but it remains unclear where to put it. The adodb readme is also not explicit other than:files should be accessible from Web-Server. /localhost/adodb delivers a list of adodb files and folders. This is probably easy if you know how-to Compare that with http://phpicalendar.sourceforge.net/ which runs out of the box. |