Affiliate Partner error

  • Posts: 3
  • Thank you received: 0
10 years 9 months ago #146350

Hello sir,
I am configure whole site on my localhost also i ma getting this error . when i copy this sql query and run in my sql command then give a result to me . can you give me help for that ???????//

i ask two question on that but i am not getting better reply.

-- url of the page with the problem -- : montrealsalsaconvention.com/administrator
-- HikaShop version -- : HikaShop Business 2.2.2
-- Joomla version -- : Joomla! 3.0.4
-- PHP version -- : 5.3.24
-- Browser(s) name and version -- : google chrome 33.0.1750
-- Error-message(debug-mod must be tuned on) -- : 1347 'salsa123.zxnyw_hikashop_sale_view' is not VIEW SQL=CREATE OR REPLACE VIEW zxnyw_hikashop_sale_view AS SELECT a.user_id, SUM(b.order_partner_price) AS sale_price FROM zxnyw_hikashop_user AS a LEFT JOIN zxnyw_hikashop_order AS b ON a.user_id=b.order_partner_id AND (CASE WHEN a.user_currency_id=0 THEN 5 ELSE a.user_currency_id END)=b.order_partner_currency_id WHERE a.user_partner_activated=1 AND b.order_partner_paid=0 AND b.order_type='sale' AND b.order_status IN ('confirmed','shipped') GROUP BY b.order_partner_id;


When i am login in montrealsalsaconvention.com/administrator and open hikashop---> affiliates---> partners It Give me Error Like this Can you Help me plz ????

1347 'salsa123.zxnyw_hikashop_sale_view' is not VIEW SQL=CREATE OR REPLACE VIEW zxnyw_hikashop_sale_view AS SELECT a.user_id, SUM(b.order_partner_price) AS sale_price FROM zxnyw_hikashop_user AS a LEFT JOIN zxnyw_hikashop_order AS b ON a.user_id=b.order_partner_id AND (CASE WHEN a.user_currency_id=0 THEN 5 ELSE a.user_currency_id END)=b.order_partner_currency_id WHERE a.user_partner_activated=1 AND b.order_partner_paid=0 AND b.order_type='sale' AND b.order_status IN ('confirmed','shipped') GROUP BY b.order_partner_id;


Thank You
jitendra Goyal

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
10 years 8 months ago #146462

Hi,

This is because your MySQL user doesn't have the right to create views in your database. If you're in local, please open your phpmyadmin with the root account and edit the privileges of the mysql user you're using for your website and make sure that it has the rights to create/alter/delete/select views and you should then not have the error anymore.

I checked the two other questions you asked and we replied as best as we could as far as I can see.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum