Need Help to Fix This Error

Status
Not open for further replies.

Mr.WT

Banned
Banned
2,640
2010
284
0
Need Help to Fix This Error

Hi Guys,
I Want To Make DDL site, i Do every thing installation Note But i found this error
site name wareztown.info

PHP:
WCDDL encountered an error during execution:
mysql_fetch_assoc():  supplied argument is not a valid MySQL result resource
        Line 7 in /home/wareztow/public_html/modules/wcddl_recents.php

mysql_result():  supplied argument is not a valid MySQL result resource
        Line 156 in /home/wareztow/public_html/funcs.php

mysql_fetch_assoc():  supplied argument is not a valid MySQL result resource
        Line 163 in /home/wareztow/public_html/funcs.php
Plz Help Me To Fix This Porblems:((
 
7 comments
There's a error running the query. Probably missing a table. Add:

PHP:
or die(mysql_error());

To your query on the line you're getting the error from
Then see what error you get
 
You will have a variable in the mysql_fetch_assoc() ie:

PHP:
mysql_fetch_assoc($res)

Then you will have a variable = to
PHP:
$res = mysql_query()

So, add :
PHP:
$res = mysql_query() or die(mysql_error());
 
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Line 7 in /home/wareztow/public_html/modules/wcddl_recents.php

On the above error what are line 1 though 15 and make line 7 bold when you quote the lines.
 
Status
Not open for further replies.
Back
Top