Skip Navigation

[Resuelto] Function show form for logged out users doesnt work

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: I would like to allow guests to use a CRED form to create posts. When I use the Access Control editor to add this permission for Guests, the setting doesn't seem to be saved correctly. If I reload the page, the checkbox does not appear.

Solution: In this case, there are several thousand input fields on the Access Control page. The server is set up to only allow a maximum of 1000 input variables, so the checkboxes weren't really being saved and no error was visible on the page. However, the server indicates that the save did not occur. Increate your PHP max_input_vars setting to accommodate all the required inputs - 5000 is a good start, but higher is better if you intend to add more fields and inputs.

Relevant Documentation: https://toolset.com/toolset-requirements/

This support ticket is created hace 7 años, 2 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 10 respuestas, tiene 2 mensajes.

Última actualización por Christian Cox hace 7 años, 2 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#568827

Tell us what you are trying to do?
I need to allow guest form submition
I installed and configured access plugin. and set manage with access for post type Descarga de oferta and for form Formulario descarga de oferta

The url of the post with the form is:
enlace oculto

Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/access-control-for-user-fields/
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/

What is the link to your site?

enlace oculto

Link to a page where the issue can be seen:
enlace oculto
enlace oculto

I still can not show a form for not logged in users.

I set the permision on enlace oculto

enlace oculto

Please check this page:
enlace oculto

If im logged in i see this enlace oculto

But for NOT logged in users i see this: enlace oculto
I can see the post where the form is inserted but i can not see the form.

Please help i tryed your recomendation but the problem persist thanks

P.D. the form is Create content - Descargas de ofertas (ID: 10244)
enlace oculto

#568978

Hi, it looks like you need to give Guests the permission to use this CRED form. Go to Toolset > Access Control > CRED Forms tab, and place a checkbox in the row for Guests and the column for this CRED form. Right now, I don't see any checkboxes for Guest permissions here.

#568985

Oh I see now, you mentioned that this does not work for you. In that case, please try the following troubleshooting steps:
- Update all your Toolset plugins to the latest versions
- Temporarily deactivate all non-Toolset plugins and activate a default theme like Twenty Seventeen. Check to see if Guests can access the form now. If so, reactivate your theme and other plugins one-by-one until the conflict is revealed.

Please let me know the results.

#569120

Hi i have deactivated all plugins except toolset plugins, and now i seventeen theme active. THE PROBLEM PERSIST. So i think this is a toolset bug.

Please let me know when i can see the form for loggedout users.

Thanks

#569378

I have added the for with the shortcode

[cred_form form='create-content-descargas-de-ofertas' form_name='Create content - Descargas de ofertas']

to the page enlace oculto

And the problem persist

#569438

Okay thank you for the details. It looks like you have things set up correctly, so I'm not sure what the problem could be here. If it's okay with you, I'd like to set up a clone of your site so I can try to do some additional troubleshooting and database inspection.

Please follow the migration steps here to create a clone zip file:
enlace oculto

Then post the zip file somewhere like Dropbox or Drive and provide a download link in the private fields below.

#570191
#570243

I'm downloading now, and I'll update you once I'm finished. I'll be glad to delete any files once we have resolved the ticket.

#570297

Okay I have successfully downloaded the files, you may remove them from the sharing server. I'll continue to investigate and update you soon.

#570343

Okay I see why there is a problem here. You have a large page here (over 7 Mb, just for the HTML of this page) with lots of form inputs, but your PHP setting for max_input_vars is only 1000. That means that some form inputs aren't getting saved, resulting in the checkboxes becoming unchecked after you check them, save, and navigate away.

You need to reach out to your hosting provider and ask to modify your max_input_vars setting. I would recommend trying at least 5000, but if you plan to add more forms I would ask them to set it as high as possible.

#570356

Nice Christian!

Problem solved!

enlace oculto

Thank you man!

Have a good one.

#570359

No problem, I'm deleting your files now. Have a great weekend.