• Firstly thanks for a great plugin, one of our first installs on most sites – very useful.

    Issue:
    We are getting a 403 error:
    GET http://domain/?_wpcf7_is_ajax_call=1&_wpcf7=108&_wpcf7_request_ver=1414058539136 403 (Forbidden) jquery.min.js:6

    Only occurs if form hidden in page (made visible on link/UI click).
    Form embedded to template via “echo do_shortcode(‘[contact-form-7 id=”108″ title=”Get in touch”]’)”

    Issue is that it throws the error on page load – but also that on sites using front end AJAX login, this prevents the AJAX login from completing – it just stalls and never proceeds as the browser is thrown by the unload 403 error?

    Help!

    Current Versions:
    WP 4.0 [same issue on earlier versions]
    CF7 4.0.1[same issue on earlier versions]

    https://wordpress.org/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ashley Sheinwald

    (@ashleysheinwald)

    Some additional data – in case it helps find the issue.
    Remote address and Request URL domain obscured

    Remote Address:xxx.x.x.x:80
    Request URL:http://domain/?_wpcf7_is_ajax_call=1&_wpcf7=108&_wpcf7_request_ver=1414058539136
    Request Method:GET
    Status Code:403 Forbidden
    Request Headersview source
    Accept:application/json, text/javascript, */*; q=0.01
    Accept-Encoding:gzip,deflate,sdch
    Accept-Language:en-US,en;q=0.8
    Cache-Control:no-cache
    Connection:keep-alive
    Cookie:PHPSESSID=c185ff8c19de02e39d52cf4ccae9d81c; wp-settings-3=libraryContent%3Dbrowse%26editor%3Dhtml%26hidetb%3D1%26advImgDetails%3Dshow%26wplink%3D0%26ed_size%3D360%26imgsize%3Dthumbnail%26align%3Dleft; wp-settings-time-3=1413909034; bb2_screener_=1414058517+127.0.0.1; wordpress_test_cookie=WP+Cookie+check; mp_774f6b0c47772e7c4d159eb5694455ad_mixpanel=%7B%22distinct_id%22%3A%20904114099%2C%22%24initial_referrer%22%3A%20%22http%3A%2F%2Fdomainname%2F%22%2C%22%24initial_referring_domain%22%3A%20%22domainname%22%7D; _ga=GA1.2.499312045.1414055226; _gat=1
    DNT:1
    Host:domainname
    Pragma:no-cache
    Referer:http://domainname/
    User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36
    X-Requested-With:XMLHttpRequest
    Query String Parametersview sourceview URL encoded
    _wpcf7_is_ajax_call:1
    _wpcf7:108
    _wpcf7_request_ver:1414058539136
    Response Headersview source
    Connection:Keep-Alive
    Content-Encoding:gzip
    Content-Length:246
    Content-Type:text/html; charset=iso-8859-1
    Date:Thu, 23 Oct 2014 10:02:19 GMT
    Keep-Alive:timeout=15, max=97
    Server:Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2
    Vary:Accept-Encoding

    I’m having the same issue in Chrome. My contact form is hidden on the page and comes up in a lightbox. When I try to submit the form, I see the 403 error in my Web Inspector, the 403 error is for

    /?_wpcf7_is_ajax_call=1&_wpcf7=4&_wpcf7_request_ver=1423085976327

    Actually, the issue resolved itself after I ran all the pending plugin/core updates on my site!

    Turns out it now works in Chrome and IE, but I’m getting this error in Safari and Firefox.

    plinth

    (@plinth)

    Any other fixes for this? I’m getting the same thing.

    elainevdw

    (@elainevdw)

    IIRC I worked around this by moving the form from a div on the page to its own page and just calling it in an iframe lightbox. It’s more time consuming as you need to pull in all your site assets, but at least it works.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘403 error on page load with hidden form’ is closed to new replies.