boolean given error help plz expert bros.

Started on the old forum in March 2013 · view the original in the archive · old links redirect here

4 replies · 421 views · started 13 years ago · 1 min read

3 participants
BDplanet Junior · 37 posts #1

after i install a full mod engeen i getting that error

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/adminzon/public_html/incfiles/func_quick.php on line 4

line 4 is

while ($res = mysql_fetch_array($roq))

and

Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/adminzon/public_html/users/qchat.php on line 185

qchat.php

line 185 code is Code:

$req = mysql_query("SELECT COUNT(*) FROM `qchat`");
$colmes = mysql_result($req, 0);

plz help me here error *****

arnage Lead · 811 posts #4

But it is in detail, just add mysql_query()'s in if() and define those vars. And if you can't do that add error_reporting(0); at the top of page.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
CreativityKills Lead · 833 posts #5

Turning error reporting off doesn't fix your error. It hides it. The error will still persist and will conntinue to make ur app misbehave

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close