I am using yii-shop extension but after installation of shop and its database when i try to access product page by /shop/products/index/ then it gives error message:

“CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘parent_id’ in ‘where clause’. The SQL statement executed was: SELECT * FROM yiishopcategory t WHERE parent_id = 0”

solve it please.

Você está na secção Portuguesa do fórum, pode escrever em Português.

Tem de adicionar a coluna parent_id à tabela yiishopcategory da sua base de dados.