Problem with the SQL statement in this MOD

Forum_Lexicon_Desc

Problem with the SQL statement in this MOD

Beitragvon mariocaz » 9. Jun 2005 07:55

Hi AmigaLink, I'm Mario from Mexico city !! :D

First congratulations for this great MOD !! :wink:

I'm trying to install it in my Forum but I have a problem with the SQL statement when I run it in the phpMyAdmin.

This is the part when I have the problem. :cry:

Code: Alles auswählen
CREATE TABLE `phpbb_lexicon` (
  `id` bigint(8) NOT NULL auto_increment,
  `keyword` varchar(250) NOT NULL default '',
  `explanation` longtext NOT NULL,
  `bbcode_uid` varchar(19) NULL,
  'cat' int(8) NOT NULL default '1'
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

INSERT INTO `phpbb_lexicon` VALUES (1, '1th example', 'This is a testentry to example the character-navigation.<br />By default the numbers does not shown. They only will display if exist a entry.');
INSERT INTO `phpbb_lexicon` VALUES (2, 'Testentry', 'This is another entry to example the lexicon.');


The rest I run without problems. :P

Thanx for your help and sorry for my bad english. :oops:

What I have to do ? :?

I attach the ERROR in my phpMyAdmin.
Dateianhänge
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon oxpus » 9. Jun 2005 09:52

Try this:
Code: Alles auswählen
CREATE TABLE `phpbb_lexicon` (
  `id` bigint(8) NOT NULL auto_increment,
  `keyword` varchar(250) NOT NULL default '',
  `explanation` longtext NOT NULL,
  `bbcode_uid` varchar(19) NULL,
  'cat' int(8) NOT NULL default '1' ,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

There was a commata missing after the definition for the field "cat".
Kein Support ausserhalb der Foren!
No support outside the forums!
Benutzeravatar
oxpus
Partner
 
Beiträge: 610
Registriert: 14. Okt 2004 11:55
Wohnort: Bad Wildungen (halt so'n kleines Kurkaff)

Beitragvon AmigaLink » 9. Jun 2005 13:32

:oops:

Zugefügt nach 13 Minute(n):

Thx, oxpus.

And thanks for the praise and the reference, mario.

I corrected the Modpacket immediately times.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon pepi » 9. Jun 2005 17:41

oxpus hat geschrieben:Try this:
Code: Alles auswählen
CREATE TABLE `phpbb_lexicon` (
  `id` bigint(8) NOT NULL auto_increment,
  `keyword` varchar(250) NOT NULL default '',
  `explanation` longtext NOT NULL,
  `bbcode_uid` varchar(19) NULL,
  'cat' int(8) NOT NULL default '1' ,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

There was a commata missing after the definition for the field "cat".


hallo amiga
bei funktioniert dies nicht in der datenbank

http://www.cool-lighter.com/forum/upload/lexicon.gif

bitte um hilfe
gruß Pepi

Bild
Benutzeravatar
pepi
User
 
Beiträge: 116
Registriert: 2. Mai 2005 15:58
Wohnort: Lienz - Austria

Beitragvon mariocaz » 9. Jun 2005 21:13

Hi AmigaLink !

With this changes...

Code: Alles auswählen
CREATE TABLE `phpbb_lexicon` (
  `id` bigint(8) NOT NULL auto_increment,
  `keyword` varchar(250) NOT NULL default '',
  `explanation` longtext NOT NULL,
  `bbcode_uid` varchar(19) NULL,
  'cat' int(8) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;


I continue having the same problem (ERROR). :cry:

What's happen?? :( Are u very sure that are ok ? :?

Regards,

Mario
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 9. Jun 2005 22:23

Ok, this must work:
Code: Alles auswählen
CREATE TABLE `phpbb_lexicon` (
  `id` bigint(8) NOT NULL auto_increment,
  `keyword` varchar(250) NOT NULL default '',
  `explanation` longtext NOT NULL,
  `bbcode_uid` varchar(10) default NULL,
  `cat` int(8) NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `cat` (`cat`)
) TYPE=MyISAM;


Because it is an export of my Database. ;)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon pepi » 9. Jun 2005 22:35

hallo amiga

der funktioniert
aber das geht auch nicht
alle anderen funktionieren

INSERT INTO `phpbb_lexicon` VALUES (1, '1th example', 'This is a testentry to example the character-navigation.<br />By default the numbers does not shown. They only will display if exist a entry.');
INSERT INTO `phpbb_lexicon` VALUES (2, 'Testentry', 'This is another entry to example the lexicon.');


bis dann
gruß Pepi

Bild
Benutzeravatar
pepi
User
 
Beiträge: 116
Registriert: 2. Mai 2005 15:58
Wohnort: Lienz - Austria

Beitragvon mariocaz » 9. Jun 2005 22:59

Thanx AmigaLink!

That fix that problem. :P

But now the ERROR is in this part: :?

Code: Alles auswählen
INSERT INTO `phpbb_lexicon` VALUES (1, '1th example', 'This is a testentry to example the character-navigation.<br />By default the numbers does not shown. They only will display if exist a entry.');
INSERT INTO `phpbb_lexicon` VALUES (2, 'Testentry', 'This is another entry to example the lexicon.');


:(
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 9. Jun 2005 23:16

Code: Alles auswählen
INSERT INTO `phpbb_lexicon` VALUES (1, '1th example', 'This is a testentry to example the character-navigation.<br />By default the numbers does not shown. They only will display if exist a entry.', NULL, 1);
INSERT INTO `phpbb_lexicon` VALUES (2, 'Testentry', 'This is another entry to example the lexicon.', NULL, 1);
:oops:
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon pepi » 9. Jun 2005 23:17

danke

perfekt ...
gruß Pepi

Bild
Benutzeravatar
pepi
User
 
Beiträge: 116
Registriert: 2. Mai 2005 15:58
Wohnort: Lienz - Austria

Nächste

Zurück zu Lexicon v2



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 10 Gäste

cron