Page 1 of 1

Fatal error: Call to undefined function mysql_connect()

Posted: Tue Jul 26, 2005 11:02 pm
by del
Script URL: local
Version of script: 0.93b from July 5, 2005
Version of PHP: 5.0.4
Hosting company: local
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: above

Write your message below:
Hello

This script looks great but I just can't get out of the starting blocks.

When I run check database connection on install.php I get this error.
Fatal error: Call to undefined function mysql_connect() in D:\Intranet\hesk\install.php on line 159

I checked all my settings and they all look OK. I can connect to mysql using a different front end.

Posted: Thu Jul 28, 2005 3:40 pm
by Klemen
mysql_connect is a standard function and it should be included in your PHP package. You might want to re-check that.

The same error

Posted: Tue Aug 02, 2005 6:44 pm
by Ismael
I'm see the same error in the scrip install.php

what i can do???

I can connect to my database called hdesk from the mysql administrator...

the scripts need a particular installation??

how can include the sentence in the php script???


thanks.
Ismael

Posted: Tue Aug 02, 2005 7:32 pm
by Klemen
What version of PHP have you got?

If you have PHP 5 keep in mind I haven't tested this scipt in PHP 5 and from what I know it doesn't work there yet, try installing PHP 4.3.x

Regards

Posted: Wed Aug 03, 2005 5:56 pm
by Klemen
Just found out that MySQL is NOT enabled by default in PHP 5+. Further reading and installation instructions here:

http://www.php.net/mysql

Regards