Author Topic: Fehlermeldung DB Error SQL syntax near 'RAND()'  (Read 4275 times)

0 Members and 1 Guest are viewing this topic.

Offline frank

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • http://www.ksg99.de
Fehlermeldung DB Error SQL syntax near 'RAND()'
« on: January 18, 2003, 01:13:53 AM »
Hallo Jan,

ich habe die Installationshinweise genau befolgt und bekomme folgende Fehlermeldung:

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.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_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 5


Es scheint aber sonst tadellos zu funktionieren. Kannst du mir helfen?

URL: Galerie

grüße
frank

Offline frank

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • http://www.ksg99.de
Sorry, ist schon spät...
« Reply #1 on: January 18, 2003, 01:20:27 AM »
...leider wollte ich keinen neuen Thread eröffnen, sondern im Topic "Integration 4images 1.7 / phpBB" meine Frage eintragen. Falschen Button erwischt.  :cry:

Vielleicht kannst du mir trotzdem helfen bzw. den Thread ins richtige Thema verschieben. Danke!!

grüße
frank

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Fehlermeldung DB Error SQL syntax near 'RAND()'
« Reply #2 on: January 18, 2003, 05:09:56 PM »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search