You are here:  » issues setting up databases

Support Forum



issues setting up databases

Submitted by Paddy on Mon, 2009-07-20 10:55 in

Hi,
Just uploaded to server and got the following response

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sites/americanfridge-freezer.co.uk/public_html/includes/database.php on line 21

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sites/americanfridge-freezer.co.uk/public_html/includes/database.php on line 26

any ideas?
Thanks,
Patrick

Submitted by support on Mon, 2009-07-20 11:01

Hi Patrick,

That is normally displayed by index.php if you browse to it before setup.php. Have you run setup.php yet on this installation yet; and if so, what progress do the database tests make? The setup.php error messages will indicate which values in config.php to check if it is not able to create the tables...

Cheers,
David.

Submitted by Paddy on Mon, 2009-07-20 11:16

hadn't run setup. I always forget something when I set one of these up.
Thanks for the quick response.
Patrick