WordPress.org

Ready to get started?Download WordPress

Forums

Varnish HTTP Purge
[resolved] Comment approval error (varnish response) (3 posts)

  1. Nathan Bird
    Member
    Posted 2 years ago #

    Got a report that after this plugin was installed approving comments from moderation was working spottily and that when leaving a comment it would output an "error message".

    The error message turned out to be the varnish response of "Error 200 purged... guru meditation ..."

    I added, on line 54, curl_setopt($c, CURLOPT_RETURNTRANSFER, true); to try and get curl to throwaway the response instead of piping it to output; this appears to have worked for me.

    http://wordpress.org/extend/plugins/varnish-http-purge/

  2. Jasonheffner
    Member
    Posted 2 years ago #

    This is still an issue when leaving a comment after applying the above change. It will hang and apache will return a 500 error.

  3. Should be fixed in v 2.0

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic