|
10-08-2003, 08:29 AM | #1 |
Green Mole
Join Date: Oct 2003
Location: Mesa, AZ
Posts: 15
|
Install problems...
Installing phpDig on a PHP 4.3.3, Apache 2.0.47, MySQL 4.1-alpha system. Ran the admin/install.php script, but after filling out step 1, it would just go to a blank screen.
Looked into the install.php and removed the error-squelching @ signs from the mysql_ commands. Turns out mysql_create_db function is not available when PHP is built against the MySQL 4.0 or 4.1 client library (http://pl.php.net/manual/en/function...-create-db.php). I changed the line with mysql_create_db() to @mysql_query("CREATE DATABASE $dbname", $id_connect) and everything worked great. Thought this might be helpful to some out there! |
10-08-2003, 12:41 PM | #2 | |
Purple Mole
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
|
Re: Install problems...
Quote:
-Roland- |
|
10-08-2003, 12:56 PM | #3 |
Green Mole
Join Date: Oct 2003
Location: Mesa, AZ
Posts: 15
|
It's ok to use -alpha in an -alpha environment though
4.1 is pretty darned solid though. And I really love subselects... that said, that PHP page makes it sound like MySQL 4.0 would exhibit this same problem too (although I have not confirmed it). |
10-13-2003, 05:27 PM | #4 |
Green Mole
Join Date: Oct 2003
Posts: 6
|
>I changed the line with mysql_create_db() to @mysql_query("CREATE DATABASE $dbname", $id_connect) and everything worked great.
Couldn't make the mysql connection till I made the change you suggested, thanks rayvd. |
10-15-2003, 12:02 PM | #5 | |
Green Mole
Join Date: Oct 2003
Posts: 8
|
Quote:
Thanks for the fix! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems on Database install | Vadim | Script Installation | 2 | 12-08-2006 11:28 AM |
Install problems | lala1973nc | Script Installation | 1 | 09-08-2006 11:57 PM |
1.8.2 Install Problems | vinyl-junkie | Script Installation | 1 | 07-13-2004 09:06 PM |
Version 1.8.0 Install Problems | Charter | Mod Submissions | 9 | 01-23-2004 08:08 PM |