PDOException Object
(
    [message:protected] => PDOException: SQLSTATE[08004] [1040] Too many connections
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Caching/Database.php
    [line:protected] => 241
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Caching/Database.php
                    [line] => 124
                    [function] => _connect
                    [class] => IDS_Caching_Database
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Caching/Database.php
                    [line] => 140
                    [function] => __construct
                    [class] => IDS_Caching_Database
                    [type] => ->
                    [args] => Array
                        (
                            [0] => storage
                            [1] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                        )

                )

            [2] => Array
                (
                    [function] => getInstance
                    [class] => IDS_Caching_Database
                    [type] => ::
                    [args] => Array
                        (
                            [0] => storage
                            [1] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Caching/Factory.php
                    [line] => 80
                    [function] => call_user_func
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => IDS_Caching_Database
                                    [1] => getInstance
                                )

                            [1] => storage
                            [2] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Filter/Storage.php
                    [line] => 106
                    [function] => factory
                    [class] => IDS_Caching
                    [type] => ::
                    [args] => Array
                        (
                            [0] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                            [1] => storage
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/services/ids/includes/IDS/Monitor.php
                    [line] => 189
                    [function] => __construct
                    [class] => IDS_Filter_Storage
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/api/firewall.php
                    [line] => 496
                    [function] => __construct
                    [class] => IDS_Monitor
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [REQUEST] => Array
                                        (
                                            [html/services/979-ماژول-تقویم-رویدادها-پورتال_html] => 
                                            [name] => cdk
                                            [module] => cdk
                                            [func] => loadmodule
                                            [system] => cdk
                                            [sismodule] => user/content_view.php
                                            [sisOp] => view
                                            [ctp_id] => 60
                                            [cnt_id] => 979
                                            [id] => 91
                                        )

                                )

                            [1] => IDS_Init Object
                                (
                                    [config] => Array
                                        (
                                            [General] => Array
                                                (
                                                    [filter_type] => xml
                                                    [base_path] => /var/www/saman_portals/newsis-eg/html/api/../services/ids/includes/IDS/
                                                    [use_base_path] => 1
                                                    [filter_path] => ../../../../parameters/sis-eg/modules/ids/default_filter.xml
                                                    [tmp_path] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [scan_keys] => 
                                                    [HTML_Purifier_Path] => vendors/htmlpurifier/HTMLPurifier.auto.php
                                                    [HTML_Purifier_Cache] => ../../../../parameters/sis-eg/modules/ids/tmp
                                                    [exceptions] => Array
                                                        (
                                                            [0] => REQUEST.sisRecord.0.contentViewURL
                                                            [1] => REQUEST.image_path
                                                            [2] => REQUEST.m_file_path
                                                            [3] => REQUEST.m_file_old
                                                            [4] => REQUEST.domains_data
                                                            [5] => REQUEST.bodytext
                                                            [6] => REQUEST.hometext
                                                            [7] => REQUEST.ServerPath
                                                            [8] => REQUEST.returnPath
                                                            [9] => REQUEST._magic_quotes_gpc_test
                                                            [10] => REQUEST.web_directories_data
                                                            [11] => REQUEST.sisRecord.0.en_description
                                                        )

                                                    [min_php_version] => 5.1.6
                                                    [html] => 
                                                )

                                            [Logging] => Array
                                                (
                                                    [path] => tmp/phpids_log.txt
                                                    [recipients] => Array
                                                        (
                                                            [0] => test@test.com.invalid
                                                        )

                                                    [subject] => PHPIDS detected an intrusion attempt!
                                                    [header] => From:  info@php-ids.org
                                                    [envelope] => 
                                                    [safemode] => 1
                                                    [urlencode] => 1
                                                    [user_pass_encode] => 1
                                                    [allowed_rate] => 15
                                                    [wrapper] => mysql:host=192.168.0.57;port=3306;dbname=enterprise_db
                                                    [user] => cm9vdA==
                                                    [password] => YWRtaW4=
                                                    [table] => saman_ids_intrusions
                                                )

                                            [Caching] => Array
                                                (
                                                    [caching] => database
                                                    [expiration_time] => 600
                                                    [path] => tmp/default_filter.cache
                                                    [wrapper] => mysql:host=localhost;port=3306;dbname=siseg_db
                                                    [user_pass_encode] => 0
                                                    [user] => sxs_iin
                                                    [password] => nfcrSFS#@09LK
                                                    [table] => saman_ids_cache
                                                )

                                        )

                                    [configPath:IDS_Init:private] => /var/www/saman_portals/newsis-eg/html/api/../parameters/sis-eg/modules/ids/config.ini.php
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/api/firewall.php
                    [line] => 203
                    [function] => runIDS
                    [args] => Array
                        (
                            [0] => 1
                            [1] => ids
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/api/core.php
                    [line] => 419
                    [function] => pnSecureInput
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/saman_portals/newsis-eg/html/index.php
                    [line] => 12
                    [function] => pnInit
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => 
)