4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: numarc on January 30, 2003, 02:36:52 PM

Title: Alles funktioniert ... trotzdem kriege ich Fehlermeldung!
Post by: numarc on January 30, 2003, 02:36:52 PM
Eigentlich funktioniert alles einwandfrei. Admin-Panel und die Gallery. Im Admin-Panel sehe ich oben keine SQL-Fehler... wenn ich jedoch in die Gallery wechsle, steht oben am Bildschrim folgendes:

Code: [Select]

DB Error: Bad SQL Query: SELECT DISTINCT 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 i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY RAND()
You have an error in your SQL syntax near 'RAND()' at line 1


Es funktioniert aber alles... kann mir da jemand helfen, wäre echt lieb!

Gruss aus der Schweiz, Raffi
Title: Alles funktioniert ... trotzdem kriege ich Fehlermeldung!
Post by: Jan on January 30, 2003, 03:58:24 PM
FAQ Forum: http://www.4homepages.de/forum/viewtopic.php?t=3402

Jan
Title: Alles funktioniert ... trotzdem kriege ich Fehlermeldung!
Post by: numarc on January 30, 2003, 04:39:36 PM
:idea:  8O  :lol:  Uuuups... hab ich gar nicht gesehen! Herzlichen Dank... jetzt läuft das Teil!