Error in exception
StorageException Object
(
    [message:protected] => Unable to connect to MySQL database: Connection refused
    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /www/htdocs/w011039b/common4/persistence/Storage.php5
    [line:protected] => 178
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                    [line] => 199
                    [function] => error
                    [class] => Connection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Unable to connect to MySQL database
                            [1] => Connection refused
                            [2] => 2002
                        )

                )

            [1] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                    [line] => 121
                    [function] => error
                    [class] => MySQLConnection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Unable to connect to MySQL database
                            [1] => Connection refused
                            [2] => 2002
                        )

                )

            [2] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                    [line] => 152
                    [function] => doOpen
                    [class] => MySQLConnection
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                    [line] => 106
                    [function] => open
                    [class] => Connection
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/SQLStorage.php5
                    [line] => 112
                    [function] => __construct
                    [class] => Connection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => MySQLStorage Object
                                (
                                    [charset:protected] => utf8
                                    [collation:protected] => utf8_unicode_ci
                                    [host:protected] => localhost
                                    [username:protected] => d026e956
                                    [password:protected] => sZXf5FsShF8f3NWS
                                    [name:protected] => d026e956
                                    [storePrefix:protected] => vonmatt_
                                )

                            [1] => 
                        )

                )

            [5] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                    [line] => 78
                    [function] => __construct
                    [class] => SQLConnection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => MySQLStorage Object
                                (
                                    [charset:protected] => utf8
                                    [collation:protected] => utf8_unicode_ci
                                    [host:protected] => localhost
                                    [username:protected] => d026e956
                                    [password:protected] => sZXf5FsShF8f3NWS
                                    [name:protected] => d026e956
                                    [storePrefix:protected] => vonmatt_
                                )

                            [1] => 
                            [2] => _id
                        )

                )

            [6] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                    [line] => 43
                    [function] => __construct
                    [class] => MySQLConnection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => MySQLStorage Object
                                (
                                    [charset:protected] => utf8
                                    [collation:protected] => utf8_unicode_ci
                                    [host:protected] => localhost
                                    [username:protected] => d026e956
                                    [password:protected] => sZXf5FsShF8f3NWS
                                    [name:protected] => d026e956
                                    [storePrefix:protected] => vonmatt_
                                )

                            [1] => 
                        )

                )

            [7] => Array
                (
                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/Webshop.php5
                    [line] => 158
                    [function] => createConnection
                    [class] => MySQLStorage
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/OrderManager.php5
                    [line] => 207
                    [function] => getDBConnection
                    [class] => Webshop
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /www/htdocs/w011039b/shops/vonmatt/project/Page.php5
                    [line] => 260
                    [function] => getDiscount
                    [class] => OrderManager
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/page/AbstractPage.php5
                    [line] => 99
                    [function] => buildCustomHead
                    [class] => Page
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/Webshop.php5
                    [line] => 204
                    [function] => buildHead
                    [class] => AbstractPage
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /www/htdocs/w011039b/common4/page/Application.php5
                    [line] => 87
                    [function] => buildErrorPage
                    [class] => Webshop
                    [type] => ->
                    [args] => Array
                        (
                            [0] => StorageException Object
                                (
                                    [message:protected] => Unable to connect to MySQL database: Connection refused
                                    [string:Exception:private] => 
                                    [code:protected] => 2002
                                    [file:protected] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                    [line:protected] => 178
                                    [trace:Exception:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 199
                                                    [function] => error
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [1] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 121
                                                    [function] => error
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [2] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 152
                                                    [function] => doOpen
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [3] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 106
                                                    [function] => open
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [4] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/SQLStorage.php5
                                                    [line] => 112
                                                    [function] => __construct
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [5] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 78
                                                    [function] => __construct
                                                    [class] => SQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                            [2] => _id
                                                        )

                                                )

                                            [6] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 43
                                                    [function] => __construct
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [7] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/Webshop.php5
                                                    [line] => 158
                                                    [function] => createConnection
                                                    [class] => MySQLStorage
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [8] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 278
                                                    [function] => getDBConnection
                                                    [class] => Webshop
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [9] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 117
                                                    [function] => searchPoolEntries
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => keywords
                                                            [1] => Array
                                                                (
                                                                    [0] => 490
                                                                )

                                                        )

                                                )

                                            [10] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/page/Application.php5
                                                    [line] => 73
                                                    [function] => processRequest
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [11] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/list.php5
                                                    [line] => 22
                                                    [function] => processRequest
                                                    [class] => Application
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [previous:Exception:private] => 
                                )

                        )

                )

            [13] => Array
                (
                    [file] => /www/htdocs/w011039b/shops/vonmatt/project/Project.php5
                    [line] => 209
                    [function] => handleException
                    [class] => Application
                    [type] => ->
                    [args] => Array
                        (
                            [0] => StorageException Object
                                (
                                    [message:protected] => Unable to connect to MySQL database: Connection refused
                                    [string:Exception:private] => 
                                    [code:protected] => 2002
                                    [file:protected] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                    [line:protected] => 178
                                    [trace:Exception:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 199
                                                    [function] => error
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [1] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 121
                                                    [function] => error
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [2] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 152
                                                    [function] => doOpen
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [3] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 106
                                                    [function] => open
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [4] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/SQLStorage.php5
                                                    [line] => 112
                                                    [function] => __construct
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [5] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 78
                                                    [function] => __construct
                                                    [class] => SQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                            [2] => _id
                                                        )

                                                )

                                            [6] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 43
                                                    [function] => __construct
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [7] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/Webshop.php5
                                                    [line] => 158
                                                    [function] => createConnection
                                                    [class] => MySQLStorage
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [8] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 278
                                                    [function] => getDBConnection
                                                    [class] => Webshop
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [9] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 117
                                                    [function] => searchPoolEntries
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => keywords
                                                            [1] => Array
                                                                (
                                                                    [0] => 490
                                                                )

                                                        )

                                                )

                                            [10] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/page/Application.php5
                                                    [line] => 73
                                                    [function] => processRequest
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [11] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/list.php5
                                                    [line] => 22
                                                    [function] => processRequest
                                                    [class] => Application
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [previous:Exception:private] => 
                                )

                        )

                )

            [14] => Array
                (
                    [function] => commonExceptionHandler
                    [args] => Array
                        (
                            [0] => StorageException Object
                                (
                                    [message:protected] => Unable to connect to MySQL database: Connection refused
                                    [string:Exception:private] => 
                                    [code:protected] => 2002
                                    [file:protected] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                    [line:protected] => 178
                                    [trace:Exception:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 199
                                                    [function] => error
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [1] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 121
                                                    [function] => error
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => Unable to connect to MySQL database
                                                            [1] => Connection refused
                                                            [2] => 2002
                                                        )

                                                )

                                            [2] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 152
                                                    [function] => doOpen
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [3] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/Storage.php5
                                                    [line] => 106
                                                    [function] => open
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [4] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/SQLStorage.php5
                                                    [line] => 112
                                                    [function] => __construct
                                                    [class] => Connection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [5] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 78
                                                    [function] => __construct
                                                    [class] => SQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                            [2] => _id
                                                        )

                                                )

                                            [6] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/persistence/MySQLStorage.php5
                                                    [line] => 43
                                                    [function] => __construct
                                                    [class] => MySQLConnection
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => MySQLStorage Object
                                                                (
                                                                    [charset:protected] => utf8
                                                                    [collation:protected] => utf8_unicode_ci
                                                                    [host:protected] => localhost
                                                                    [username:protected] => d026e956
                                                                    [password:protected] => sZXf5FsShF8f3NWS
                                                                    [name:protected] => d026e956
                                                                    [storePrefix:protected] => vonmatt_
                                                                )

                                                            [1] => 
                                                        )

                                                )

                                            [7] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/Webshop.php5
                                                    [line] => 158
                                                    [function] => createConnection
                                                    [class] => MySQLStorage
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [8] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 278
                                                    [function] => getDBConnection
                                                    [class] => Webshop
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [9] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/logic/SearchManager.php5
                                                    [line] => 117
                                                    [function] => searchPoolEntries
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                            [0] => keywords
                                                            [1] => Array
                                                                (
                                                                    [0] => 490
                                                                )

                                                        )

                                                )

                                            [10] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/common4/page/Application.php5
                                                    [line] => 73
                                                    [function] => processRequest
                                                    [class] => SearchManager
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                            [11] => Array
                                                (
                                                    [file] => /www/htdocs/w011039b/shops/vonmatt/list.php5
                                                    [line] => 22
                                                    [function] => processRequest
                                                    [class] => Application
                                                    [type] => ->
                                                    [args] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [previous:Exception:private] => 
                                )

                        )

                )

        )

    [previous:Exception:private] => 
)