Hi Folks,
I am running php, MySQL with IIS5.
The problem is that I am trying to install a php script called
phpNewsletter
(http://gregory.kokanosky.free.fr/v4/...index.en.html).
I have iis, php and mysql installed. The trouble starts when I extract
the php scripts and point my browser at
http://localhost/pmnl/install.php.
I get an error in the browser (IE6) :
Fatal error: Call to undefined function MYSQL_ERROR() in
c:\Inetpub\wwwr oot\pmnl\includ e\lang\english. php on line 199
Now if I go to lines 196-201 the following code is present:
"ERROR_DBCONNEC T_CORE" => "Unable to connect to the Database.<br
/>".
"<ul><li>Ch eck that <b>password</b> used to connect to the database is
<b>correct</b>.</li>".
"<li>Check that your <b>database server is up and
running</b>.</li></ul>".
(MYSQL_ERROR() ? "The following error message can help you :
".MYSQL_ERR OR() : "")
.."<br /><br /><a
href=\"http://gregory.kokanos ky.free.fr/v4/phpmynewsletter/docs/\">Documentatio n</a>
section on /phpMyNewsletter /website.",
with the line that starts with (MYSQL_ERROR() being the one that is
causing the problem.
I think its to do with my MySQL installation, but not sure what.
My friend has installed the same script on a Linux box with no
problems, so the script is OK.
Anybody have any ideas?
Thanks
-Al
I am running php, MySQL with IIS5.
The problem is that I am trying to install a php script called
phpNewsletter
(http://gregory.kokanosky.free.fr/v4/...index.en.html).
I have iis, php and mysql installed. The trouble starts when I extract
the php scripts and point my browser at
http://localhost/pmnl/install.php.
I get an error in the browser (IE6) :
Fatal error: Call to undefined function MYSQL_ERROR() in
c:\Inetpub\wwwr oot\pmnl\includ e\lang\english. php on line 199
Now if I go to lines 196-201 the following code is present:
"ERROR_DBCONNEC T_CORE" => "Unable to connect to the Database.<br
/>".
"<ul><li>Ch eck that <b>password</b> used to connect to the database is
<b>correct</b>.</li>".
"<li>Check that your <b>database server is up and
running</b>.</li></ul>".
(MYSQL_ERROR() ? "The following error message can help you :
".MYSQL_ERR OR() : "")
.."<br /><br /><a
href=\"http://gregory.kokanos ky.free.fr/v4/phpmynewsletter/docs/\">Documentatio n</a>
section on /phpMyNewsletter /website.",
with the line that starts with (MYSQL_ERROR() being the one that is
causing the problem.
I think its to do with my MySQL installation, but not sure what.
My friend has installed the same script on a Linux box with no
problems, so the script is OK.
Anybody have any ideas?
Thanks
-Al
Comment