Page 1 of 1

Error after update

Posted: 25 Oct 2017, 15:45
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?

Re: Error after update

Posted: 25 Oct 2017, 19:49
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

Re: Error after update

Posted: 26 Oct 2017, 10:03
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.

Re: Error after update

Posted: 26 Oct 2017, 22:41
by Jan
Hi, what you exactly mean with "there is no referal to a database"?

Jan

Re: Error after update

Posted: 27 Oct 2017, 12:31
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.

Re: Error after update

Posted: 28 Oct 2017, 13:54
by christine
Hi,
thank you for your information.

Kind regards, Christine