MyBB Requests

[Help] Shop plugin problem>

Submitted by v4hl, , Thread ID: 22183

Thread Closed
02-07-2016, 08:05 PM
#1
so 1st i used v1.7 and i got this error >

Code:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table '---.mybb_newpoints_items' doesn't exist
Query:
UPDATE mybb_newpoints_items SET `stock`='9' WHERE iid='3'

then i changed this
Code:
$db->update_query('newpoints_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\'');
to this
Code:
$db->update_query('newpoints_shop_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\'');
and after that, i had another error
Code:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'XxxxxxxX.mybb_newpoints_shop_categories' doesn't exist
Query:
SELECT * FROM mybb_newpoints_shop_categories ORDER BY disporder ASC

then i unistall it and tried v1.8 and i had the same error, can someone plz help me !
[Image: xRnLbpm.png]
[Image: Tz6Qsg4.png]

RE: [Help] Shop plugin problem>

#2
Post your plugin file here. The Original one.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.

RE: [Help] Shop plugin problem>

OP
#3
NewPoints shop
Newpoints 2.1
[Image: xRnLbpm.png]
[Image: Tz6Qsg4.png]

RE: [Help] Shop plugin problem>

#4
It clearly did not install correctly.

Uninstall it and then reinstall it.

Also, re-upload all the files first. The Shop plugin 1.7 does not have any such line:
Code:
$db->update_query('newpoints_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\'');

You are having wrong file on the server, that's my best guess.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.

RE: [Help] Shop plugin problem>

OP
#5
02-07-2016, 08:41 PM
Sozin Wrote:
It clearly did not install correctly.

Uninstall it and then reinstall it.

Also, re-upload all the files first. The Shop plugin 1.7 does not have any such line:
Code:
$db->update_query('newpoints_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\'');

You are having wrong file on the server, that's my best guess.

alright, thank you for the reply, and ill try to upload the files again, :fady:
[Image: xRnLbpm.png]
[Image: Tz6Qsg4.png]

Users browsing this thread: 1 Guest(s)