Postnuke install probs - any advice appreciated.
Graham Bentley
gbentley at uk2.net
Sun Jul 4 11:29:57 PDT 2004
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 "<center><br><br>";
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
More information about the freebsd-questions
mailing list