Author |
Message |
27/07/2004 15:29:20
|
Anonymous
|
When after making changes and I go to run install.php I get this error.
Can someone plz help me fix this? I dont have a clue!
Error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/boards/movies/install.php on line 242
Thanks!
greg@1st-family.org
|
|
27/07/2004 18:16:22
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Does your host provide you with a MySQL database?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/07/2004 20:36:25
|
Anonymous
|
Carbonize wrote:Does your host provide you with a MySQL database?
I am my own host and mysql is installed. Redhat ES v.3 and goofy Webmin
Do you think it is a path problem or mysql is not properly installed?
Thanks!
|
|
28/07/2004 06:18:30
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
I think the first thing you do when you get a message like this is to try and find the problem code. Your error says the problem occured in install.php on line 242
If you are talking about the guestbook install, line 242 reads:
So, it can't connect to the database, probably because the database name, username or password are incorrect in the config file or, like you said it is incorrectly installed.
First check the guestbook's admin/config.inc.php file starting on line 2 and make sure the settings are correct:
|
|
28/07/2004 15:02:40
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
OK lets check your PHP configuration. Open your favourite text editor and put in Now save the file with the .php extension and upload it to your web server. Goto the file in your web browser and it will show you the configuration of your PHP. Check in the page you get to see if there is a MySQL section.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
29/07/2004 16:58:00
|
Anonymous
|
I do believe I have found the problem. Its Mysql....
I am going to delete it and do a complete new install....will advise.
much thanks!
G
|
|
30/07/2004 21:41:42
|
Anonymous
|
Thanks all for the great help!
|
|
|