4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: raghunadhreddys on May 14, 2011, 06:33:11 AM

Title: DB Error: Bad SQL Query
Post by: raghunadhreddys on May 14, 2011, 06:33:11 AM
i am getting the error

includes/db_mysql.php on line 116

and displaying on my home page and new images are not showing.

getting the message

"Currently there are no new images."

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 (dtwp_images i, dtwp_categories c) LEFT JOIN dtwp_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 NOT IN (0) ORDER BY i.image_date DESC LIMIT 20
Incorrect key file for table '/tmp/#sql_221_0.MYI'; try to repair it


Title: Re: DB Error: Bad SQL Query
Post by: Rembrandt on May 14, 2011, 06:52:28 AM
....Incorrect key file for table '/tmp/#sql_221_0.MYI'; try to repair it

Contact your host administrator, it's server side problem.

mfg Andi