If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
install error help!  XML
Forum Index » Support Forum
Author Message
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
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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!
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:

Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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
Anonymous



Thanks all for the great help!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum