1
Discussion & Troubleshooting / db error
« on: September 12, 2002, 01:01:24 PM »![Crying or Very sad :cry:](https://www.4homepages.de/forum/Smileys/default/icon_cry.gif)
Just installed it, looks very good!
After a few logins and outs got the following error:
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0) ORDER BY i.image_date DESC LIMIT 3
Lost connection to MySQL server during query
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/dooyewee/hilbert/album/includes/db_mysql.php on line 116
What is the problem here, how can i fix it and prevent it from happing again
Greetings Carl