SMF Shop
SMFShop => Bugs => Topic started by: kinggreg10 on February 07, 2008, 05:46:04 am
-
im getting this when i try to buy stuff in the shop:
Field 'trading' doesn't have a default value
File:htdocs/Forum/Sources/shop/Shop-Buy.php
Line: 206
know why?
This is what line 206 states:
{$row['price']})", __FILE__, __LINE__);
-
Try run this MySQL query in phpMyAdmin (on the "SQL" tab):
ALTER TABLE `smf_shop_items` CHANGE `trading` `trading` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0'
This should fix it