Seite 1 von 1

problem: welcome_pm_hack (gelöst)

Verfasst: 12.04.2004 14:47
von rabbit
habe ein prob mit dem wpm, und zwar mit dem erstellen des tables "wpm"...

Code: Alles auswählen

CREATE TABLE tech_wpm (name varchar(255) NOT NULL default '', value text NOT NULL) TYPE=MyISAM
INSERT INTO tech_wpm VALUES ('wpm_version', '1.0.7');
INSERT INTO tech_wpm VALUES ('active_wpm', '1');
INSERT INTO tech_wpm VALUES ('wpm_username', 'Anonymous');
INSERT INTO tech_wpm VALUES ('wpm_userid', '-1');
INSERT INTO tech_wpm VALUES ('wpm_subject', 'Welcome to [sitename]!');
INSERT INTO tech_wpm VALUES ('wpm_message', 'Hi, there [username]!
I hope you enjoy your stay here at [sitename]!
If you have any questions about the site, please ask. If it goes about this mod please
visit: http://www.vitrax.vze.com thnx you!');
wenn ich das in phpmyadmin ausführe, bekomme ich folgende meldung:
Fehler

SQL-Befehl :

CREATE TABLE tech_wpm(

name varchar( 255 ) NOT NULL default '',
value text NOT NULL
) TYPE = MYISAM INSERT INTO tech_wpm
VALUES (
'wpm_version', '1.0.7'
)

MySQL meldet:


You have an error in your SQL syntax near 'INSERT INTO tech_wpm VALUES ('wpm_version', '1.0.7')' at line 2
tech_ ist mein db-prefix

Verfasst: 12.04.2004 14:50
von rabbit
lol, hab's schon selber gelöst! :oops:

da fehlte im mod ein semikolon am ende
TYPE=MyISAM;