Forums › Forums › Search & Filter Pro › Cannot add more than five fields to search
Tagged: number of fields
- This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago by
Ross.
-
Ross Moderator(Private) July 7, 2015 at 5:34 pm #20938
Hey Andrew
Can you think what might have changed? did you move environment by any chance?
I would suggest to try to recreate the search form and see if there is still an issue saving.
Thanks
Anonymous(Private) July 7, 2015 at 9:56 pm #20949Hi Ross,
First of all, thank you for your reply!
We didn’t move environment, but we must have updated one or more plugins meanwhile.So I did as you suggested and recreated the search form. It didn’t save. However, when I added other, ‘smaller’ fields like Author instead of the original fields, everything was saved. Since three of the Post Meta fields in the original search have about 130 search options (and more to be added), I’m thinking this might be a problem of size?
I also tried editing the original search again, a Submit Button field got saved just fine.Thank you for your time.
Ross Moderator(Private) July 8, 2015 at 1:51 pm #21028Ahhh the problem is likely the server.
Try to take a look at your PHP error logs, as well as your PHP settings.
There are PHP settings which limit the amount of data uploaded (saving a form is really an upload, of a lot of text) – https://www.google.co.uk/search?q=php+max+upload+size&oq=php+max+upload&aqs=chrome.0.0j69i57j0l4.2463j0j7&sourceid=chrome&es_sm=122&ie=UTF-8
Or there could be a timeout depending on how long it is taking to save – https://www.google.co.uk/#q=max+input+time and https://www.google.co.uk/search?q=max_execution_time
I hope that helps
Thanks
Anonymous(Private) July 16, 2015 at 10:10 am #21533Hey Ross,
Thank you, that helped at first. By raising the max upload size to 100 MB, I was able to add more fields. However, when I added exactly one more search term to a field, it didn’t save again. So we raised the size another time to 200 MB but the problem is still there. When I add just one more search term to any one of the fields, it does not save, no matter what the max upload size. Any ideas where the problem could lie?Ross Moderator(Private) July 16, 2015 at 11:08 am #21538Hi Andrew
Did you also check that the timeouts are not being exceeded – such as
max_execution_timeandmax_input_time?See if you can increase those.
Also, would you be able to send me login details so I can take a look?
Thanks
-
AuthorPosts