Author Topic: SQL Fehlermeldung  (Read 7020 times)

0 Members and 1 Guest are viewing this topic.

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
SQL Fehlermeldung
« on: January 04, 2003, 02:38:44 AM »
Wie bekomme ich diese Meldung weg???? Das Programm an sich läuft.....
Kann mir da jemand helfen ????

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

Liebe Grüße
Gabi

ps: kannst ja mal anschauen unter:http://www.gabis-traum.de/4images/index.php

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SQL Fehlermeldung
« Reply #1 on: January 04, 2003, 08:52:32 AM »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
SQL Fehlermeldung
« Reply #2 on: January 04, 2003, 12:22:56 PM »
Quote from: Jan
Siehe: http://www.4homepages.de/forum/viewtopic.php?p=13965

Jan


Hallo Jan,
vielen Dank für die schnelle Antwort. Der alte Fehler ist jetzt behoben.....leider bekomme ich nun einen neuen und der sieht diesmal so aus :

Warning: Unable to access 4menu2.php in /mnt/ls5/09/613/00000004/htdocs/4images/includes/template.php(133) : eval()'d code on line 135

Warning: Failed opening '4menu2.php' for inclusion (include_path='') in /mnt/ls5/09/613/00000004/htdocs/4images/includes/template.php(133) : eval()'d code on line 135

Weist Du vieleicht auch wie ich diesen weg bekomme ?

Liebe Grüße sendet
Gabi

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SQL Fehlermeldung
« Reply #3 on: January 04, 2003, 01:07:50 PM »
Das hat mit dem Template-Pack zu tun. Ich glaube Du musst die angegebene Datei ins Template-Verzeihnis kopieren. Schau Dir am besten die Installationsanleitung davon nochmal an.

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

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
SQL Fehlermeldung
« Reply #4 on: January 04, 2003, 02:51:27 PM »
Quote from: Jan
Das hat mit dem Template-Pack zu tun. Ich glaube Du musst die angegebene Datei ins Template-Verzeihnis kopieren. Schau Dir am besten die Installationsanleitung davon nochmal an.


Sieht aus wäre das ein Template von Vienix - die Datei müßte dann IIRC ins root-Verzeichnis von 4images. Aber wie Jan schon screibt: guck mal ins Readme des Template-Packs.

cheers,
Bernd

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
SQL Fehlermeldung
« Reply #5 on: January 04, 2003, 04:35:57 PM »
Quote from: bernd
Quote from: Jan
Das hat mit dem Template-Pack zu tun. Ich glaube Du musst die angegebene Datei ins Template-Verzeihnis kopieren. Schau Dir am besten die Installationsanleitung davon nochmal an.


Sieht aus wäre das ein Template von Vienix - die Datei müßte dann IIRC ins root-Verzeichnis von 4images. Aber wie Jan schon screibt: guck mal ins Readme des Template-Packs.

cheers,
Bernd


Hallo da bin ich schon wieder.....

habe die Datei in das Templetverzeichnis kopiert. Eine Installationsanleitung in Deutsch gibt es leider nicht.... :oops: und mein Englisch reicht leider nicht aus dafür un auf der entsprechenden HP nachzusehen... das Templet ist von :http://www.vierstra.com und heißt 4dark. Schade es sieht soooo toll aus und ich wollten Fotoclub damit entwerfen. Kann mir vieleicht doch noch jemand helfen wie ich es doch zum laufen bekomme????

Lieb Grüße an alle die mir bis jetzt schon geholfen haben

Gabi

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SQL Fehlermeldung
« Reply #6 on: January 04, 2003, 05:20:12 PM »
Quote
b. copy the 4darkm.php from this zip to your 4images root directory

Also, das Template in den Grundordner von 4images kopieren.

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

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
SQL Fehlermeldung
« Reply #7 on: January 04, 2003, 06:33:09 PM »
Hier nochmal eine schnelle Übersetzung der gesamten Installationsgeschichte
Quote
1. How to install ?
a. upload the 4dark directory to your "templates" subdirectory
b. copy the 4darkm.php from this zip to your 4images root directory
c. go to your admin panel and set the template to "4dark"

2. What next ?
a. The 4darkm.php you can adjust to your liking, it's the little menu
on the left. Use it for your links, or whatever you see fit.
b. Change the logo !, it's named 4imgs.gif and its in the 4dark/images directory
c. play with the style.css in the 4dark directory to adjust colors to your liking
d. Copy the bbcell.gif to your 4images root directory.

1. Installation
a. kopiere das Verzeichnis "4dark" in das Unterverzeichnis "templates" auf Deinem Webserver
b. kopiere die Datei 4darkm.php in das Hauptverzeichnis von 4images (das ist das wo u.a. auch das Verzeichnis "templates" zu finden ist)
c. gehe ins Administrations-Panel (Control Panel) und wähle das Template aus

2. Wat nu?
a. Die Datei 4darkm.php nach eigenem Belieben anpassen - es ist das kleine Menü, das auf der linken Seite erscheint. Nutze es für Links oder was auch immer da hinein soll.
b. Ändere das Logo! Es ist die Datei 4imgs.gif und ist in dem Verzeichnis 4dark/images.
c. Probiere aus was in der style.css (im 4dark Verzeichnis) passiert, wenn bestimmte Parameter geändert werden und passe die Farben Deinen Vorlieben an.
d. Kopiere die Datei bbcell.gif in das 4images-Hauptverzeichnis (also dahin wo jetzt schon die Datei 4dark.php sitzt).

----

OK? Hoffe, das hilft.

cheers,
Bernd

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
SQL Fehlermeldung
« Reply #8 on: January 04, 2003, 09:52:43 PM »
Quote from: bernd
Hier nochmal eine schnelle Übersetzung der gesamten Installationsgeschichte
Quote
1. How to install ?
a. upload the 4dark directory to your "templates" subdirectory
b. copy the 4darkm.php from this zip to your 4images root directory
c. go to your admin panel and set the template to "4dark"

2. What next ?
a. The 4darkm.php you can adjust to your liking, it's the little menu
on the left. Use it for your links, or whatever you see fit.
b. Change the logo !, it's named 4imgs.gif and its in the 4dark/images directory
c. play with the style.css in the 4dark directory to adjust colors to your liking
d. Copy the bbcell.gif to your 4images root directory.

1. Installation
a. kopiere das Verzeichnis "4dark" in das Unterverzeichnis "templates" auf Deinem Webserver
b. kopiere die Datei 4darkm.php in das Hauptverzeichnis von 4images (das ist das wo u.a. auch das Verzeichnis "templates" zu finden ist)
c. gehe ins Administrations-Panel (Control Panel) und wähle das Template aus

2. Wat nu?
a. Die Datei 4darkm.php nach eigenem Belieben anpassen - es ist das kleine Menü, das auf der linken Seite erscheint. Nutze es für Links oder was auch immer da hinein soll.
b. Ändere das Logo! Es ist die Datei 4imgs.gif und ist in dem Verzeichnis 4dark/images.
c. Probiere aus was in der style.css (im 4dark Verzeichnis) passiert, wenn bestimmte Parameter geändert werden und passe die Farben Deinen Vorlieben an.
d. Kopiere die Datei bbcell.gif in das 4images-Hauptverzeichnis (also dahin wo jetzt schon die Datei 4dark.php sitzt).

----

OK? Hoffe, das hilft.

cheers,
Bernd


Bernd DU BIST EIN SCHATZ alles eingebaut und alles funzt. Jubel. 1000 Dank für deine Hilf. So nun kann´s richtig losgehen mit meiner Seite.... werde sie nun umbauen, dann schicke ich dir mal das Link.

Liebe Grüße

Gabi