Title: Stuck on admin-ajax.php
Last modified: August 31, 2016

---

# Stuck on admin-ajax.php

 *  Resolved [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/)
 * We created a survey for the first time in almost a year, and I think we did everything
   correctly. However, after publishing the survey, we find that when we submit 
   it then goes to admin-ajax.php, but just sits there showing the code for the 
   thank you page:
 * `{"success":true,"data":{"thank_you":"Thank you for helping to decide which games
   deserve to be nominated for a Game of the Year award. Good luck to your favorite
   titles!","url":"","urltimeout":"0"}}`
 * I don’t remember it doing that a year ago. Anyway, you can see for your self.
   feel free to put “test” in the first field and leave the rest blank if you test
   it.
 * [http://www.gameindustry.com/awesome-surveys/2015-game-year-nominations/](http://www.gameindustry.com/awesome-surveys/2015-game-year-nominations/)
 * Thank you,
    Greg Crowe
 * [https://wordpress.org/plugins/awesome-surveys/](https://wordpress.org/plugins/awesome-surveys/)

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

 *  Thread Starter [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052537)
 * I should point out, the above is what it does in Firefox. In IE, it tries to 
   download a file called “admin-ajax.json”, which I have never heard of. We didn’t
   risk downloading it.
 *  Plugin Author [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052746)
 * It would appear that there are some file permission issues – as a non logged 
   in user, the ajax request when submitting the survey results in a 403: [http://cld.wthms.co/10aox/4HoNZp25](http://cld.wthms.co/10aox/4HoNZp25)
 * The plugin uses the wp_json_send family of functions which sets the content type
   headers appropriately, so the fact that you are seeing json and/or the browser
   is trying to download json indicates that something is mangling the headers –
   possibly a server configuration thing, possibly another plugin. What conflict
   troubleshooting steps have you taken?
 *  Thread Starter [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052768)
 * Well, I haven’t tried anything, since it worked fine this time last year, and
   I didn’t recall installing any new plugins since then. I certainly haven’t changed
   any WP settings, but it is possible that an update may have on it’s own.
 * I’m not sure what you mean by “non-logged-in user.” Our site is open, and no 
   one logs in to view it.
 *  Thread Starter [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052769)
 * While I had the “inspect” on, I noticed this error on the page where the survey
   is loaded. Is this significant?
 * [http://www.gameindustry.com/working%20images/gin-survey-error.png](http://www.gameindustry.com/working%20images/gin-survey-error.png)
 *  Plugin Author [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052770)
 * Yes, that is significant.
 * Awesome Surveys includes and enqueues the jQuery validation library for validation
   of form input. For some reason that does not appear to be being loaded. I would
   recommend conflict troubleshooting steps to isolate the cause for that. Temporarily
   switch back to a default WordPress theme such as WordPress [Twenty Sixteen Theme](
   [https://wordpress.org/themes/twentysixteen](https://wordpress.org/themes/twentysixteen))
   and disable all plugins except for Awesome Surveys (this includes any plugins
   in “Must-use” or “Drop-ins” if they exist). If that resolves the issue, then 
   slowly re-enable features until you find the one that’s causing the conflict.
 *  Thread Starter [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052771)
 * Okay, I will have to wait until late tonight to do that, since I don’t have a
   testing site. I’ll let you know how it goes.
 *  [Tanveer](https://wordpress.org/support/users/tanver/)
 * (@tanver)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052773)
 * Interestingly I am seeing this error on a Blog where I am using Twenty Sixteen
   theme. This is what exactly I see on my blog
    {“success”:true,”data”:{“thank_you”:”
   Thank you for completing this survey”,”url”:””,”urltimeout”:”0″}}
 * I don’t see any error on the page though when having inspected this page.
 * I was about to report this in the thread BUT then I came across this and hence
   am reporting it here.
 *  Thread Starter [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * (@gregcrowe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052779)
 * Well, I had a chance to go through all of my plugins, and although I couldn’t
   point out a clear culprit, it appears that our advertisement handler (Ad Rotate)
   was in the mix. Since we couldn’t afford to get rid of that (or have down time
   from it while I found a replacement), I decided to find a survey plugin that 
   didn’t have a conflict with any of my other plugins.
 * Thank you for your efforts.

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

The topic ‘Stuck on admin-ajax.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-surveys_f9f9f9.svg)
 * [Awesome Surveys](https://wordpress.org/plugins/awesome-surveys/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-surveys/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-surveys/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-surveys/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-surveys/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-surveys/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [gregcrowe](https://wordpress.org/support/users/gregcrowe/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/stuck-on-admin-ajaxphp/#post-7052779)
 * Status: resolved