[Skip to main content](#vessel-content)

#   After Update: Error 1054 Unknown column

##

- **[woidl](/forum/user/39777-woidl "View woidl's Profile")**
- [![woidl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39777-woidl "View woidl's Profile") Topic Author
- [ Offline](/forum/user/39777-woidl)

Less More

- Posts: 58
- Thank you received: 2
-
-

8 years 6 months ago -  8 years 6 months ago [\#292560](#292560) by [woidl](/forum/user/39777-woidl "View woidl's Profile")  *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292560 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")* was created by *[woidl](/forum/user/39777-woidl "View woidl's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.7.8
-- PHP version -- : 7.1
-- Error-message(debug-mod must be tuned on) -- : Fehler: 1054

**I got this error after Update to 3.4.0** - cannot use the shop anymore:
Error 1054 : Unknown column 'hikam_vendor.accepted_cities' in 'where clause'

**When checking Database:**

Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1

Error hikashop_vote_user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'

Error
ALTER TABLE #__hikashop_vote_user ADD PRIMARY KEY(vote_user_id,vote_user_user_id)

I had to reinstall a backup, that´s not fun.
How to solve this problems??
Walter

Last edit: 8 years 6 months ago by [woidl](/forum/user/39777-woidl "View woidl's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 6 months ago [\#292567](#292567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292567 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi,

The error "Unknown column 'hikam_vendor.accepted_cities' in 'where clause'" indicates that something is trying to use a column "accepted_cities" in the table hikamarket_vendor. However, there is no such column in HikaMarket and no MySQL query in either HikaShop or HikaMarket on that column since it doesn't exist by default.
So I'm thinking that you're using the plugin vendor location filter from HikaMarket and that you configured it to use a custom vendor field that you didn't recreate or that was deleted for some reason.
The check database button won't help in that case. You need to fix the configuration of that plugin.

Regarding the error with the check database, that's because you have several "helpful" votes coming from the same IP address for the same vote (which was a bug from an old version) but it's not possible anymore.
And when HikaShop tries to add a rule to the table to be up to date, it fails because of the doublons.
It's not a problem. You can just ignore it. If you really want to fix it, you would have to delete the doublons in the hikashop_vote_user table via your phpmyadmin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woidl](/forum/user/39777-woidl "View woidl's Profile")**
- [![woidl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39777-woidl "View woidl's Profile") Topic Author
- [ Offline](/forum/user/39777-woidl)

Less More

- Posts: 58
- Thank you received: 2
-
-

8 years 6 months ago -  8 years 6 months ago [\#292627](#292627) by [woidl](/forum/user/39777-woidl "View woidl's Profile")  Replied by *[woidl](/forum/user/39777-woidl "View woidl's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292627 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi

I did the installation of HikaShop + Serial + Market again
and the Error 1054 was not there anymore. ( and I ignore the vote-user-database problem).
But the products were not visible anymore!

5 hours later: the Error 1054 is back again. (I did not change anything)

I tried change the settings of the filter - no result.

No I am totally confused.

thanks for help
Walter

Last edit: 8 years 6 months ago by [woidl](/forum/user/39777-woidl "View woidl's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 6 months ago [\#292629](#292629) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292629 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi,

I checked your two links and I still see the error with the accepted_cities message on your first link.
So first, since you just installed HikaMarket, deactivate the vendor location filter plugin via the Joomla plugins manager.
That will avoid the problem and you probably don't need it.
Regarding the products not appearing on the module, we would need a screenshot of the settings under the "hikashop options" tab of the module to be able to say more.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woidl](/forum/user/39777-woidl "View woidl's Profile")**
- [![woidl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39777-woidl "View woidl's Profile") Topic Author
- [ Offline](/forum/user/39777-woidl)

Less More

- Posts: 58
- Thank you received: 2
-
-

8 years 6 months ago [\#292678](#292678) by [woidl](/forum/user/39777-woidl "View woidl's Profile")  Replied by *[woidl](/forum/user/39777-woidl "View woidl's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292678 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi,

I just noticed that there is more than just one plugin:
The problem disappears when deactivating **"HikaShop Vendor User Location Filter"**.
Or deactivating the "use search module" setting inside the plugin settings.
Deactivating "HikaMarket Vendor User Location Filter" has no effect.

Without plugin "HikaShop Vendor User Location Filter" the products in the modules on homepage are **back again**.
[ module with products](https://www.klopeinersee.shop/)

Thanks for help so far!

What shall I do if I decide to use the plugin - How to make it work?
Or am I supposed to ignore this plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 6 months ago -  8 years 6 months ago [\#292685](#292685) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#292685 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hello,

As Nicolas told you :

> So I'm thinking that you're using the plugin vendor location filter from HikaMarket and that you configured it to use a custom vendor field that you didn't recreate or that was deleted for some reason.

So to make it work, you'll just have to properly configure that plugin and create/configure custom vendor fields depending on your needs.

Best regard,
Mohamed Thelji.

Last edit: 8 years 6 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rambay](/forum/user/34084-rambay "View Rambay's Profile")**
- [![Rambay's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34084-rambay "View Rambay's Profile")
- [ Offline](/forum/user/34084-rambay)

Less More

- Posts: 61
- Thank you received: 2
-
-

8 years 6 months ago [\#293131](#293131) by [Rambay](/forum/user/34084-rambay "View Rambay's Profile")  Replied by *[Rambay](/forum/user/34084-rambay "View Rambay's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#293131 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi,

Me too....Ihave the same problem after upgrade,

1054 - Unknown column 'hikam_vendor.accepted_cities' in 'where clause'

Deactivating the plugin has no effect.

What else may I do ?

Kind regards
Martin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 6 months ago [\#293132](#293132) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#293132 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hello,

There are two plugins. One for HikaShop and another for HikaMarket.
Please be sure that both are unpublished.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Rambay](/forum/user/34084-rambay "View Rambay's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rambay](/forum/user/34084-rambay "View Rambay's Profile")**
- [![Rambay's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34084-rambay "View Rambay's Profile")
- [ Offline](/forum/user/34084-rambay)

Less More

- Posts: 61
- Thank you received: 2
-
-

8 years 6 months ago [\#293148](#293148) by [Rambay](/forum/user/34084-rambay "View Rambay's Profile")  Replied by *[Rambay](/forum/user/34084-rambay "View Rambay's Profile")* on topic *[After Update: Error 1054 Unknown column](/forum/25-install-update/894685-after-update-error-1054-unknown-column#293148 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.7.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : Fehler: 1054  I got this error after Update to 3.4.0 - cannot use the shop anymore: Error 1054 : Unknown column 'hikam&#95;vendor.accepted&#95;cities' in 'where clause'  When checking Database:  Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1.119' at line 1  Error hikashop&#95;vote&#95;user: Duplicate entry '4-192.168.1.119' for key 'PRIMARY'  Error ALTER TABLE #&#95;&#95;hikashop&#95;vote&#95;user ADD PRIMARY KEY(vote&#95;user&#95;id,vote&#95;user&#95;user&#95;id)  I had to reinstall a backup, that´s not fun. How to solve this problems?? Walter")*

Hi Jerome,

thanks for the hint, that solved it !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDY4NS1hZnRlci11cGRhdGUtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.099 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
