VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: erka on May 27, 2012, 20:27:05 PM

Title: Database error
Post by: erka on May 27, 2012, 20:27:05 PM
When I activate the Joomla diagnostic console (the on that disaplyas a lot of information at the bottom of every page) I get this database error message on all of my Joomla pages along with a 500 error:

JDatabaseMySQLi::query: 1146 - Table 'c1test.krt_vm_product' doesn't exist SQL=SELECT content.product_id AS id, COUNT(comments.product_id) AS count FROM krt_vm_product AS content LEFT JOIN krt_vm_product_reviews AS comments ON comments.product_id = content.product_id WHERE comments.published AND ( content.product_id = 16 OR content.product_id = 20 OR content.product_id = 1 OR content.product_id = 21 OR content.product_id = 9 OR content.product_id = 12 ) GROUP BY comments.product_id ;
Title: Re: Database error
Post by: PRO on May 27, 2012, 21:08:58 PM
what version of vmart are you using
?
Title: Re: Database error
Post by: erka on May 27, 2012, 22:52:10 PM
2.0.6
Title: Re: Database error
Post by: PRO on May 28, 2012, 12:55:41 PM
have you tried the "install or update tables" in vmart tools?

Title: Re: Database error
Post by: erka on May 28, 2012, 17:17:47 PM
I tried that now and it didn´t make any difference. Except that after I did that the Joomla database fix function says I got this error in my database:

Tabell 'krt_session' saknar kolumnen 'data' med typen 'MEDIUMTEXT'. (Från filen 1.7.1-2011-09-15.sql.)

Translated:

Tabel 'krt_session' missing column 'data' with type 'MEDIUMTEXT'. (from file 1.7.1-2011-09-15.sql.)

I click fix but it doesn´t make any difference.