PHP error: 2
Message: fsockopen(): unable to connect to localhost:9312 (Cannot assign requested address)
File: /var/www/html/Lib/Extension/Sphinx.php
Line: 580

PHP debug backtrace:
Array
(
    [0] => Array
        (
            [function] => Skavtnet\error_handler
            [args] => Array
                (
                    [0] => 2
                    [1] => fsockopen(): unable to connect to localhost:9312 (Cannot assign requested address)
                    [2] => /var/www/html/Lib/Extension/Sphinx.php
                    [3] => 580
                    [4] => Array
                        (
                            [errno] => 0
                            [errstr] => 
                            [host] => localhost
                            [port] => 9312
                        )

                )

        )

    [1] => Array
        (
            [file] => /var/www/html/Lib/Extension/Sphinx.php
            [line] => 580
            [function] => fsockopen
            [args] => Array
                (
                    [0] => localhost
                    [1] => 9312
                    [2] => 0
                    [3] => 
                )

        )

    [2] => Array
        (
            [file] => /var/www/html/Lib/Extension/Sphinx.php
            [line] => 1100
            [function] => _Connect
            [class] => Skavtnet\Extension_Sphinx
            [object] => Skavtnet\Extension_Sphinx Object
                (
                    [_host] => localhost
                    [_port] => 9312
                    [_offset] => 520
                    [_limit] => 20
                    [_mode] => 1
                    [_weights] => Array
                        (
                        )

                    [_sort] => 3
                    [_sortby] => published
                    [_min_id] => 0
                    [_max_id] => 0
                    [_filters] => Array
                        (
                        )

                    [_groupby] => 
                    [_groupfunc] => 0
                    [_groupsort] => @group desc
                    [_groupdistinct] => 
                    [_maxmatches] => 1000
                    [_cutoff] => 0
                    [_retrycount] => 0
                    [_retrydelay] => 0
                    [_anchor] => Array
                        (
                        )

                    [_indexweights] => Array
                        (
                        )

                    [_ranker] => 0
                    [_maxquerytime] => 0
                    [_fieldweights] => Array
                        (
                            [title] => 70
                            [tags] => 100
                            [excerpt] => 50
                            [content] => 20
                        )

                    [_overrides] => Array
                        (
                        )

                    [_select] => *
                    [_error] => 
                    [_warning] => 
                    [_connerror] => 
                    [_reqs] => Array
                        (
                            [0] => 	publishedočistimo slovenijoskavtnet@group desctitleFtagsdexcerpt2content*
                        )

                    [_mbenc] => 
                    [_arrayresult] => 
                    [_timeout] => 0
                    [_path] => 
                    [_socket] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [3] => Array
        (
            [file] => /var/www/html/Lib/Extension/Sphinx.php
            [line] => 952
            [function] => RunQueries
            [class] => Skavtnet\Extension_Sphinx
            [object] => Skavtnet\Extension_Sphinx Object
                (
                    [_host] => localhost
                    [_port] => 9312
                    [_offset] => 520
                    [_limit] => 20
                    [_mode] => 1
                    [_weights] => Array
                        (
                        )

                    [_sort] => 3
                    [_sortby] => published
                    [_min_id] => 0
                    [_max_id] => 0
                    [_filters] => Array
                        (
                        )

                    [_groupby] => 
                    [_groupfunc] => 0
                    [_groupsort] => @group desc
                    [_groupdistinct] => 
                    [_maxmatches] => 1000
                    [_cutoff] => 0
                    [_retrycount] => 0
                    [_retrydelay] => 0
                    [_anchor] => Array
                        (
                        )

                    [_indexweights] => Array
                        (
                        )

                    [_ranker] => 0
                    [_maxquerytime] => 0
                    [_fieldweights] => Array
                        (
                            [title] => 70
                            [tags] => 100
                            [excerpt] => 50
                            [content] => 20
                        )

                    [_overrides] => Array
                        (
                        )

                    [_select] => *
                    [_error] => 
                    [_warning] => 
                    [_connerror] => 
                    [_reqs] => Array
                        (
                            [0] => 	publishedočistimo slovenijoskavtnet@group desctitleFtagsdexcerpt2content*
                        )

                    [_mbenc] => 
                    [_arrayresult] => 
                    [_timeout] => 0
                    [_path] => 
                    [_socket] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [4] => Array
        (
            [file] => /var/www/html/Lib/Model/ArticleIndexSearch.php
            [line] => 37
            [function] => Query
            [class] => Skavtnet\Extension_Sphinx
            [object] => Skavtnet\Extension_Sphinx Object
                (
                    [_host] => localhost
                    [_port] => 9312
                    [_offset] => 520
                    [_limit] => 20
                    [_mode] => 1
                    [_weights] => Array
                        (
                        )

                    [_sort] => 3
                    [_sortby] => published
                    [_min_id] => 0
                    [_max_id] => 0
                    [_filters] => Array
                        (
                        )

                    [_groupby] => 
                    [_groupfunc] => 0
                    [_groupsort] => @group desc
                    [_groupdistinct] => 
                    [_maxmatches] => 1000
                    [_cutoff] => 0
                    [_retrycount] => 0
                    [_retrydelay] => 0
                    [_anchor] => Array
                        (
                        )

                    [_indexweights] => Array
                        (
                        )

                    [_ranker] => 0
                    [_maxquerytime] => 0
                    [_fieldweights] => Array
                        (
                            [title] => 70
                            [tags] => 100
                            [excerpt] => 50
                            [content] => 20
                        )

                    [_overrides] => Array
                        (
                        )

                    [_select] => *
                    [_error] => 
                    [_warning] => 
                    [_connerror] => 
                    [_reqs] => Array
                        (
                            [0] => 	publishedočistimo slovenijoskavtnet@group desctitleFtagsdexcerpt2content*
                        )

                    [_mbenc] => 
                    [_arrayresult] => 
                    [_timeout] => 0
                    [_path] => 
                    [_socket] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => očistimo slovenijo
                    [1] => skavtnet
                )

        )

    [5] => Array
        (
            [file] => /var/www/html/Lib/Controller/Search.php
            [line] => 79
            [function] => search
            [class] => Skavtnet\Model_ArticleIndexSearch
            [object] => Skavtnet\Model_ArticleIndexSearch Object
                (
                    [_collectionName:protected] => Article
                    [_baseClass:protected] => Skavtnet\Controller_Article
                    [limit:protected] => 20
                    [offset:protected] => 520
                    [keywords:protected] => očistimo slovenijo
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [6] => Array
        (
            [file] => /var/www/html/Lib/Controller/Search.php
            [line] => 32
            [function] => sendToRouter
            [class] => Skavtnet\Controller_Search
            [object] => Skavtnet\Controller_Search Object
                (
                    [_modelName:protected] => Skavtnet\Model_Article
                    [_id:protected] => /iskanje/k:očistimo slovenijo/offset:520
                    [_idType:protected] => url
                    [_addWrapper:protected] => 1
                    [_model:Skavtnet\Core_Controller:private] => 
                    [_exceptions] => Array
                        (
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [URI] => /iskanje/k:očistimo slovenijo/offset:520
                            [segments] => Array
                                (
                                    [iskanje] => 
                                    [k] => očistimo slovenijo
                                    [offset] => 520
                                )

                        )

                )

        )

    [7] => Array
        (
            [file] => /var/www/html/Lib/Core/Event.php
            [line] => 42
            [function] => respondToEvent
            [class] => Skavtnet\Controller_Search
            [type] => ::
            [args] => Array
                (
                    [0] => 1
                    [1] => Array
                        (
                            [URI] => /iskanje/k:očistimo slovenijo/offset:520
                            [segments] => Array
                                (
                                    [iskanje] => 
                                    [k] => očistimo slovenijo
                                    [offset] => 520
                                )

                        )

                )

        )

    [8] => Array
        (
            [file] => /var/www/html/Lib/Core/Router.php
            [line] => 30
            [function] => eventRegister
            [class] => Skavtnet\Core_Event
            [type] => ::
            [args] => Array
                (
                    [0] => 1
                    [1] => Array
                        (
                            [URI] => /iskanje/k:očistimo slovenijo/offset:520
                            [segments] => Array
                                (
                                    [iskanje] => 
                                    [k] => očistimo slovenijo
                                    [offset] => 520
                                )

                        )

                )

        )

    [9] => Array
        (
            [file] => /var/www/html/Public/index.php
            [line] => 15
            [function] => requestStackCommit
            [class] => Skavtnet\Core_Router
            [type] => ::
            [args] => Array
                (
                )

        )

)


URL: /iskanje/k:o%C4%8Distimo%20slovenijo/offset:520

REFERER: [none]