VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: giriga on October 01, 2016, 00:37:05 AM

Title: error after updating V VM 3.0.16 3.0.18
Post by: giriga on October 01, 2016, 00:37:05 AM
An error has occurred.
1054 Unknown column 'metadesc' in 'field list' SQL=INSERT INTO `#__virtuemart_manufacturers_en_gb` (`virtuemart_manufacturer_id`,`mf_name`,`mf_email`,`mf_desc`,`mf_url`,`metadesc`,`metakey`,`customtitle`,`slug`) VALUES ('38','Pezzana','','','','','','','pezzana')
Return to Control Panel
:( :(
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: GJC Web Design on October 01, 2016, 02:01:17 AM
search?

http://forum.virtuemart.net/index.php?topic=135516
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: giriga on October 01, 2016, 09:28:11 AM
I solved thanks !!
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: tb1408 on October 21, 2016, 00:24:00 AM
Hello everyone!

After updating from VM 3.0.16 to 3.0.18 I'm getting an 1054 error when trying to visit a new category layout page (created after updating) and to use VM product search module.
The full error reports are the following:
Unknown column 'searchable' in 'where clause' SQL=SELECT c.* FROM #__virtuemart_customs as c INNER JOIN #__virtuemart_product_customfields as pc on (c.virtuemart_custom_id=pc.virtuemart_custom_id) INNER JOIN #__virtuemart_product_categories as cat ON (pc.virtuemart_product_id=cat.virtuemart_product_id) WHERE virtuemart_category_id="334" and searchable="1" and (field_type="S" or field_type="P") GROUP BY c.virtuemart_custom_id

Unknown column 'searchable' in 'where clause' SQL=SELECT c.* FROM #__virtuemart_customs as c WHERE searchable="1" and (field_type="S" or field_type="P") GROUP BY c.virtuemart_custom_id

I've tried to use the table updater (with "Enable database Update tools" turned on), as you suggest here: http://forum.virtuemart.net/index.php?topic=135516
but nothing has changed.

I've also read this relevant topic http://forum.virtuemart.net/index.php?topic=135329.0 about PDO driver without finding a clear solution.

I use Joomla 3.6.2.

I would appreciate your help.
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: GJC Web Design on October 21, 2016, 01:01:49 AM
and is there a column searchable in your #__virtuemart_customs table?
check with phpmyadmin etc
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: tb1408 on October 21, 2016, 09:48:39 AM
No, there isn't a column searchable in my #_virtuemart_customs table.
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: Jörgen on October 21, 2016, 11:16:10 AM
Hello

This could be related:
http://forum.virtuemart.net/index.php?topic=135777.msg473272#msg473272 (http://forum.virtuemart.net/index.php?topic=135777.msg473272#msg473272)

regards

Jörgen @ Kreativ Fotografi
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: tb1408 on October 21, 2016, 14:14:03 PM
I've used the tableupdater and this error occured:
1060 Duplicate column name 'custom_desc' SQL=ALTER TABLE `#__virtuemart_customs` CHANGE COLUMN `custom_field_desc` `custom_desc` char(255) COMMENT 'description or unit'

Could I manually do the appropriate changes in "#__virtuemart_customs" table?
Or is it possible to fix the problem by re-installing VM 3.0.18? In this case would my products be deleted?
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: GJC Web Design on October 21, 2016, 14:54:22 PM
yes.. manually will work fine
Title: Re: error after updating V VM 3.0.16 3.0.18
Post by: tb1408 on October 21, 2016, 15:12:54 PM
Thank you for your quick reply.

So could you tell me which changes should I do in "#_virtuemart_customs" table?