|
|
Problembeschreibung:
Ehm...
Also...
Ich probier ein altes wBB 2.1.6 zu installen und dann wenn ich ins acp gehe :
SQL-DATABASE ERROR
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
Database error in WoltLab Burning Board (2.1.6): Invalid SQL: SELECT * FROM bb1_acpmenuitemgroups WHERE acpmode<='1' ORDER BY showorder ASC
mysql error: Table 'DNMail.bb1_acpmenuitemgroups' doesn't exist
mysql error number: 1146
mysql version: 5.0.30-Debian_1-log
php version: 5.2.0-7
Date: 30.12.2006 @ 15:02
Script: /srdn/wbb/acp/misc.php?action=menu&sid=
Referer: http://www.hybridtherory.de/srdn/wbb/acp/index.php?sid=&url=
|
|
Wollte ich das via. mySQL Ausführen also das:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
CREATE TABLE bb1_acpmenuitemgroups (
itemgroupid smallint(5) unsigned NOT NULL auto_increment,
title varchar(255) NOT NULL default '',
condition text NOT NULL,
conditiontype enum('OR','AND') NOT NULL default 'OR',
showorder smallint(5) unsigned NOT NULL default '0',
acpmode tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (itemgroupid)
) TYPE=MyISAM; |
|
Und dann kommt das
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
|
SQL-Befehl:
CREATE TABLE bb1_acpmenuitemgroups(
itemgroupid smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
title varchar( 255 ) NOT NULL default '',
condition text NOT NULL ,
conditiontype enum( 'OR', 'AND' ) NOT NULL default 'OR',
showorder smallint( 5 ) unsigned NOT NULL default '0',
acpmode tinyint( 3 ) unsigned NOT NULL default '0',
PRIMARY KEY ( itemgroupid )
) TYPE = MYISAM
MySQL meldet: Dokumentation
#1064 - 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 'condition text NOT NULL,
conditiontype enum('OR','AND') NOT NULL default 'OR'' at line 4 |
|
Fazit:
I-was ist am SQL Code ist falsch
Link zum Forum oder Screenshot:
ehm....
Ist ja testforum also wer haben will schreibt PM^^
Was wurde zuletzt geändert oder eingebaut?
Nüschts^^
Mfg Daniel
Edit///
Bin auf meinen localhost und habs aus meinen PmA importiert hatte ganz vergessen das ich das da installt hatte...
Pls löschn^^ bzw. Verschieben...
__________________ Intressiert dich meine Signatur?
Schreib mir doch ne PM!
JA [ ] Nein [ ] Vieleicht [ ] Kreuze An...
Und dann ab in meine PM Box !
Dieser Beitrag wurde 1 mal editiert, zum letzten Mal von HybridTherory: 30.12.06 18:58.
|
|
30.12.06 15:19 |
E-Mail
Finden
Als Freund hinzufügen
|
|
|