Database Error
Message:Could not connect to server: localhost.
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:00 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 75
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => localhost
                    [user] => torgoviycity
                    [pass] => G9y7A1v4
                    [database] => torgoviycity
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Could not connect to server: localhost.
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 23
            [function] => connect
            [class] => Database
            [object] => Database Object
                (
                    [server] => localhost
                    [user] => torgoviycity
                    [pass] => G9y7A1v4
                    [database] => torgoviycity
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                )

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

        )

)
Database Error
Message:Could not open database: torgoviycity.
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:00 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 81
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => localhost
                    [user] => torgoviycity
                    [pass] => G9y7A1v4
                    [database] => torgoviycity
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Could not open database: torgoviycity.
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 23
            [function] => connect
            [class] => Database
            [object] => Database Object
                (
                    [server] => localhost
                    [user] => torgoviycity
                    [pass] => G9y7A1v4
                    [database] => torgoviycity
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                )

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

        )

)
Database Error
Message:MySQL Query fail: SELECT `name`, `value` FROM `site_options` WHERE `lang`='ru';
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:00 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT `name`, `value`
					FROM `site_options`
					WHERE `lang`='ru';
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 102
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `name`, `value`
					FROM `site_options`
					WHERE `lang`='ru';
                )

        )

)
Database Error
Message:MySQL Query fail: SELECT `url` FROM `site_content` WHERE `lang`='ru' AND `url`='main' ORDER BY `pos` ASC, `id` ASC;
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT `url`
					FROM `site_content`
					WHERE `lang`='ru' AND `url`='main'
					ORDER BY `pos` ASC, `id` ASC;
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 210
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `url`
					FROM `site_content`
					WHERE `lang`='ru' AND `url`='main'
					ORDER BY `pos` ASC, `id` ASC;
                )

        )

    [2] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
            [line] => 44
            [function] => query_row
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `url`
					FROM `site_content`
					WHERE `lang`='ru' AND `url`='main'
					ORDER BY `pos` ASC, `id` ASC;
                )

        )

    [3] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 163
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
                )

            [function] => include
        )

)
Database Error
Message:MySQL Query fail: SELECT site_content.`id`, `cat_id`, `type`, site_content.`name`, `menu_name`, `content`, `content_spec`, site_content.`title`, `description`, `keywords`, site_modules.`name` AS `module`, `redirect`, `pic` FROM `site_content` LEFT JOIN `site_modules` USING(`module_id`) WHERE site_content.`url` = '' AND `lang`='ru';
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT site_content.`id`, `cat_id`, `type`, site_content.`name`, `menu_name`, `content`, `content_spec`, site_content.`title`, `description`, `keywords`, site_modules.`name` AS `module`, `redirect`, `pic`
				FROM `site_content`
				LEFT JOIN `site_modules` USING(`module_id`)
				WHERE site_content.`url` = '' AND `lang`='ru';
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 197
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT site_content.`id`, `cat_id`, `type`, site_content.`name`, `menu_name`, `content`, `content_spec`, site_content.`title`, `description`, `keywords`, site_modules.`name` AS `module`, `redirect`, `pic`
				FROM `site_content`
				LEFT JOIN `site_modules` USING(`module_id`)
				WHERE site_content.`url` = '' AND `lang`='ru';
                )

        )

    [2] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
            [line] => 91
            [function] => query_one
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT site_content.`id`, `cat_id`, `type`, site_content.`name`, `menu_name`, `content`, `content_spec`, site_content.`title`, `description`, `keywords`, site_modules.`name` AS `module`, `redirect`, `pic`
				FROM `site_content`
				LEFT JOIN `site_modules` USING(`module_id`)
				WHERE site_content.`url` = '' AND `lang`='ru';
                )

        )

    [3] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 163
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
                )

            [function] => include
        )

)
Database Error
Message:MySQL Query fail: SELECT `id`, `name`, `url` FROM `city_list` WHERE `active`=1 ORDER BY `name` ASC
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT `id`, `name`, `url`
				FROM `city_list`
				WHERE `active`=1
				ORDER BY `name` ASC
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 164
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `id`, `name`, `url`
				FROM `city_list`
				WHERE `active`=1
				ORDER BY `name` ASC
                )

        )

    [2] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
            [line] => 133
            [function] => fetch_all_array
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `id`, `name`, `url`
				FROM `city_list`
				WHERE `active`=1
				ORDER BY `name` ASC
                )

        )

    [3] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 163
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
                )

            [function] => include
        )

)
Database Error
Message:MySQL Query fail: SELECT `id`, `cat_id`, `type`, `url`, `menu_name`, `newwindow` FROM `site_content` WHERE `type`!=0 AND `show_menu`=1 ORDER BY `pos` ASC, `id` ASC
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT `id`, `cat_id`, `type`, `url`, `menu_name`, `newwindow`
				FROM `site_content`
				WHERE `type`!=0 AND `show_menu`=1
				ORDER BY `pos` ASC, `id` ASC
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 164
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `id`, `cat_id`, `type`, `url`, `menu_name`, `newwindow`
				FROM `site_content`
				WHERE `type`!=0 AND `show_menu`=1
				ORDER BY `pos` ASC, `id` ASC
                )

        )

    [2] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/sql.cache.php
            [line] => 158
            [function] => fetch_all_array
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT `id`, `cat_id`, `type`, `url`, `menu_name`, `newwindow`
				FROM `site_content`
				WHERE `type`!=0 AND `show_menu`=1
				ORDER BY `pos` ASC, `id` ASC
                )

        )

    [3] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
            [line] => 196
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/sql.cache.php
                )

            [function] => include_once
        )

    [4] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 163
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
                )

            [function] => include
        )

)
Database Error
Message:MySQL Query fail: SELECT `id`, `subcat`, `name`, `url` FROM `catalog_cats` WHERE `id`!=-1 ORDER BY `pos` ASC, `name` ASC
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 122
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => MySQL Query fail: SELECT
			`id`, `subcat`, `name`, `url`
			FROM `catalog_cats` WHERE `id`!=-1
			ORDER BY `pos` ASC, `name` ASC
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 164
            [function] => query
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT
			`id`, `subcat`, `name`, `url`
			FROM `catalog_cats` WHERE `id`!=-1
			ORDER BY `pos` ASC, `name` ASC
                )

        )

    [2] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/sql.cache.php
            [line] => 188
            [function] => fetch_all_array
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT
			`id`, `subcat`, `name`, `url`
			FROM `catalog_cats` WHERE `id`!=-1
			ORDER BY `pos` ASC, `name` ASC
                )

        )

    [3] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
            [line] => 196
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/sql.cache.php
                )

            [function] => include_once
        )

    [4] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 163
            [args] => Array
                (
                    [0] => /var/www/centr/data/www/torgoviycity.ru/includes/header.inc.php
                )

            [function] => include
        )

)

Каталог товаров и компаний

Например: вакансии

Ошибка

Выбранной страницы не существует
Database Error
Message:Connection close failed.
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date:Wednesday, March 29, 2017 at 7:11:01 AM
Script:
Array
(
    [0] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/includes/classes/Database.class.php
            [line] => 97
            [function] => oops
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                    [log_mode] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Connection close failed.
                )

        )

    [1] => Array
        (
            [file] => /var/www/centr/data/www/torgoviycity.ru/index.php
            [line] => 208
            [function] => close
            [class] => Database
            [object] => Database Object
                (
                    [server] => 
                    [user] => 
                    [pass] => 
                    [database] => 
                    [pre] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [affected_rows] => 0
                    [link_id] => 
                    [query_id] => 0
                    [log_mode] => 
                )

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

        )

)