Error upgrade beta1 to beta2

Phoca Cart - complex e-commerce extension
toonytoony2004
Phoca Member
Phoca Member
Posts: 19
Joined: 15 Jan 2015, 14:09

Error upgrade beta1 to beta2

Post by toonytoony2004 »

My brother test on beta 1 , when beta 2 publish he upgrade and found message

when click on category on front-end

Code: Select all

Unknown column 'a.sales' in 'field list' SQL=SELECT a.id, a.title, a.image, a.alias, a.description, a.catid, c.id AS categoryid, c.title AS categorytitle, c.alias AS categoryalias, a.price, a.price_original, t.tax_rate as taxrate, t.calculation_type as taxcalculationtype, t.title as taxtitle, a.date, a.sales, a.featured, a.external_id, AVG(r.rating) AS rating, at.required AS attribute_required FROM crotc_phocacart_products AS a LEFT JOIN crotc_phocacart_categories AS c ON c.id = a.catid LEFT JOIN crotc_phocacart_taxes AS t ON t.id = a.tax_id LEFT JOIN crotc_phocacart_reviews AS r ON a.id = r.product_id AND r.id > 0 LEFT JOIN crotc_phocacart_attributes AS at ON a.id = at.product_id AND at.id > 0 AND at.required = 1 WHERE c.id = 5 AND a.published = 1 AND c.published = 1 AND c.access IN (1,1,5) AND a.access IN (1,1,5) GROUP BY a.id ORDER BY a.date DESC LIMIT 0, 6
How to solve it? :( :( :(
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9110
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error upgrade beta1 to beta2

Post by Benno »

Hi,
see: https://www.phoca.cz/documents/16-joomla ... base-colum
or uninstall beta1 and install beta2

Kind regards,
Benno
toonytoony2004
Phoca Member
Phoca Member
Posts: 19
Joined: 15 Jan 2015, 14:09

Re: Error upgrade beta1 to beta2

Post by toonytoony2004 »

thanks, please one

i don't under stand for answer..

do you have a step by step for solve this problem?

:) :) :)
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9110
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error upgrade beta1 to beta2

Post by Benno »

Hi,
i don't under stand for answer..
Sorry, what don't you understand? The linked article? :idea:

Kind regards,
Benno
Post Reply