Statistik |
Beiträge: 144.534 (Täglich: 19,19 )
Themen: 16.701
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 354%
Ausl. d. letzten 5 Minuten: 301%
Ausl. d. letzten 15 Minuten: 284%
Aktulle Uhrzeit: 13:55
Freier Webspace: 4.03 TB
PHP-Version: 7.4.33
|
|
|
|
|
Fehlermeldung SQL |
|
Hallo,
wenn man im ACP einen User löscht, kommt diese Meldung:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
SQL-DATABASE ERROR
Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_weblog_entrys WHERE wwibuserid IN (704,703)
mysql error: Unknown column 'wwibuserid' in 'where clause'
mysql error number: 1054
mysql version: 5.0.51a-24+lenny4
php version: 5.2.6-1+lenny8
Date: 18.04.2011 @ 01:34
Script: /acp/users.php
Referer: http://mybuddha.eu/acp/users.php |
|
Anbei die acp/users.php
__________________ lg Stine
|
|
24.04.2011 19:38 |
|
|
|
code: |
1:
|
DROP TABLE IF EXISTS bb1_weblog_entrys; CREATE TABLE bb1_weblog_entrys ( entryid int(11) unsigned NULL auto_increment, userid int(11) unsigned NULL DEFAULT '0', catid int(11) unsigned NULL DEFAULT '0', iconid int(11) unsigned NULL DEFAULT '0', subject varchar(100) NULL, entrytime int(11) unsigned NULL DEFAULT '0', message mediumtext NULL, attachments int(11) unsigned NULL DEFAULT '0', allowsmilies tinyint(1) NULL DEFAULT '1', allowhtml tinyint(1) NULL DEFAULT '0', allowbbcode tinyint(1) NULL DEFAULT '1', allowimages tinyint(1) NULL DEFAULT '1', showsignature tinyint(1) NULL DEFAULT '0', ipaddress varchar(15) NULL, PRIMARY KEY (entryid) ); |
|
__________________ lg Stine
|
|
24.04.2011 21:41 |
|
|
Viktor
Administrator
Zeige Viktor auf Karte
Dabei seit: 15.08.2003
Beiträge: 31.570
363 Filebase-Einträge
Alter: 66 Jahre
Herkunft: NRW wBB-Version: wBB2.3 PHP-Version: 7.4.33 MySQL-Version: 10.5.19-MariaDB Wo bist du gehostet?: eigener Server
Bewertung:
Level: 71 [?]
Erfahrungspunkte: 237.779.491
Nächster Level: 266.777.854
|
|
|
Zitat: Original von Stine
code: |
1:
|
DROP TABLE IF EXISTS bb1_weblog_entrys; CREATE TABLE bb1_weblog_entrys ( entryid int(11) unsigned NULL auto_increment, userid int(11) unsigned NULL DEFAULT '0', catid int(11) unsigned NULL DEFAULT '0', iconid int(11) unsigned NULL DEFAULT '0', subject varchar(100) NULL, entrytime int(11) unsigned NULL DEFAULT '0', message mediumtext NULL, attachments int(11) unsigned NULL DEFAULT '0', allowsmilies tinyint(1) NULL DEFAULT '1', allowhtml tinyint(1) NULL DEFAULT '0', allowbbcode tinyint(1) NULL DEFAULT '1', allowimages tinyint(1) NULL DEFAULT '1', showsignature tinyint(1) NULL DEFAULT '0', ipaddress varchar(15) NULL, PRIMARY KEY (entryid) ); |
|
|
|
|
Hallo,
jo in der Datei "users.php" muss es dann so sein.
Suche:
code: |
1:
2:
3:
|
$db->unbuffered_query("DELETE FROM bb".$n."_weblog_entrys WHERE wwibuserid IN ($userids)", 1);
|
|
Ersetze durch:
code: |
1:
2:
3:
|
$db->unbuffered_query("DELETE FROM bb".$n."_weblog_entrys WHERE userid IN ($userids)", 1);
|
|
Gruß
Viktor
__________________
Ein kluger Mann widerspricht keiner Frau. Er wartet, bis sie es selbst tut.
... beim Käfer (WBB2) konnte man noch selber schrauben,
beim neuen Golf (WBB3) muß man fast schon in die Werkstatt wenn man das "Wischwasser" nachfüllen muss!
Da fast keiner mehr hier Postet gibt es ab sofort keinen Support mehr per PN.
|
|
24.04.2011 21:54 |
|
|
|
Viktor
__________________ lg Stine
|
|
24.04.2011 22:10 |
|
|
|
|
|
|