Author Topic: Fehlermeldung  (Read 5839 times)

0 Members and 1 Guest are viewing this topic.

Offline manuelraddatz

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.martajandova.com
Fehlermeldung
« on: June 28, 2002, 12:17:48 PM »
Guten Tag! Ich habe mal eine Frage und zwar was bedeutet diese Fehlermeldung:

Quote
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


Und die User sagen das sie sich nicht registrieren können...
Hier ist die URL davon:

http://www.martajandova.com/community/index.php

Vielen Dank im voraus
Manuel

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Fehlermeldung
« Reply #1 on: June 28, 2002, 01:07:31 PM »
Das Thema wurde schon etliche Male besprochen. Einfach mal die Suche nutzen und "Rand" als Suchbegriff eingeben.

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

Offline manuelraddatz

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.martajandova.com
Fehlermeldung
« Reply #2 on: June 28, 2002, 06:15:01 PM »
Und nun?

Code: [Select]
Warning: mt_rand(): Invalid range: 0..0 in /mnt/ls3/06/280/00000018/htdocs/martajandova/community/includes/functions.php on line 352

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Fehlermeldung
« Reply #3 on: June 28, 2002, 06:22:58 PM »
Entweder mal 1-2 Bilder hinzufügen oder die neue Version 1.6 verwenden.

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

Offline manuelraddatz

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.martajandova.com
Fehlermeldung
« Reply #4 on: June 28, 2002, 07:02:18 PM »
Thanks! Klappt wunderbar.

Liebe Grüße
Manuel