Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Call to undefined function MySQL_ERROR
May 27, 2005, 12:20 am
rate this thread
I am trying to install phpMyNewsletter on my local computer which is
running WinXp, IIS, php and MySQL.
When I got to access the installer file via
http://localhost/pmnl/install.php I get the following error:
Fatal error: Call to undefined function MYSQL_ERROR() in
c:\Inetpub\wwwroot\pmnl\include\lang\english.php on line 199
Line 199: (MYSQL_ERROR() ? "The following error message can help you :
".MYSQL_ERROR() : "")
Which is obviously a line that has been called to show the error.
Can anyone point me in the right direction here?
Re: Call to undefined function MySQL_ERROR
Something is fishy here. If you have MySQL enabled, mysql_error() will
be defined 100% of the time (unless of course it's disabled through the
disable_functions PHP directive but I doubt that is the case)... Read
http://php.net/mysql for instructions on how to install MySQL.
So, is mysql_connect() defined? Are you using mysqli instead of mysql