WordPress.org

Ready to get started?Download WordPress

Forums

Olimometer
[resolved] PayPal debug info filling up Apache web server error log (3 posts)

  1. sneader
    Member
    Posted 7 months ago #

    Every time someone visits our website where we have the Olimometer displayed, the web server's Apache Error Log fills up with about 40+ lines of debug, related to establishing a secure connection to PayPal.

    In doing some research, I stumbled upon this article: http://stackoverflow.com/questions/5345270/headers-are-showing-up-in-apache-error-log-curl-and-paypal/

    The error logs shown on that page are exactly what the web server's logs are showing. The answer on that page is to change verbosity of CURL to 0.

    So, by editing /plugins/olimometer/olimometer-class.php and changing:

    curl_setopt($ch, CURLOPT_VERBOSE,1);
    to
    curl_setopt($ch, CURLOPT_VERBOSE,0);

    It has solved the problem. I hope this helps someone and perhaps you will consider changing the plugin to fix this (or explain why it needs this verbosity)

    Thanks,

    - Scott

    http://wordpress.org/plugins/olimometer/

  2. oshingler
    Member
    Plugin Author

    Posted 7 months ago #

    Thanks Scott - that had been left on by accident after testing. I've made the change and v2.50 should be available within the next few seconds...

  3. sneader
    Member
    Posted 7 months ago #

    Amazing support! Thank you!!

    - Scott

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.