CF7 not working with Multiple Domains plugin
-
Basically, the wordpress installation has the site listed as https://www.site1.com. I have this installation hosting https://www.site2.com using plugin listed below. Contact forms do not work on https://www.site2.com…
Installed https://www.ads-software.com/plugins/multiple-domain/
Contact forms work properly on the page url provided in the general settings of the site, with and without Recaptcha.
Contact forms do not work on the Multiple Domains page of the site, no error given, only a line in the HTML added every time the submit button is pressed:
<div class="ajax-error">Unexpected token < in JSON at position 0</div>
Even without any information being put in required fields, no error is given when the send button is pushed. So, my guess is that there is a check in the code that looks to ensure the site url listed in the general section, and the url in the browser address bar are the same, and the entire script just stops when these data points are not equal. However, if it was an intentional check, there certainly would be an error message of some sort displayed.
I tried activating debugs, creating new forms, putting the new site’s address in the “from” section, searched for well over an hour (the key words involved are VERY common to other problems people have, so these results were useless), and have had no luck.
This is not an email issue, as there are no error messages in any email logs, it does not get past the CF7 code.
I am very hesitant to activate WPMS, because the URL in the end will not be a sub-domain and I’m not sure WP and CF7 will handle CNAMEs any differently. I may just have to re-direct https://www.site2.com to site2.site1.com, which is NOT an attractive option, because everything else works flawlessly up until now.
I will not provide links or logins to sites due to proprietary information. This is easily replicatable, and I may set up a test environment if I can’t get it resolved quickly.
Thank you for your help!
- The topic ‘CF7 not working with Multiple Domains plugin’ is closed to new replies.