Hoi Hoi,

Ik heb een Forum draaien bij Tripod /lycos. Maar werd/wordt gek van die reclame die je erbij krijgt.

Ik heb nu het forum geheel opnieuw geinstalleerd op mijn host * sever *

Nu wil ik de dump over gaan zetten. Dus heb ik eerst een dump gemaakt bij Lycos/tripod data en Structuur. Deze lees ik dan weer in via MyPhPAdmin.

En daar krijg ik de volgende fout melding...

Fout

SQL-query :

CREATE TABLE caohoveniers_nl_dbmessages(

ID_MSG int( 11 ) NOT NULL AUTO_INCREMENT ,
ID_TOPIC int( 11 ) DEFAULT '0' NOT NULL ,
ID_MEMBER int( 11 ) DEFAULT '0' NOT NULL ,
ID_LAST_COMMENT int( 11 ) DEFAULT '0' NOT NULL ,
ID_MEMBER_LAST_COMMENT int( 11 ) DEFAULT '0' NOT NULL ,
numComments int( 11 ) DEFAULT '0' NOT NULL ,
subject tinytext,
posterName tinytext NOT NULL ,
posterEmail tinytext,
posterTime bigint( 20 ) ,
posterIP tinytext NOT NULL ,
smiliesEnabled tinyint( 4 ) DEFAULT '1' NOT NULL ,
modifiedTime bigint( 20 ) ,
modifiedName tinytext,
body text,
icon tinytext,
attachmentSize mediumint( 9 ) DEFAULT '0' NOT NULL ,
attachmentFilename tinytext,
nowListening tinytext NOT NULL ,
isHighlighted tinyint( 4 ) DEFAULT '0' NOT NULL ,
description tinytext,
PRIMARY KEY ( ID_MSG ) ,
KEY ID_TOPIC( ID_TOPIC ) ,
KEY ID_MEMBER( ID_MEMBER ) ,
KEY posterTime( posterTime ) ,
KEY search( subject, body )
)

MySQL retourneerde:


#1170 - BLOB column 'subject' used in key specification without a key length

Nu ben ik een leek, dus graag antwoord in begrijpend nederlands

MvG martin
mss andere versie op je linux bak dan die van lycos?

Probeer eens helemaal onderaan te zetten:

type=MyISAM;

dus:


KEY search( subject, body )
)
type=MyISAM;

Hoi Bas,

Reeds geprobeerd, maar helaas zonder resultaat...

Groetjes Martin
KEY search( subject, body )

en zo dan:

KEY search( subject )
KEY search( body )
KEY search( subject, body )
zo was die

KEY search( subject(1), body(1)) en zo moest ie worden.....

Ik had ff een dump van mijn andere forum gemaakt ( op dezelfde server ) en de instellingen vergeleken.....

Tis dus nu gelukt :D :D

Groetjes Martin

Reageren