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

#   Cannot create a custom field assign to contact

##

- **[bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")**
- [![bsimoes's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar48805.jpg)](/forum/user/48805-bsimoes "View bsimoes's Profile") Topic Author
- [ Offline](/forum/user/48805-bsimoes)

Less More

- Posts: 45
- Thank you received: 0
-
-

8 years 5 months ago [\#293834](#293834) by [bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")  *[Cannot create a custom field assign to contact](/forum/32-content-creation/894956-cannot-create-a-custom-field-assign-to-contact#293834 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.1.18 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Table xxx.#&#95;&#95;hikashop&#95;contact' doesn't exist  Hi,  When I try create a new custom fiel assign to contact to show in contact form I receive the message: Table xxx.#&#95;&#95;hikashop&#95;contact' doesn't exist  I tryed reinstall Hikashop and the problem remains.")* was created by *[bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 7.1.18
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Table xxx.#__hikashop_contact' doesn't exist

Hi,

When I try create a new custom fiel assign to contact to show in contact form I receive the message:
Table xxx.#__hikashop_contact' doesn't exist

I tryed reinstall Hikashop and the problem remains.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0OTU2LWNhbm5vdC1jcmVhdGUtYS1jdXN0b20tZmllbGQtYXNzaWduLXRvLWNvbnRhY3Q/dG1wbD1tYXJrZG93bg==) 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 5 months ago [\#293871](#293871) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot create a custom field assign to contact](/forum/32-content-creation/894956-cannot-create-a-custom-field-assign-to-contact#293871 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.1.18 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Table xxx.#&#95;&#95;hikashop&#95;contact' doesn't exist  Hi,  When I try create a new custom fiel assign to contact to show in contact form I receive the message: Table xxx.#&#95;&#95;hikashop&#95;contact' doesn't exist  I tryed reinstall Hikashop and the problem remains.")*

Hi,

Thank you for your feedback.
While you get the error, you can ignore it and proceed to use the custom field.
If you want to remove the error, you can add the code: Code:

if(in_array($table_name, array('contact'))) continue;

before the line: Code:

$query = 'ALTER TABLE '.$this-&gt;fieldTable($table_name).' ADD &#96;'.$field-&gt;field_namekey.'&#96; TEXT NULL';

in the file administrator/components/com_hikashop/classes/field.php

We'll add the patch on our end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0OTU2LWNhbm5vdC1jcmVhdGUtYS1jdXN0b20tZmllbGQtYXNzaWduLXRvLWNvbnRhY3Q/dG1wbD1tYXJrZG93bg==) 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.069 seconds

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