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

#   Error Saving for new custom fields

##

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

Less More

- Posts: 69
- Thank you received: 1
-
-
-

9 years 11 months ago [\#255090](#255090) by [babaei](/forum/user/34732-babaei "View babaei's Profile")  *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#255090 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")* was created by *[babaei](/forum/user/34732-babaei "View babaei's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4

Hello
After updating hikashop I have a problem with new custom fields.
When i add a new custom field and press save I see this error:
Error
Error Saving

and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it.
Here is a link of custom field with 0 ID :
/administrator/index.php?option=com_hikashop&amp;ctrl=field&amp;task=edit&amp;cid[]=0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzQ1MS1lcnJvci1zYXZpbmctZm9yLW5ldy1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 11 months ago [\#255095](#255095) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#255095 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hi,

Please click on the "check database" button of the HikaShop configuration and then try again.

The following user(s) said Thank You: [babaei](/forum/user/34732-babaei "View babaei's Profile")

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

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

Less More

- Posts: 69
- Thank you received: 1
-
-
-

9 years 11 months ago [\#255118](#255118) by [babaei](/forum/user/34732-babaei "View babaei's Profile")  Replied by *[babaei](/forum/user/34732-babaei "View babaei's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#255118 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hi
I did it, but the error not fixed.
What can i do?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzQ1MS1lcnJvci1zYXZpbmctZm9yLW5ldy1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 11 months ago [\#255156](#255156) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#255156 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hi,

Please provide a link to the website a backend access and a link to this thread via our contact form so that we can have a look at the problem:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzQ1MS1lcnJvci1zYXZpbmctZm9yLW5ldy1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 11 months ago [\#255205](#255205) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#255205 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hi,

From what I can see the auto increment has been removed from the hikashop_field table in your database.
This can't happen during an update so I can only think that someone removed that on your end.
You need to edit the structure of the hikashop_field table in your database, and edit the field_id column and add the auto increment option:
[ stackoverflow.com/a/18942684/6390007](http://stackoverflow.com/a/18942684/6390007)

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

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

Less More

- Posts: 69
- Thank you received: 1
-
-
-

9 years 9 months ago [\#258735](#258735) by [babaei](/forum/user/34732-babaei "View babaei's Profile")  Replied by *[babaei](/forum/user/34732-babaei "View babaei's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#258735 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hello

When I check A_I for field_id , I see this error:

Query error: #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzQ1MS1lcnJvci1zYXZpbmctZm9yLW5ldy1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 9 months ago [\#258738](#258738) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error Saving for new custom fields](/forum/25-install-update/887451-error-saving-for-new-custom-fields#258738 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4  Hello After updating hikashop I have a problem with new custom fields. When i add a new custom field and press save I see this error: Error Error Saving  and when I go back to custom field list custom field is created. But when i open this new custom field Label and Column name gone and I cant edit it. Here is a link of custom field with 0 ID : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=field&amp;task=edit&amp;cid&#91;&#93;=0")*

Hi,

So that would mean that the field_id column is not the primary key of the table while it should. Please change that first.

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

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

[](#top)
