Yii Framework Forum: Yii-Shop - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii-Shop error while running Rate Topic: -----

#1 User is offline   sonika 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 21-February 13

Posted 13 March 2013 - 04:41 AM

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.
0

#2 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 13 March 2013 - 01:37 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users