By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,408 Members | 1,595 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,408 IT Pros & Developers. It's quick & easy.

myPhpNewsLetter & IIS5 woes

P: n/a
Al
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\wwwroot\pmnl\include\lang\english.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

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <bi******@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.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/...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\english.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

Jul 17 '05 #2

P: n/a
Don't repeat your questions/posts.

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.