• Resolved goldkey266

    (@goldkey266)


    I have a strange problem that I am trying to figure out for 3 days. I tried searching the forums, google and couldn’t find anything.

    The file admin-ajax.php is returning responses with extra html, specifically the tags <html><body> are wrapped around the response which is breaking the page. Those tags aren’t normally there with the response.

    If you go to Posts and do a Quick Edit and Update on a post, check the response returned by admin-ajax.php using Firebug or Developer tools

    The normal response should be wrapped with <tr>.....</tr> in my case it is wrapped with <html><body><tr>.......</tr></body></html>

    I disabled all plugins, installed wordpress from scratch with no plugins using the default theme with no luck. This leads me to believe there is some wrong server configuration but I can not figure out ??

    H E L P !!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter goldkey266

    (@goldkey266)

    I am at a complete loss at this point, I tried doing the following and I get the same problem in all cases:

    CentOS 6.5 Server running Apache and WordPress 3.8.1 (this is the original server) – Problem exists
    CentOS 5.10 default installation running Apache and WordPress 3.8.1 – Problem exists
    Ubuntu 12.04 LT LAMP default installation Worpdress 3.8.1 – Problem exists
    Ubuntu 12.04 LT LAMP default installation Worpdress 3.6.1 – Problem exists

    I tried multiple browsers (Chrome, Safari, Firefox) – Still no luck!

    Thread Starter goldkey266

    (@goldkey266)

    Problem solved!!!!!!

    There was a setting on our Web Application Firewall that forced HTML rewrite that messed up the JSON return values

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘admin-ajax.php adding html tags to response’ is closed to new replies.