Problem with Custom Fields

This topic contains 9 replies, has 4 voices, and was last updated by  Stiofan O’Connor 10 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #43879

    jamespybus
    Expired Member
    Post count: 3

    Hello,

    Is there a way to increase limit of Custom Fields? I have around 10 that are not being saved on post update, and can’t import them as well. Unfortunately can’t reduce number of fields.

    #43880

    Guust
    Moderator
    Post count: 29970

    You should easily have 10 custom fields.
    Are you trying to add them from the frontend or admin?
    Are your pricing packages allowing them?

    Post your URL and admin details in a private reply if you want us to have a quick look for you.

    #43882

    jamespybus
    Expired Member
    Post count: 3

    Hi Guust,

    I have 10 fields that are not being displayed, the other 40-50 are showing okay. Looks like there is a limit, which i read about in other post on this forum, but couldn’t find any solution to this. I just need to add these 10 more fields, and that would be great.

    #43890

    Guust
    Moderator
    Post count: 29970

    Please post your URL and admin details in a private reply if you want us to have a look for you.

    #43894

    jamespybus
    Expired Member
    Post count: 3
    This reply has been marked as private.
    #43897

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #43898

    jamespybus
    Expired Member
    Post count: 3

    Must be a limit of custom fields number. This blank column it is a Facility column i think which Fieldset. Okay thanks for looking at this.

    #43899

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #44011

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    most probably your server contains a limit on how many variables can be used on each page and it is simply terminating the save process before GD can finish it’s job.

    The most common solution is to increase your max_vars setting. This is a PHP setting which determines how many variables can be used in one page load. By increasing this limit, you will allow GD to complete it’s job.

    php.ini

    You can increase this setting by creating a php.ini file. This file may already exist on your server, but it is most likely you will need to create this yourself. Please note that your web host will be happy to help you create this file, so please contact them if you run into any difficulties.

    In the php.ini file, you can add this to bump up your limit to 3000

    
    
    max_input_vars = 3000
    suhosin.get.max_vars = 3000
    suhosin.post.max_vars = 3000
    suhosin.request.max_vars = 3000

    htaccess

    If you do not wish to create a php.ini file, it is also possible to update these settings via the .htaccess file in the root of your website folder. This method is easier, however it may not work on all servers. Please contact them if you run into any difficulties.

    
    
    php_value max_input_vars 3000
    php_value suhosin.get.max_vars 3000
    php_value suhosin.post.max_vars 3000
    php_value suhosin.request.max_vars 3000

    Let us know how you went.

    Thanks

    #44021

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Resolved for user, DB row length was too long, found that checkbox types were using varchar 500 so switched to smallint(1) which saved lots of spce as the user had 50+ checkboxes

    Stiofan

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount