-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham Bentley
Sent: Sunday, July 04, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: Postnuke install probs - any advice appreciated.
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 ***
31function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix,
$dbtype,
$dbmake)
32 {
33global $dbconn;
34echo "";
35if ($dbmake) {
36mysql_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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hello,
On the phpinfo(); test page do you see the MySQL Support enabled ??
"PHP Fatal error: Call to undefined function: mysql_connect()"
Andras Kende
http://kende.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"