Error Installing Phoca Cart v3.0.2 in Joomla 3.8.4

Phoca Cart - complex e-commerce extension
KYBO
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Feb 2018, 03:29

Error Installing Phoca Cart v3.0.2 in Joomla 3.8.4

Post by KYBO »

Hi;

Is there, anyone who can show me how to resolve the error every time i try to install com_phocacart_v3.0.4 in joomla 3.8.4. this is the following error that I encounter:

Warning
JInstaller: :Install: Error SQL Duplicate entry '1' for key 'PRIMARY'
Extension Install: SQL error processing query: DB function failed with error number 1062
Duplicate entry '1' for key 'PRIMARY'
SQL =

INSERT INTO `#__phocacart_order_statuses` (`id`, `title`, `published`, `ordering`, `stock_movements`, `type`, `download`, `change_user_group`, `change_points_needed`, `change_points_received`) VALUES
(1, 'COM_PHOCACART_STATUS_PENDING', '1', '1', '-', '1', '0', '0', '1', '0'),
(2, 'COM_PHOCACART_STATUS_CONFIRMED', '1', '2', '=', '1', '0', '1', '1', '1'),
(3, 'COM_PHOCACART_STATUS_CANCELED', '1', '3', '+', '1', '0', '1', '2', '2'),
(4, 'COM_PHOCACART_STATUS_SHIPPED', '1', '4', '=', '1', '0', '1', '1', '1'),
(5, 'COM_PHOCACART_STATUS_REFUNDED', '1', '5', '=', '1', '0', '1', '2', '2'),
(6, 'COM_PHOCACART_STATUS_COMPLETED', '1', '6', '=', '1', '1', '1', '1', '1');

Package Install: There was an error installing an extension: com_phocacart_v3.0.2.zip

It will be highly appreciated if there some one can resolved this matter

Thank you
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Error Installing Phoca Cart v3.0.2 in Joomla 3.8.4

Post by christine »

Hi,

Phoca Cart version is: 3.0.3

at first try: Admin > Extensions > Manage > Database, click to button "Fix" to correct DB problems.
In addition: Make sure that your template and extensions that you're using for your website support Joomla! 3.8.5

Kind regards
Christine
KYBO
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Feb 2018, 03:29

Re: Error Installing Phoca Cart v3.0.2 in Joomla 3.8.4

Post by KYBO »

Hello christine;

Thank you for your quick reply. I tried your suggestion by going to manage database and click fix but when i tried to install the com_phocacart_v3.0.2 still same warning pop-up. is there any other way to do this?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error Installing Phoca Cart v3.0.2 in Joomla 3.8.4

Post by Jan »

Hi, then try to empty the table: `#__phocacart_order_statuses` in your database. Normally, this sql query should not run through standard Joomla! extension update :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply