Exceção Desconhecida » Principais Dados

Mensagem SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query. Failing Query: "SELECT SUM(uniques) as visitas FROM contador WHERE date = '2025-04-27'"
Arquivo /var/www/html/livrariaindependenciarn.com.br/library/Doctrine/Connecti
on.php
Linha 1082
Data Mon, 28 Apr 2025 11:22:22 -0300
URL http://livrariaindependenciarn.com.br/var/www/html/livrariaindependenciarn.com.br/web/scripts/site/config.js?rand=796975
URL de Referência NULL
Método Solicitado GET
Sistema Operacional unknown
Navegador Default Browser
 

Exceção Desconhecida » Variáveis

$_SESSION
Array
(
)
$_FILES
Array
(
)
 

Exceção Desconhecida » Rastreamento

Arquivo /var/www/html/livrariaindependenciarn.com.br/library/Doctrine/Connecti
on.php
Linha 1025
Classe Doctrine_Connection
Método/Função rethrowException
Argumento(s)
Array
(
    [0] => PDOException Object
        (
            [message:protected] => SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query
            [string:private] => 
            [code:protected] => HY000
            [file:protected] => /var/www/html/livrariaindependenciarn.com.br/library/Doctrine/Connection.php
            [line:protected] => 1015
            [trace:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/library/Doctrine/Connection.php
                            [line] => 1015
                            [function] => query
                            [class] => PDO
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => SELECT SUM(uniques) as visitas FROM contador WHERE date = '2025-04-27'
                                )

                        )

                    [1] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/application/Controller/indexController.php
                            [line] => 264
                            [function] => execute
                            [class] => Doctrine_Connection
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => SELECT SUM(uniques) as visitas FROM contador WHERE date = '2025-04-27'
                                )

                        )

                    [2] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/application/Controller/indexController.php
                            [line] => 28
                            [function] => contador
                            [class] => indexController
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [3] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/library/controller/abstract.php
                            [line] => 66
                            [function] => init
                            [class] => indexController
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [4] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/library/router.php
                            [line] => 26
                            [function] => load
                            [class] => controller_abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [params] => Array
                                                (
                                                    [0] => scripts
                                                    [1] => site
                                                    [2] => config.js
                                                )

                                            [script_path] => scripts/
                                            [address] => 
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/bootstrap.php
                            [line] => 75
                            [function] => load
                            [class] => router
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [6] => Array
                        (
                            [file] => /var/www/html/livrariaindependenciarn.com.br/web/index.php
                            [line] => 4
                            [args] => Array
                                (
                                    [0] => /var/www/html/livrariaindependenciarn.com.br/bootstrap.php
                                )

                            [function] => include
                        )

                )

            [errorInfo] => Array
                (
                    [0] => HY000
                    [1] => 2013
                    [2] => Lost connection to MySQL server during query
                )

        )

    [1] => Doctrine_Connection_Mysql Object
        (
            [driverName:protected] => Mysql
            [dbh:protected] => PDO Object
                (
                )

            [tables:protected] => Array
                (
                )

            [_name:protected] => Doctrine
            [isConnected:protected] => 1
            [supported:protected] => Array
                (
                    [sequences] => emulated
                    [indexes] => 1
                    [affected_rows] => 1
                    [transactions] => 1
                    [savepoints] => 
                    [summary_functions] => 1
                    [order_by_text] => 1
                    [current_id] => emulated
                    [limit_queries] => 1
                    [LOBs] => 1
                    [replace] => 1
                    [sub_selects] => 1
                    [auto_increment] => 1
                    [primary_key] => 1
                    [result_introspection] => 1
                    [prepared_statements] => emulated
                    [identifier_quoting] => 1
                    [pattern_escaping] => 1
                )

            [pendingAttributes:protected] => Array
                (
                    [16] => mysql
                    [8] => 0
                    [3] => 2
                )

            [modules:private] => Array
                (
                    [transaction] => 
                    [expression] => 
                    [dataDict] => 
                    [export] => 
                    [import] => 
                    [sequence] => 
                    [unitOfWork] => 
                    [formatter] => 
                    [util] => 
                )

            [properties:protected] => Array
                (
                    [sql_comments] => Array
                        (
                            [0] => Array
                                (
                                    [start] => -- 
                                    [end] => 

                                    [escape] => 
                                )

                            [1] => Array
                                (
                                    [start] => #
                                    [end] => 

                                    [escape] => 
                                )

                            [2] => Array
                                (
                                    [start] => /*
                                    [end] => */
                                    [escape] => 
                                )

                        )

                    [identifier_quoting] => Array
                        (
                            [start] => `
                            [end] => `
                            [escape] => `
                        )

                    [string_quoting] => Array
                        (
                            [start] => '
                            [end] => '
                            [escape] => \
                            [escape_pattern] => \
                        )

                    [wildcards] => Array
                        (
                            [0] => %
                            [1] => _
                        )

                    [varchar_max_length] => 255
                    [sql_file_delimiter] => ;

                    [max_identifier_length] => 64
                )

            [serverInfo:protected] => Array
                (
                )

            [options:protected] => Array
                (
                    [dsn] => mysql:host=livrariain4.mysql.uhserver.com;dbname=livrariain4
                    [username] => livrariain4
                    [password] => M@st3r12
                    [other] => Array
                        (
                        )

                )

            [_count:protected] => 1
            [_usedNames:protected] => Array
                (
                    [foreign_keys] => Array
                        (
                        )

                    [indexes] => Array
                        (
                        )

                )

            [attributes:protected] => Array
                (
                    [112] => INNODB
                )

            [parent:protected] => Doctrine_Manager Object
                (
                    [_connections:protected] => Array
                        (
                            [Doctrine] => Doctrine_Connection_Mysql Object
 *RECURSION*
                        )

                    [_bound:protected] => Array
                        (
                        )

                    [_index:protected] => 0
                    [_currIndex:protected] => Doctrine
                    [_queryRegistry:protected] => 
                    [_validators:protected] => Array
                        (
                        )

                    [_hydrators:protected] => Array
                        (
                            [3] => Doctrine_Hydrator_ArrayDriver
                            [2] => Doctrine_Hydrator_RecordDriver
                            [4] => Doctrine_Hydrator_NoneDriver
                            [5] => Doctrine_Hydrator_ScalarDriver
                            [6] => Doctrine_Hydrator_SingleScalarDriver
                            [7] => Doctrine_Hydrator_RecordDriver
                            [8] => Doctrine_Hydrator_ArrayHierarchyDriver
                            [9] => Doctrine_Hydrator_RecordHierarchyDriver
                        )

                    [_connectionDrivers:protected] => Array
                        (
                            [db2] => Doctrine_Connection_Db2
                            [mysql] => Doctrine_Connection_Mysql
                            [mysqli] => Doctrine_Connection_Mysql
                            [sqlite] => Doctrine_Connection_Sqlite
                            [pgsql] => Doctrine_Connection_Pgsql
                            [oci] => Doctrine_Connection_Oracle
                            [oci8] => Doctrine_Connection_Oracle
                            [oracle] => Doctrine_Connection_Oracle
                            [mssql] => Doctrine_Connection_Mssql
                            [dblib] => Doctrine_Connection_Mssql
                            [odbc] => Doctrine_Connection_Mssql
                            [mock] => Doctrine_Connection_Mock
                        )

                    [_extensions:protected] => Array
                        (
                        )

                    [_loadedValidatorsFromDisk:protected] => 
                    [_initialized:private] => 1
                    [attributes:protected] => Array
                        (
                            [168] => utf8_unicode_ci
                            [167] => utf8
                            [107] => 7
                            [140] => 7
                            [165] => 1
                            [161] => 2
                            [150] => 
                            [157] => 
                            [153] => 1
                            [100] => Doctrine_EventListener Object
                                (
                                )

                            [154] => Doctrine_Record_Listener Object
                                (
                                    [_options:protected] => Array
                                        (
                                            [disabled] => 
                                        )

                                )

                            [155] => 1
                            [109] => 2
                            [103] => %s_idx
                            [104] => %s_seq
                            [120] => %s
                            [171] => %s
                            [101] => 
                            [105] => id
                            [106] => 0
                            [141] => 2
                            [156] => doctrine
                            [160] => 
                            [164] => 
                            [166] => 
                            [169] => Array
                                (
                                )

                            [170] => Array
                                (
                                )

                            [172] => 1
                            [173] => Doctrine_Query
                            [175] => Doctrine_Collection
                            [176] => Doctrine_Table
                            [174] => 1
                        )

                    [parent:protected] => 
                    [_impl:protected] => Array
                        (
                        )

                    [_params:protected] => Array
                        (
                        )

                    [_locator:protected] => 
                    [_resources:protected] => Array
                        (
                        )

                )

            [_impl:protected] => Array
                (
                )

            [_params:protected] => Array
                (
                )

            [_locator:protected] => 
            [_resources:protected] => Array
                (
                )

        )

    [2] => SELECT SUM(uniques) as visitas FROM contador WHERE date = '2025-04-27'
)
Arquivo /var/www/html/livrariaindependenciarn.com.br/application/Controller/in
dexController.php
Linha 264
Classe Doctrine_Connection
Método/Função execute
Argumento(s)
Array
(
    [0] => SELECT SUM(uniques) as visitas FROM contador WHERE date = '2025-04-27'
)
Arquivo /var/www/html/livrariaindependenciarn.com.br/application/Controller/in
dexController.php
Linha 28
Classe indexController
Método/Função contador
Arquivo /var/www/html/livrariaindependenciarn.com.br/library/controller/abstra
ct.php
Linha 66
Classe indexController
Método/Função init
Arquivo /var/www/html/livrariaindependenciarn.com.br/library/router.php
Linha 26
Classe controller_abstract
Método/Função load
Argumento(s)
Array
(
    [0] => Array
        (
            [params] => Array
                (
                    [0] => scripts
                    [1] => site
                    [2] => config.js
                )

            [script_path] => scripts/
            [address] => 
        )

)
Arquivo /var/www/html/livrariaindependenciarn.com.br/bootstrap.php
Linha 75
Classe router
Método/Função load
Arquivo /var/www/html/livrariaindependenciarn.com.br/web/index.php
Linha 4
Método/Função include
Argumento(s)
Array
(
    [0] => /var/www/html/livrariaindependenciarn.com.br/bootstrap.php
)