Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: fout in marktplaats script

Posted by donsystems on 21 april 2010, 03:04
#1

Hoi,

Ik heb het script market_place_v1.2 gedownload.
Nu staat er in een van die paginas dat ik 2 tabels moet aanmaken in mijn database.
Wanneer ik deze automatisch ingeef krijg ik een foutmelding
zelfs wanneer ik deze manueel probeer in te geven.
De code die er staan om de twee desbetreffende tabels aan te maken zijn:

$inf_newtable[1] = DB_MARKETPLACE." (
mplace_id smallint(5) UNSIGNED NOT NULL auto_increment,
mplace_owner smallint(5) UNSIGNED NOT NULL DEFAULT '0',
mplace_article varchar(25) NOT NULL DEFAULT '',
mplace_message text NOT NULL,
mplace_price varchar(6) NOT NULL DEFAULT '0',
mplace_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
mplace_sold smallint(5) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (mplace_id)
) TYPE=MyISAM;";

$inf_newtable[2] = DB_MARKETPLACE_BIDDINGS." (
mplace_id smallint(5) UNSIGNED NOT NULL DEFAULT '0',
bidding_owner smallint(5) UNSIGNED NOT NULL DEFAULT '0',
bidding_price varchar(6) NOT NULL DEFAULT '0',
bidding_date INT(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (mplace_id, bidding_owner)
) TYPE=MyISAM;";

iemand die mij hierbij kan helpen ?
Zelf heb ik geen kennis van sql dus zou iemand voor mij even de juiste code om de tabels te creëren hier zetten zodat ik dit nog kan gebruiken.
Hartelijk dank alvast
Don