From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 18:29:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AB5E16A4CE for ; Sun, 4 Jul 2004 18:29:57 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9BA843D31 for ; Sun, 4 Jul 2004 18:29:56 +0000 (GMT) (envelope-from gbentley@uk2.net) Received: from [81.174.174.115] (helo=plus) by ptb-relay01.plus.net with smtp (Exim) id 1BhBkQ-0009nj-Vl for questions@freebsd.org; Sun, 04 Jul 2004 18:29:55 +0000 Message-Id: <3.0.6.32.20040704192950.007b3c60@mail.uk2.net> X-Preferences: Plain Text/No HTML X-Mailer: Interstat v2.0.9 Date: Sun, 04 Jul 2004 19:29:50 +0100 To: questions@freebsd.org From: Graham Bentley Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Postnuke install probs - any advice appreciated. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 18:29:57 -0000 Hello All, I have 5.2.1 freshly installed and updated / built. I have installed Postnuke (Rogue) using the ports system. I have a running Apache which displays a PHP test page fine. I have a running MySQL server in which I have created a root password for both localhost and the host/domain. I have created a database called rogue and a user called rogue and a password for rogue. I have imported the Rogue.sql schema e.g. 3bsd# mysql -u rogue -p rogue < /usr/local/www/data-dist/postnuke /sql/rogue.sql When I come to run webconfig install.php I only get so far and then get a blank page. I enter language, the database name and user and password. I click proceed and what comes up next is a mostly blank page with red text the words "No database made" If I tick the option to create the database I get a completely blank page. I have also noticed that if I leave all these fields balnk I get exactly the same results. Here is a sample from my httpd-error log :- [error] PHP Warning: main(pnadodb/adodb.inc.php): failed to open stream: Permission denied in /usr/local/www/data-dist/postnuke/html/install.php on line 48 [error] PHP Fatal error: main(): Failed opening required 'pnadodb/adodb.inc.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/data-dist/postnuke/ html/install.php on line 48 --- snip from install.php --- 48 require_once ("pnadodb/adodb.inc.php"); --- snip --- [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /usr/local/ www/data-dist/postnuke/html/install/newinstall.php on line 36 --- snip from newinstall.php ---- 30 *** This function creates the DB on new installs *** 31 function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix, $dbtype, $dbmake) 32 { 33 global $dbconn; 34 echo "


"; 35 if ($dbmake) { 36 mysql_pconnect($dbhost, $dbuname, $dbpass); --- snip --- [notice] Apache/1.3.31 (Unix) PHP/4.3.7 configured -- resuming normal operations [notice] Accept mutex: flock (Default: flock) [error] PHP Fatal error: Call to undefined function: mysql_connect() in /usr/local/www/ data-dist/postnuke/html/pnadodb/drivers/adodb-mysql.inc.php on line 108 --- snip from adodb-mysql.inc.php --- 108 $this->_connectionID = mysql_connect($argHostname,$argUsername, $argPassword); --- snip --- [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /usr/local/www/ data-dist/postnuke/html/install/newinstall.php on line 36 Wondering if calls to the database server are being denied or the DB server is just unavailable for some reason. Any help really appreciated. Thanks