Error after update

Phoca Cart - complex e-commerce extension
LoVoGr40
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Oct 2017, 15:40

Error after update

Post by LoVoGr40 »

I have update Phoca cart today from RC9 to Stable and now I get an error code: 1054 - Unknown column 'm.link' in 'field list' when I want to select a product on the website. How can I solve this?

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

Re: Error after update

Post by christine »

Hi,

see here please: https://www.phoca.cz/news/956-phoca-car ... e-released
If you upgrade from development version RC9 to Stable, then database data needs to be updated. See:

administrator/components/com_phocacart/install/sql/mysql/install.utf8.sql (RC9 -> Stable part): viewtopic.php?f=44&t=57836&p=146206#p146206

There are SQL instructions for upgrading database of the component.
Kind regards, Christine
LoVoGr40
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Oct 2017, 15:40

Re: Error after update

Post by LoVoGr40 »

I did that. Copied everything below RC9->Stable in phpmyadmin, but the reply form SQL is that there is no referal to a database.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after update

Post by Jan »

Hi, what you exactly mean with "there is no referal to a database"?

Jan
If you find Phoca extensions useful, please support the project
LoVoGr40
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Oct 2017, 15:40

Re: Error after update

Post by LoVoGr40 »

I copied this into phpmyadmin in the SQL tab:
ALTER TABLE `o07i2_phocacart_manufacturers` ADD `link` varchar(255) NOT NULL DEFAULT '';
ALTER TABLE `o07i2_phocacart_coupons` ADD `category_filter` tinyint(1) NOT NULL DEFAULT '1';
ALTER TABLE `o07i2_phocacart_coupons` ADD `product_filter` tinyint(1) NOT NULL DEFAULT '1';
ALTER TABLE `o07i2_phocacart_discounts` ADD `category_filter` tinyint(1) NOT NULL DEFAULT '1';
ALTER TABLE `o07i2_phocacart_discounts` ADD `product_filter` tinyint(1) NOT NULL DEFAULT '1';
into phpmyadmin
The response from my SQL: #1046 - no database selected.

Sorry. I see my mistake. I have selected the Joomla database and now it does work. Thanks for your responses. Sorry for the inconvenience.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Error after update

Post by christine »

Hi,
thank you for your information.

Kind regards, Christine
Post Reply