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

#   Adding values to Custom field - Access forbidden

##

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

Less More

- Posts: 282
- Thank you received: 42
-
-

5 years 5 months ago [\#332662](#332662) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  *[Adding values to Custom field - Access forbidden](/forum/2-general-talk-about-hikashop/902593-adding-values-to-custom-field-access-forbidden#332662 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  Hi, I have a custom field for product, type: Multiple Dropdown and I get this error now: Access forbidden. It worked before, and now is not working anymore. Is there a limited number of values that I can add to the custom field?")* was created by *[oxido](/forum/user/29793-oxido "View oxido's Profile")*

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.3.28

Hi,
I have a custom field for product, type: Multiple Dropdown and I get this error now: **Access forbidden.**
It worked before, and now is not working anymore.
Is there a limited number of values that I can add to the custom field?

This message contains confidential information

- [ ![access&#95;forbidden&#95;oxido.jpg](/forum/attachment/52731) ](/forum/attachment/52731 "...dden&#95;oxido.jpg") [ ](/forum/attachment/52731?download=1 "...dden&#95;oxido.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwMjU5My1hZGRpbmctdmFsdWVzLXRvLWN1c3RvbS1maWVsZC1hY2Nlc3MtZm9yYmlkZGVuP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

5 years 5 months ago [\#332664](#332664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding values to Custom field - Access forbidden](/forum/2-general-talk-about-hikashop/902593-adding-values-to-custom-field-access-forbidden#332664 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  Hi, I have a custom field for product, type: Multiple Dropdown and I get this error now: Access forbidden. It worked before, and now is not working anymore. Is there a limited number of values that I can add to the custom field?")*

Hi,

While there is no limit in HikaShop's code, there are two limits:
- the type of the field_values column in the database which will restrict the number of characters that can be used. This can change based on the version of HikaShop you had first installed on your website. But by default, even if you started with really old versions of HikaShop, it's still a few thousand values you should be able to enter in the custom field.
- Your server / PHP might limit the number of input fields that can be received by the website in one request:
[ stackoverflow.com/questions/9399315/how-...post-variable-in-php](https://stackoverflow.com/questions/9399315/how-to-change-maximum-number-of-post-variable-in-php)
[ stackoverflow.com/questions/12277231/max...ter-passed-in-a-post](https://stackoverflow.com/questions/12277231/maximum-number-of-parameter-passed-in-a-post)
With suhosin, that limit is apparently 1000 parameters. With 3 input fields by value, plus all the default input fields of the custom field form page, you can easily reach that limit with a couple hundred values.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwMjU5My1hZGRpbmctdmFsdWVzLXRvLWN1c3RvbS1maWVsZC1hY2Nlc3MtZm9yYmlkZGVuP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 282
- Thank you received: 42
-
-

5 years 5 months ago -  5 years 5 months ago [\#332687](#332687) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Adding values to Custom field - Access forbidden](/forum/2-general-talk-about-hikashop/902593-adding-values-to-custom-field-access-forbidden#332687 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  Hi, I have a custom field for product, type: Multiple Dropdown and I get this error now: Access forbidden. It worked before, and now is not working anymore. Is there a limited number of values that I can add to the custom field?")*

Thank you Nicolas,
The limitation was in php.ini, I was able to change that from cpanel in php ini editor
from 1000 -&gt; 5000 in **max\_input\_vars**
[ ![max&#95;input&#95;vars&#95;oxido.jpg](/forum/attachment/52739) ](/forum/attachment/52739 "...vars&#95;oxido.jpg")

- [ ![max&#95;input&#95;vars&#95;oxido.jpg](/forum/attachment/52739) ](/forum/attachment/52739 "...vars&#95;oxido.jpg") [ ](/forum/attachment/52739?download=1 "...vars&#95;oxido.jpg")

Last edit: 5 years 5 months ago by [oxido](/forum/user/29793-oxido "View oxido's Profile"). Reason: Added some details

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwMjU5My1hZGRpbmctdmFsdWVzLXRvLWN1c3RvbS1maWVsZC1hY2Nlc3MtZm9yYmlkZGVuP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.058 seconds

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