Home > Archive > PHP Programming > May 2005 > myPhpNewsLetter & IIS5 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 |
myPhpNewsLetter & IIS5 woes
|
|
|
| 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
| |
| Larry Kahm 2005-05-28, 3:55 pm |
| Ideas, no; questions, yes!
1. What password is the connect script trying to use?
2. What password have you set up for this MySQL database?
Larry Kahm
Heliotropic Systems, Inc.
"Al" <bigal_nz@hotmail.com> wrote in message
news:1117254732.156499.67430@z14g2000cwz.googlegroups.com...
> 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
>
| |
| Philip Olson 2005-05-28, 3:55 pm |
| Don't repeat your questions/posts.
|
|
|
|
|