MyBB Support

Shop 1.8 Issue

Submitted by Robert, , Thread ID: 26441

Thread Closed
24-12-2016, 03:26 AM
This post was last modified: 25-12-2016, 01:15 AM by Robert
#1
Why am I getting this issue when I install:

[Image: c8143c7b083649549182caae4020dbf8.png]

When I go to the shop tab:

[Image: 4df7c1f4f4644429bfeb7be43696ee31.png]

When I uninstall:
[Image: 9df464cd63f94354995ec5b66f834f7d.png]

I honestly have no clue what to do... I uninstalled the plugin and uploaded to the correct folder numerous time. I am using the latest version of both MyBB and Newpoints. Does anyone know how to fix this issue? I never encounter these issues with the shop plugin. :(

Anyone? Also, I would like a screenshot for the table values for the categories. I think I have to create them manually.
- Signature removed by staff

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: 2 Guest(s)