Host 'webserver19.fc.ul.pt' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' Warning: mysql_set_charset(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/httpd/ce3c/public_html/_vo/config.php on line 162 Warning: mysql_set_charset(): A link to the server could not be established in /home/httpd/ce3c/public_html/_vo/config.php on line 162 Warning: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/httpd/ce3c/public_html/_vo/varsForm.php on line 71 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/httpd/ce3c/public_html/_vo/varsForm.php on line 71 Warning: extract() expects parameter 1 to be array, boolean given in /home/httpd/ce3c/public_html/training/ver.php on line 28 Notice: Undefined variable: foto in /home/httpd/ce3c/public_html/training/ver.php on line 30 Notice: Undefined variable: foto in /home/httpd/ce3c/public_html/training/ver.php on line 31 Notice: Undefined variable: data in /home/httpd/ce3c/public_html/training/ver.php on line 32 Notice: Undefined variable: data_fim in /home/httpd/ce3c/public_html/training/ver.php on line 33 Notice: Undefined variable: data_inscricao in /home/httpd/ce3c/public_html/training/ver.php on line 39 Notice: Undefined variable: id_categoria in /home/httpd/ce3c/public_html/training/ver.php on line 41

Excepção lançada

Trace simples:

Profundidade: 0
Ficheiro: /home/httpd/ce3c/public_html/training/ver.php
Linha: 42
Função: funcsBDAuxExecutarSql

Profundidade: 1
Ficheiro: /home/httpd/ce3c/public_html/training/ver.php
Linha: 16
Função: verTraining


Mensagem:
Erro sql: SELECT * FROM training_categorias WHERE aprovado=1 AND id=
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Trace completo:


Array
(
    [0] => Array
        (
            [file] => /home/httpd/ce3c/public_html/training/ver.php
            [line] => 42
            [function] => funcsBDAuxExecutarSql
            [args] => Array
                (
                    [0] => SELECT * FROM training_categorias WHERE aprovado=1 AND id=
                )

        )

    [1] => Array
        (
            [file] => /home/httpd/ce3c/public_html/training/ver.php
            [line] => 16
            [function] => verTraining
            [args] => Array
                (
                )

        )

)