MyBB Requests

[Help] Shop plugin problem>

Submitted by v4hl, , Thread ID: 22183

Thread Closed
v4hl
Legend
Divine
Level:
14
Reputation:
364
Posts:
6.27K
Likes:
2.19K
Credits:
425
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>

Sozin
Nan Ihier Gelair Mordor
Divine
Level:
0
Reputation:
91
Posts:
2.33K
Likes:
374
Credits:
11K
02-07-2016, 08:24 PM
#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>

Sozin
Nan Ihier Gelair Mordor
Divine
Level:
0
Reputation:
91
Posts:
2.33K
Likes:
374
Credits:
11K
02-07-2016, 08:41 PM
#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>

v4hl
Legend
Divine
Level:
14
Reputation:
364
Posts:
6.27K
Likes:
2.19K
Credits:
425
OP
02-07-2016, 08:48 PM
#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)