VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Sunshine9 on May 28, 2020, 18:59:28 PM

Title: vmError: Could not find product with id ####, entries exists for language? en-GB
Post by: Sunshine9 on May 28, 2020, 18:59:28 PM
VirtueMart 3.8.2 10325
PHP-Version 7.4.5
MySQLi  5.7.23-cll-lve
Joomla! 3.9.18 Stable

:) Hello,

After, changing my default language to US English. The images for products are missing and I get this error.
vmError: Could not find product with id ####, entries exists for language? en-GB

How do i fix this issue?
Title: Re: vmError: Could not find product with id ####, entries exists for language? en-GB
Post by: jenkinhill on May 28, 2020, 20:11:20 PM
I assume your products were added using real English (en-gb) and then you changed the site language. The previous entries will be in the en-gb tables - eg ###__virtuemart_products_en_gb but now the system is looking for entries in the ###_virtuemart_products_en_us  table

If you are happy using phpMyAdmin then you can delete the existing _en_us tables and rename the en_gb table to en_us

Backup the database first!!!
Title: Re: vmError: Could not find product with id ####, entries exists for language? en-GB
Post by: Sunshine9 on May 28, 2020, 22:36:29 PM
Ok. Thanks.