9
« on: May 01, 2009, 12:37:00 PM »
DB Error: Bad SQL Query: SELECT IF(i.image_date >= 1240308425,RAND()+1,1) as random_no, 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, 1) ORDER BY random_no DESC, i.image_date DESC LIMIT 3
Unknown column 'i.user_id' in 'on clause'
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/center/public_html/includes/db_mysql.php on line 116
bir mod yüklediğimde mesala ana sayfada rastgele resim cıkması modunu yükledım bu hatayı verdi sebebi nedir bunun ? index.php de yapdım bu işlemleri..