Greetings all, I have read about the following error coming from upgrading to MySql 5.0.27. I strangely started receiving it on my homepage when there have been no mySql updates on my database.
I have gone into mySql and it appears that some of the 4images tables were corrupted, so I repaired them. All my tables say "OK" now but I am still getting the error. Another thing; the error only shows up on my homepage. Any ideas why I might be getting this error? I have not changed any of my 4images code. Thanks!
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_rating DESC, i.image_votes DESC
Unknown column 'i.user_id' in 'on clause'