object(mysqli_sql_exception)#20 (8) {
  ["message":protected]=>
  string(18) "Connection refused"
  ["string":"Exception":private]=>
  string(0) ""
  ["file":protected]=>
  string(90) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/Drivers/Mysqli/Connection.php"
  ["line":protected]=>
  int(67)
  ["trace":"Exception":private]=>
  array(13) {
    [0]=>
    array(6) {
      ["file"]=>
      string(90) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/Drivers/Mysqli/Connection.php"
      ["line"]=>
      int(67)
      ["function"]=>
      string(12) "real_connect"
      ["class"]=>
      string(6) "mysqli"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(6) {
        [0]=>
        string(9) "127.0.0.1"
        [1]=>
        string(0) ""
        [2]=>
        string(0) ""
        [3]=>
        string(0) ""
        [4]=>
        int(9306)
        [5]=>
        string(0) ""
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(90) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/Drivers/Mysqli/Connection.php"
      ["line"]=>
      int(104)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(40) "Foolz\SphinxQL\Drivers\Mysqli\Connection"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(90) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/Drivers/Mysqli/Connection.php"
      ["line"]=>
      int(179)
      ["function"]=>
      string(16) "ensureConnection"
      ["class"]=>
      string(40) "Foolz\SphinxQL\Drivers\Mysqli\Connection"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(73) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/SphinxQL.php"
      ["line"]=>
      int(467)
      ["function"]=>
      string(6) "escape"
      ["class"]=>
      string(40) "Foolz\SphinxQL\Drivers\Mysqli\Connection"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(47) "(@(regione,comune,sigla_provincia) ="morbegno")"
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(73) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/SphinxQL.php"
      ["line"]=>
      int(559)
      ["function"]=>
      string(12) "compileMatch"
      ["class"]=>
      string(23) "Foolz\SphinxQL\SphinxQL"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(73) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/SphinxQL.php"
      ["line"]=>
      int(399)
      ["function"]=>
      string(13) "compileSelect"
      ["class"]=>
      string(23) "Foolz\SphinxQL\SphinxQL"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(69) "/var/www/virtualhosts/overplace.com/libraries/SphinxManager.class.php"
      ["line"]=>
      int(384)
      ["function"]=>
      string(7) "compile"
      ["class"]=>
      string(23) "Foolz\SphinxQL\SphinxQL"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php"
      ["line"]=>
      int(1124)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(13) "SphinxManager"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &object(Foolz\SphinxQL\SphinxQL)#11 (24) {
          ["connection":protected]=>
          object(Foolz\SphinxQL\Drivers\Mysqli\Connection)#16 (4) {
            ["internal_encoding":protected]=>
            NULL
            ["silence_connection_warning":protected]=>
            bool(false)
            ["connection_params":protected]=>
            array(3) {
              ["host"]=>
              string(9) "127.0.0.1"
              ["port"]=>
              string(4) "9306"
              ["socket"]=>
              NULL
            }
            ["connection":protected]=>
            NULL
          }
          ["last_result":protected]=>
          NULL
          ["last_compiled":protected]=>
          NULL
          ["type":protected]=>
          string(6) "select"
          ["query":protected]=>
          NULL
          ["select":protected]=>
          array(23) {
            [0]=>
            string(9) "id_scheda"
            [1]=>
            string(6) "titolo"
            [2]=>
            string(9) "url_alias"
            [3]=>
            string(11) "descrizione"
            [4]=>
            string(9) "indirizzo"
            [5]=>
            string(3) "cap"
            [6]=>
            string(6) "comune"
            [7]=>
            string(7) "regione"
            [8]=>
            string(9) "cat_fixed"
            [9]=>
            string(9) "provincia"
            [10]=>
            string(9) "categorie"
            [11]=>
            string(26) "telefono as telefono_fisso"
            [12]=>
            string(5) "links"
            [13]=>
            string(15) "sigla_provincia"
            [14]=>
            string(11) "riferimenti"
            [15]=>
            string(26) "nr_voti as numero_commenti"
            [16]=>
            string(6) "moduli"
            [17]=>
            string(19) "wifi as wifi_attivo"
            [18]=>
            string(10) "latitudine"
            [19]=>
            string(11) "longitudine"
            [20]=>
            string(37) "somma_voti/nr_voti as rating_commenti"
            [21]=>
            string(8) "immagine"
            [22]=>
            string(89) "WEIGHT()*IF(id_tipologia_stato_scheda = 1 OR id_tipologia_stato_scheda = 3, 5, 1) AS rank"
          }
          ["from":protected]=>
          array(1) {
            [0]=>
            string(7) "ricerca"
          }
          ["where":protected]=>
          array(0) {
          }
          ["match":protected]=>
          array(1) {
            [0]=>
            array(3) {
              ["column"]=>
              array(3) {
                [0]=>
                string(7) "regione"
                [1]=>
                string(6) "comune"
                [2]=>
                string(15) "sigla_provincia"
              }
              ["value"]=>
              object(Foolz\SphinxQL\Expression)#4 (1) {
                ["string":protected]=>
                string(11) "="morbegno""
              }
              ["half"]=>
              bool(false)
            }
          }
          ["group_by":protected]=>
          array(0) {
          }
          ["within_group_order_by":protected]=>
          array(0) {
          }
          ["having":protected]=>
          array(0) {
          }
          ["order_by":protected]=>
          array(1) {
            [0]=>
            array(2) {
              ["column"]=>
              string(4) "rank"
              ["direction"]=>
              string(4) "DESC"
            }
          }
          ["offset":protected]=>
          int(0)
          ["limit":protected]=>
          int(20)
          ["into":protected]=>
          NULL
          ["columns":protected]=>
          array(0) {
          }
          ["values":protected]=>
          array(0) {
          }
          ["set":protected]=>
          array(0) {
          }
          ["options":protected]=>
          array(3) {
            [0]=>
            array(2) {
              ["name"]=>
              string(6) "ranker"
              ["value"]=>
              object(Foolz\SphinxQL\Expression)#10 (1) {
                ["string":protected]=>
                string(345) "expr('2 * ( sum( ( 4 * lcs + 2 * ( min_hit_pos == 1 ) + exact_hit ) * user_weight ) * 1000 + bm25 ) - sum( lcs + exact_hit + exact_order + word_count / ( tf_idf * hit_count ) ) * top( user_weight * user_weight ) + sum( exact_hit + exact_order + word_count / hit_count ) * top( user_weight ) + bm25 + max_lcs + doc_word_count / query_word_count')"
              }
            }
            [1]=>
            array(2) {
              ["name"]=>
              string(11) "max_matches"
              ["value"]=>
              int(1000)
            }
            [2]=>
            array(2) {
              ["name"]=>
              string(13) "field_weights"
              ["value"]=>
              array(4) {
                ["indirizzo"]=>
                int(60)
                ["comune"]=>
                int(5)
                ["provincia"]=>
                int(1)
                ["regione"]=>
                int(3)
              }
            }
          }
          ["facets":protected]=>
          array(0) {
          }
          ["queue_prev":protected]=>
          NULL
          ["escape_full_chars":protected]=>
          array(15) {
            ["\"]=>
            string(2) "\\"
            ["("]=>
            string(2) "\("
            [")"]=>
            string(2) "\)"
            ["|"]=>
            string(2) "\|"
            ["-"]=>
            string(2) "\-"
            ["!"]=>
            string(2) "\!"
            ["@"]=>
            string(2) "\@"
            ["~"]=>
            string(2) "\~"
            ["""]=>
            string(2) "\""
            ["&"]=>
            string(2) "\&"
            ["/"]=>
            string(2) "\/"
            ["^"]=>
            string(2) "\^"
            ["$"]=>
            string(2) "\$"
            ["="]=>
            string(2) "\="
            ["<"]=>
            string(2) "\<"
          }
          ["escape_half_chars":protected]=>
          array(12) {
            ["\"]=>
            string(2) "\\"
            ["("]=>
            string(2) "\("
            [")"]=>
            string(2) "\)"
            ["!"]=>
            string(2) "\!"
            ["@"]=>
            string(2) "\@"
            ["~"]=>
            string(2) "\~"
            ["&"]=>
            string(2) "\&"
            ["/"]=>
            string(2) "\/"
            ["^"]=>
            string(2) "\^"
            ["$"]=>
            string(2) "\$"
            ["="]=>
            string(2) "\="
            ["<"]=>
            string(2) "\<"
          }
        }
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(66) "/var/www/virtualhosts/overplace.com/libraries/ricerca.abstract.php"
      ["line"]=>
      int(401)
      ["function"]=>
      string(13) "execute_query"
      ["class"]=>
      string(14) "ricerca_schede"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [9]=>
    array(6) {
      ["file"]=>
      string(66) "/var/www/virtualhosts/overplace.com/libraries/ricerca.abstract.php"
      ["line"]=>
      int(298)
      ["function"]=>
      string(4) "init"
      ["class"]=>
      string(7) "ricerca"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [10]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php"
      ["line"]=>
      int(844)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(7) "ricerca"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &array(0) {
        }
      }
    }
    [11]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php"
      ["line"]=>
      int(149)
      ["function"]=>
      string(17) "ricerca_bootstrap"
      ["class"]=>
      string(14) "ricerca_schede"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &array(0) {
        }
      }
    }
    [12]=>
    array(6) {
      ["file"]=>
      string(56) "/var/www/virtualhosts/overplace.com/site_new/ricerca.php"
      ["line"]=>
      int(11)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(14) "ricerca_schede"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["code":protected]=>
  int(2002)
  ["sqlstate":protected]=>
  string(5) "HY000"
}