Web Servers on Windows - iis5 & php + MySQL woes

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > May 2005 > iis5 & php + MySQL woes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author iis5 & php + MySQL woes
Al

2005-05-28, 2:47 am

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...r/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\wwwroot\pmnl\include\lang\eng
lish.php on line 199

Now if I go to lines 196-201 the following code is present:

"ERROR_DBCONNECT_CORE" => "Unable to connect to the Database.<br
/>".
"<ul><li>Check 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_ERROR() : "")
.."<br /><br /><a
href=\"http://gregory.kokanosky.free.fr/v4/phpmynewsletter/docs/\">Documentation</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

William Tasso

2005-05-28, 8:46 pm

Al <bigal_nz@hotmail.com> wrote:

> ...
> 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...r/index.en.html).
>
> I have iis, php and mysql installed. ...
>
> Fatal error: Call to undefined function MYSQL_ERROR() in
> c:\Inetpub\wwwroot\pmnl\include\lang\eng
lish.php on line 199


Where is MYSQL_ERROR()?

Have you checked you have it and the page/script can find it?

--
William Tasso
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com