MyBB Support

Shop 1.8 Issue

Submitted by Robert, , Thread ID: 26441

Thread Closed

RE: Shop 1.8 Issue

This post was last modified: 30-12-2016, 04:40 AM by John
#2
Go to the file \Shop 1.8\Upload\inc\plugins\newpoints\newpoints_shop.php and change the following:
Code:
SQL Error:
  1067 - Invalid default value for 'items_rate'
Query:
  ALTER TABLE `mybb_newpoints_grouprules` ADD `items_rate` DECIMAL(3,3) NOT NULL default '1';
into
Code:
$db->write_query("ALTER TABLE `".TABLE_PREFIX."newpoints_grouprules` ADD `items_rate` DECIMAL(3,3) NOT NULL default '1,0';");
NulledBB Member Since 2013 | Former Staff Member | Web Designer

Need MyBB/website help? Feel free to message me!

Users browsing this thread: 1 Guest(s)