Support » Plugin: Database Sync » Bug: Something may be wrong

  • hello,

    thank you for a great plugin!

    <strike>I found a small bug. dbs_post() function returns the HTTP code (int), for example 200. But in the dbs_post_actions() to test whether the returns string ‘OK’. thus the push throws error ‘Something may be wrong’.</strike>

    patch:
    141: } elseif ($result == ‘OK’) { => } elseif ($result == ‘OK’ || $result == 200) {

    and maybe it would be better to turn on compression curl_setopt($ch, CURLOPT_ENCODING, “gzip”);

    http://wordpress.org/plugins/database-sync/

Viewing 1 replies (of 1 total)
  • Thread Starter Scheema Digital

    (@wrongware)

    sorry, I did not notice that the code does not return, but the result of curl_exec.

    I curl_exec() returns the string “Cheatin ‘uh?”. how fix that?

    WordPress 3.5.2

Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Something may be wrong’ is closed to new replies.