[syslog-ng]Lots of warnings.........
Metal Gear
syslog-ng@lists.balabit.hu
Tue, 12 Apr 2005 13:58:37 +0600
------=_Part_3056_23633491.1113292717062
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi all,
When i type http://localhost/syslog/index.php in my browser the following=
=20
errors comes up.=20
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result=
=20
resource in /www/htdocs/web/index.php on line 35=20
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result=
=20
resource in /www/htdocs/web/index.php on line 53=20
All logs from syslog-ng are logged to mysql (database syslog and table=20
logs).=20
I have defined in db_fns.php=20
$result =3D mysql_pconnect("", "", "");=20
becauz when i write mysql on shll in connects directly.
Could someone can help me... thanks
------=_Part_3056_23633491.1113292717062
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<p>Hi all,</p>
<p><br>
When i type <a href=3D"http://localhost/syslog/index.php" rel=3D"nofollow" =
target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">=
http://localhost/syslog/index.php</a> in my browser the following errors co=
mes up.
</p>
<p>Warning: mysql_fetch_array(): supplied argument is not a valid MySQL re=
sult resource in /www/htdocs/web/index.php on line 35
</p>
<p>Warning: mysql_fetch_array(): supplied argument is not a valid MySQL re=
sult resource in /www/htdocs/web/index.php on line 53
</p>
<p>All logs from syslog-ng are logged to mysql (database syslog and table =
logs).
</p>
<p>I have defined in db_fns.php=20
</p>
<p>$result =3D mysql_pconnect("", "", "");
</p>
<pre>becauz when i write mysql on shll in connects directly.<br></pre>
<p>Could someone can help me...
thanks
</p>
------=_Part_3056_23633491.1113292717062--