Author Topic: Datenbankfehler  (Read 4267 times)

0 Members and 1 Guest are viewing this topic.

Offline raysono

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • http://www.augsburg-total.com
Datenbankfehler
« on: June 17, 2002, 04:19:04 PM »
Ich hab die das Programm richtig installiert und es funktioniert auch soweit ganz gut. Wenn ich ein Bild hochlade kommt allerdings diese Meldung. Weis jemand was damit anzufangen. Es sind aber trotzdem alle Funktionen verfügbar.
Gruß

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, u.user_name, c.cat_name FROM 4images_images i, 4images_users u, 4images_categories c WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND u.user_id = i.user_id AND c.cat_id = i.cat_id ORDER BY RAND()
You have an error in your SQL syntax near 'RAND()' at line 4

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Datenbankfehler
« Reply #1 on: June 18, 2002, 07:05:15 AM »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline raysono

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • http://www.augsburg-total.com
Datenbankfehler
« Reply #2 on: June 18, 2002, 11:19:34 AM »
ich hab die Zeile geändert, hat aber nichts gebracht. In dem anderen Beitrag stand dass es vielleicht an der Datenbank Version liegt ich bin auch bei strato und die haben die Version MySQL 3.22.32.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Datenbankfehler
« Reply #3 on: June 18, 2002, 11:37:37 AM »
Ja genau, alle Leute die das bis jetzt hatten waren bei Strato und hatten eine ältere MySQL-Version als gefordert. Deshalb habe ich diese Funktion auch geändert so dass man das durch ändern der einen Zeile beheben kann. Es muss also auch bei Dir funktionieren.

Gruß Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search