SELECT * FROM ((SELECT * FROM (`tcp_shop`) JOIN `item_db2` ON `item_db2`.`id`=`tcp_shop`.`item_id` WHERE `item_db.type`=5) UNION (SELECT * FROM (`tcp_shop`) JOIN `item_db` ON `item_db`.`id`=`tcp_shop`.`item_id` WHERE `item_db.type`=5)) a ORDER BY `name_japanese` asc LIMIT 0, 10
how to fix this error?
A Database Error OccurredError Number: 1054
Unknown column 'item_db.type' in 'where clause'
SELECT * FROM ((SELECT * FROM (`tcp_shop`) JOIN `item_db2` ON `item_db2`.`id`=`tcp_shop`.`item_id` WHERE `item_db.type`=5) UNION (SELECT * FROM (`tcp_shop`) JOIN `item_db` ON `item_db`.`id`=`tcp_shop`.`item_id` WHERE `item_db.type`=5)) a ORDER BY `name_japanese` asc LIMIT 0, 10
Filename: /home/brynhild/application/models/mshop.php
Line Number: 60
i got this error when i click consumable, weapon, costumes, pet, cards, and misc category in cash shop help me for those who are using cora cp
Share this post
Link to post
Share on other sites