• Resolved agoulddesign

    (@agoulddesign)


    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    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.

    I think you should’ve done that.

    Also, unless you are the real owner of site1.com and site2.com domains you shouldn’t use them even just as examples. Use domains reserved for example purposes instead.

    Thread Starter agoulddesign

    (@agoulddesign)

    Thank you Miyoshi-san,

    I don’t see https://www.example1.com or https://www.example2.com on that list (FYI, test.com is not an appropriate reservation, and someone should probably suggest an edit on that wiki entry). I will set up a test site if no one has any input on the issue, or can provide a timely and helpful response.

    My client wants this site live ASAP, I really don’t have the time, and will probably try different contact form generators before setting up two new domains with all appropriate DNS, apache, and wordpress configurations.

    EDIT: FYI I did not put the HTTP:// or hyperlinks on those URL’s, or the URL’s above.

    Your time is appreciated.

    • This reply was modified 6 years, 2 months ago by agoulddesign.
    Thread Starter agoulddesign

    (@agoulddesign)

    Using another contact form. Marking as resolved.

    Don’t use Contact Form 7 with Multiple Domain plugin, not compatible as of this posting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CF7 not working with Multiple Domains plugin’ is closed to new replies.