EXCEPTION

ErrorException Object
(
    [message:protected] => mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/komunica/public_html/import/db.php
    [line:protected] => 32
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => error_handler
                    [args] => Array
                        (
                            [0] => 2
                            [1] => mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
                            [2] => /home/komunica/public_html/import/db.php
                            [3] => 32
                            [4] => Array
                                (
                                    [_GET] => Array
                                        (
                                        )

                                    [_POST] => Array
                                        (
                                        )

                                    [_COOKIE] => Array
                                        (
                                        )

                                    [_FILES] => Array
                                        (
                                        )

                                    [_SERVER] => Array
                                        (
                                            [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
                                            [PWD] => /usr/local/cpanel/cgi-sys
                                            [SHLVL] => 0
                                            [HTTP_CONNECTION] => close
                                            [SCRIPT_NAME] => /index.php
                                            [REQUEST_URI] => /
                                            [QUERY_STRING] => 
                                            [REQUEST_METHOD] => GET
                                            [SERVER_PROTOCOL] => HTTP/1.0
                                            [GATEWAY_INTERFACE] => CGI/1.1
                                            [REMOTE_PORT] => 43502
                                            [SCRIPT_FILENAME] => /home/komunica/public_html/index.php
                                            [SERVER_ADMIN] => webmaster@komunica.ch
                                            [CONTEXT_DOCUMENT_ROOT] => /home/komunica/public_html
                                            [CONTEXT_PREFIX] => 
                                            [REQUEST_SCHEME] => http
                                            [DOCUMENT_ROOT] => /home/komunica/public_html
                                            [REMOTE_ADDR] => 54.145.55.135
                                            [SERVER_PORT] => 80
                                            [SERVER_ADDR] => 194.209.228.154
                                            [SERVER_NAME] => komunica.ch
                                            [SERVER_SOFTWARE] => Apache
                                            [SERVER_SIGNATURE] => 
                                            [LD_LIBRARY_PATH] => /usr/local/apache/lib
                                            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                                            [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
                                            [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
                                            [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
                                            [HTTP_HOST] => komunica.ch
                                            [UNIQUE_ID] => V@oAaMLR5JoADc6JcRQAAAAF
                                            [FCGI_ROLE] => RESPONDER
                                            [PHP_SELF] => /index.php
                                            [REQUEST_TIME_FLOAT] => 1474953320.2509
                                            [REQUEST_TIME] => 1474953320
                                            [argv] => Array
                                                (
                                                )

                                            [argc] => 0
                                        )

                                    [_REQUEST] => Array
                                        (
                                        )

                                    [_ENV] => Array
                                        (
                                            [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
                                            [PWD] => /usr/local/cpanel/cgi-sys
                                            [SHLVL] => 0
                                            [HTTP_CONNECTION] => close
                                            [SCRIPT_NAME] => /index.php
                                            [REQUEST_URI] => /
                                            [QUERY_STRING] => 
                                            [REQUEST_METHOD] => GET
                                            [SERVER_PROTOCOL] => HTTP/1.0
                                            [GATEWAY_INTERFACE] => CGI/1.1
                                            [REMOTE_PORT] => 43502
                                            [SCRIPT_FILENAME] => /home/komunica/public_html/index.php
                                            [SERVER_ADMIN] => webmaster@komunica.ch
                                            [CONTEXT_DOCUMENT_ROOT] => /home/komunica/public_html
                                            [CONTEXT_PREFIX] => 
                                            [REQUEST_SCHEME] => http
                                            [DOCUMENT_ROOT] => /home/komunica/public_html
                                            [REMOTE_ADDR] => 54.145.55.135
                                            [SERVER_PORT] => 80
                                            [SERVER_ADDR] => 194.209.228.154
                                            [SERVER_NAME] => komunica.ch
                                            [SERVER_SOFTWARE] => Apache
                                            [SERVER_SIGNATURE] => 
                                            [LD_LIBRARY_PATH] => /usr/local/apache/lib
                                            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                                            [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
                                            [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
                                            [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
                                            [HTTP_HOST] => komunica.ch
                                            [UNIQUE_ID] => V@oAaMLR5JoADc6JcRQAAAAF
                                            [FCGI_ROLE] => RESPONDER
                                            [PHP_SELF] => /index.php
                                            [REQUEST_TIME_FLOAT] => 1474953320.2509
                                            [REQUEST_TIME] => 1474953320
                                            [argv] => Array
                                                (
                                                )

                                            [argc] => 0
                                        )

                                    [GLOBALS] => Array
 *RECURSION*
                                    [owner] => Komunica SA
                                    [owner_indirizzo] => Viale C. Stoppa, 10
                                    [owner_tel] => +41 91 225 77 43
                                    [owner_piva] => 
                                    [owner_codfisc] => 
                                    [owner_CAP] => 6830
                                    [owner_comune] => Chiasso
                                    [owner_provincia] => CH
                                    [owner_fax] => 
                                    [owner_capsoc] => 
                                    [owner_cciaa] => 
                                    [nomesito] => komunica
                                    [tld] => ch
                                    [owner_email] => info@komunica.ch
                                    [cfg_registrazione] => 0
                                    [cfg_registrazione_privati] => 0
                                    [cfg_registrazione_aziende] => 0
                                    [cfg_newsletter] => 0
                                    [email_registrazione] => info@komunica.ch
                                    [email_noreply] => noreply@komunica.ch
                                    [cfg_necessaria_approvazione_admin] => 0
                                    [cfg_conferma_registrazione_utente] => 0
                                    [owner_sede_legale] => Viale C. Stoppa, 10 - 6830 Chiasso (CH)
                                    [cfg_posizionamento] => 1
                                    [cfg_codicipromo_attivi] => 0
                                    [email_gestione_ordini] => info@komunica.ch
                                    [cfg_correlati_attiva] => 0
                                    [cfg_prodottiacquistatidaaltri_attiva] => 0
                                    [cfg_aggiungi_carrello] => 0
                                    [cfg_wishlist_attiva] => 0
                                    [cfg_visualizza_iva] => 0
                                    [cfg_visualizza_prezzo] => 0
                                    [numero_decimali_default] => 2
                                    [cfg_busservice] => 0
                                    [cfg_mailup_listGuid] => 00a9f85e-7d1b-4ca6-baec-c590e4810d83
                                    [cfg_mailup_list] => 67
                                    [cfg_mailup] => 1
                                    [cfg_exportBS_solo_con_ordini] => 0
                                    [cfg_syncBS_istantanea] => 0
                                    [cfg_idListninoGenerico] => 1
                                    [cfg_serverPathBS] => -
                                    [cfg_imgPathBS] => 
                                    [cfg_mostraRisultati] => 0
                                    [cfg_ip_err_all] => 93.62.211.234,192.168.1.64
                                    [cfg_operatore_multisocieta] => 0
                                    [cfg_max_ordine] => 0
                                    [cfg_serverPathBS_2] => 
                                    [cfg_visualizza_prodotti] => 0
                                    [cfg_sync_in_corso] => 0
                                    [cfg_to_reportSync] => support@komunica.ch
                                    [cfg_cc_reportSync] => 
                                    [cfg_SMTP_address] => mail.komunica.ch
                                    [cfg_SMTP_port] => 465
                                    [cfg_SMTP_username] => noreply@komunica.ch
                                    [cfg_SMTP_pwd] => k0m-unika
                                    [cfg_SMTP_from_address] => noreply@komunica.ch
                                    [cfg_SMTP_isAutenticato] => 1
                                    [cfg_email_registrazione] => s.loffredo@komunica.ch
                                    [cfg_ecommerce] => 0
                                    [cfg_mailup_console_id] => 7571
                                    [social_link_facebook] => 
                                    [social_link_twitter] => 
                                    [social_link_youtube] => 
                                    [cfg_SMTP_Secure] => ssl
                                    [dominio] => komunica.ch
                                    [MailFrom] => Komunica SA 
                                    [indirizzosito] => www.komunica.ch
                                    [a_ip_err_all] => Array
                                        (
                                            [0] => 93.62.211.234
                                            [1] => 192.168.1.64
                                        )

                                    [_SESSION] => Array
                                        (
                                        )

                                    [db_host] => localhost
                                    [db_name] => komunica_online
                                    [db_usr] => komunica_online
                                    [db_pwd] => FzLvZJE9aC3tddN7
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/komunica/public_html/import/db.php
                    [line] => 32
                    [function] => mysql_connect
                    [args] => Array
                        (
                            [0] => localhost
                            [1] => komunica_online
                            [2] => FzLvZJE9aC3tddN7
                        )

                )

            [2] => Array
                (
                    [file] => /home/komunica/public_html/index.php
                    [line] => 32
                    [args] => Array
                        (
                            [0] => /home/komunica/public_html/import/db.php
                        )

                    [function] => require
                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 2
)
1
mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
0