Forums

Wordpress form submit goes to 404 page (resolved)

groovezog 15 Nov, 2015
I've been having a problem with my forms submitting to a 404 page.
- adding a debug action didn't give me any information
- turning debugging on in Wordpress (WP_DEBUG = true, in wp-config.php) didn't give me any information
- I wasn't using the reserved Wordpress parameter of "name" as the name of an input
- I tried setting "use relative URL" to both yes and no in the "render form" action
- setting the "AJAX submission" to true in the render form action resolved the problem, but I wasn't satisfied

I found that there are conflicts with some Wordpress plugins that have their slugs set to use the variable "event". Among them was a calendar plugin (Events Manager) and a custom post type plugin (Custom Post Type UI). Since Chronoform submissions use the key "event" in the URL (event=submit), there was some sort of conflict.

I was able to resolve the problem by changing slugs from "event" to "events" (or any other word).

I hope this helps someone.
vizhi.ameex 19 Nov, 2015
Hi,

I am also facing the same issue, only when I disabled the Event Manager Plugin Chronoforms submit works.
Can you explain how to change the Slug from "event" to "events" in chronforms, I tried changing them but it was not working out.



Thanks
groovezog 19 Nov, 2015
Answer
@vizhi.ameex - I did not change it in Chronoforms. You'll have to edit the slug that Event Manager Plugin uses for a single event.
Go to Events > Settings
https://cloudup.com/cJ5ReH45lQF

In Settings > General (tab) > General Settings, set the "event URL slug" to something other than event. Additionally, you can also change "events URL slug" to the plural version of "event URL slug" like so:
https://cloudup.com/cVeEk9RmOWw

I hope that helps🙂
vizhi.ameex 20 Nov, 2015
Hi,

Thanks for the information that was really helpful.

In the latest version of Event Manager 5.6 there is only option for Events Slug to change but I tired even changing that the Chronoform submit is not working.

Please let me your thoughts.

Thanks
groovezog 22 Nov, 2015
You have to find out how to change the slug for "event", not "events".
I don't have this version of Events Manager, so I don't have the answer. Sorry.
I think you can figure it out though. You understand what needs to be done.
This topic is locked and no more replies can be posted.