Hallo!
Ich habe ein kleines Problem. Wenn ich auf ein Profil von jemandem gehe, funktioniert alles, wenn ich aber nach kurzer Zeit wieder gucke bekomme ich folgenden Fehler:
SQL-DATABASE ERROR
Database error in WoltLab Burning Board (2.3.4): Invalid SQL: Delete from bb1_profilevisits where profile_id=1 and art='V' and datum<2006-02-12 13:55:44
mysql error: 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 '13:55:44' at line 1
mysql error number: 1064
mysql version: 4.1.11-Debian_4sarge2-log
php version: 4.3.10-16
Date: 12.02.2006 @ 13:56
Script: /profile.php?userid=1
Referer: http://forum.fornax-galaxies.de/index.php
Ich benutze die Version 1.3
Etwas später...
Hab die Lösung gefunden, funktioniert
Sucht nach
php:
1:
2:
if ($x>=$limit) {
$db->query("Delete from $datei where profile_id=$userid and art='V' and datum<$ldate") ; }
ersetzen mit
php:
1:
2:
if ($x>=$limit) {
$db->query("Delete from $datei where profile_id=$userid and art='V' and datum<'$ldate'") ; }