Diese Board wurde aus Spamschutz-Gründen auf minimale Funktionen beschränkt.
Nutze für neue Anfragen/Bug-Reports bitte meine Gitlab-Instanz.

Fehler - Wie kann ich das Lösen?

Hilfe bei Installation oder einem Update der Kontakteverwaltung. Behebung von aufgetretenen Fehlern.
Antworten
the_remains_of_the_day
Beiträge: 21
Registriert: Sa 11. Nov 2006, 11:11

Fehler - Wie kann ich das Lösen?

Beitrag von the_remains_of_the_day »

Hallo Dominik,

habe das Formular etwas erweitert, nun tritt folgender Fehler auf. Was könnte da falsch sein?


LG, James



-----

SELECT DISTINCT COUNT(*) AS anz FROM contact_contacts WHERE 1=1 AND AND firstname LIKE "%max%"

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND firstname LIKE "%max%"' at line 1
Kontakte (entferne Suche)

SELECT DISTINCT contactid, contactid, firstname, lastname, company, email1, birthday, mobilephone1, businessphone1 FROM contact_contacts WHERE 1=1 AND AND firstname LIKE "%max%" ORDER BY 'firstname' ASC LIMIT 0,30

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND firstname LIKE "%max%" ORDER BY 'firstname' ASC LIMIT 0,3

SELECT DISTINCT contactid, contactid, firstname, lastname, company, email1, birthday, mobilephone1, businessphone1 FROM contact_contacts WHERE 1=1 AND AND firstname LIKE "%max%" ORDER BY 'firstname' ASC LIMIT 0,30

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND firstname LIKE "%max%" ORDER BY 'firstname' ASC LIMIT 0,3
Thanks for your help!
the_remains_of_the_day
Beiträge: 21
Registriert: Sa 11. Nov 2006, 11:11

Beitrag von the_remains_of_the_day »

Ach so, vergessen: Der Fehler taucht bei der Suche auf. Wenn ich die Suche mittels Auswahl auf z.B. den Nachnamen beschränke.


LG, James
Thanks for your help!
Benutzeravatar
der-domi
Site Admin
Beiträge: 673
Registriert: Di 4. Apr 2006, 19:22
Kontaktdaten:

Beitrag von der-domi »

In dem SQL-Query sind zwei "AND" hintereinander. Das ist flasch. Aber wo das herkommt, kann ich dir jetzt natürlich nicht sagen.
Nicht verzagen, Domi fragen

Viele Grüße
Dominik
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast