Author Topic: Data Base Config fehler  (Read 4000 times)

0 Members and 1 Guest are viewing this topic.

Offline rabie

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://rabie.Net
Data Base Config fehler
« on: March 22, 2003, 05:18:53 PM »
Hallo ich habe bei mir 4images 1.7 installiert . alles lief wunderbar aber habe ich leider ein Fehler bekommen und zwar :
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 5

was soll ich mal bei RAND()  aendern ???

Danke im vorraus  :D
Mac my Way Mac my Day

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Data Base Config fehler
« Reply #1 on: March 22, 2003, 05:24:06 PM »
http://4homepages.de/4images/systemvoraussetzungen.php

benötigt MySQL Version 3.23 oder höher
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline rabie

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://rabie.Net
Data Base Config fehler
« Reply #2 on: March 22, 2003, 05:33:08 PM »
vano (da hast du recht ich habe nicht drauf geachtet also geht nicht bei 3.22.32    :cry: ??? andere Version von 4images die Mysql 3.22.32  unterstuetzen kann ?
Danke
Mac my Way Mac my Day

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Data Base Config fehler
« Reply #3 on: March 22, 2003, 05:43:01 PM »
RAND() Notwendigkeiten an "gelegentlichem Bild" nur.
können Sie es weg drehen:
Geöffnet /includes/constants.php
Entdeckung
Code: [Select]

define('SHOW_RANDOM_IMAGE', 1);
define('SHOW_RANDOM_CAT_IMAGE', 1);

Ändern Sie zu
Code: [Select]
define('SHOW_RANDOM_IMAGE', 0);
define('SHOW_RANDOM_CAT_IMAGE', 0);



P.S. I hope this doesnt sounds like I'm cursing or something after AltaVista Babel Fish translation...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline rabie

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://rabie.Net
Data Base Config fehler
« Reply #4 on: March 22, 2003, 06:00:51 PM »
hi Vano : Danke
das hat funkionniert . also diese fehlermeldung ist ja schon weg. merci
PS : kannst Du mit mir Dutsen (kein "Sie" zwichen uns ) .

Peace Out
Mac my Way Mac my Day