You are here:  » error on index.php which disappears once I refresh

Support Forum



error on index.php which disappears once I refresh

Submitted by mally on Sun, 2008-01-13 22:21 in

Hello David

A couple of times when I've gone to my site Magazine Subscription I get the error message below

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/magsub/public_html/includes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/magsub/public_html/includes/database.php on line 26

This only happens once in a while though, when I refresh it disappears

Any idea what the problem could be?

Cheers

Mally

Submitted by support on Mon, 2008-01-14 11:17

Hi Mal,

Could you email me a copy of your latest index.php (or any other files included by index.php that perform the queries to show the various different sections) and i'll take a look for you...

Cheers,
David.

Submitted by mally on Mon, 2008-01-14 17:37

I've just sent the email. Did you see the error when you checked the site? Just wondering if its just me..

Cheers

Mally