STRANGE "Fatal error: Call to undefined function..." ERROR

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

why strange you ask? here goes:

I have been working with Php and Mysql for a week without any problems.
Today I tried executing a php page that connects to mysql and creates a
new database, I got this error:

"Fatal error: Call to undefined function mysql_connect() in C:\Program
Files\Apache Group\Apache2\test\_debug_tmp.php on line 3".

I did some reading on the net and checked all my configuration, and it
looks o.k. (and it already worked well a whole week before today).

The strange thing is that I have another form that inserts data into
the same database in Mysql, and it works like a charm (needless to say
but both pages log in with the same username to the same database).

any ideas?

Re: STRANGE "Fatal error: Call to undefined function..." ERROR

Quoted text here. Click to load it

Your problem seems that the dll file for mysql is not loaded in your
configuration.  Why the other one works I do not know what your exact
configuration is.


Re: STRANGE "Fatal error: Call to undefined function..." ERROR


for some reason my php editor used in some pages the php.ini found in
my php directory (there pages did not work). and the pages that did
work used another php.ini file found in my c:\windows\system32\

anyway, thanks alot for the help.

Site Timeline