Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ in /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php on line 60
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => 
                    [isErrors] => 
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 76
                    [3] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 76
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => 
                    [isErrors] => 
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 76
                    [2] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => 
                            [isErrors] => 
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => 
                                    [isErrors] => 
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                    [1] => 1
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 174
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => 
                            [isErrors] => 
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => 
                                    [isErrors] => 
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 8
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 98
            [function] => __getComments
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => 
                                    [isErrors] => 
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => 
                                            [isErrors] => 
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => 
                                    [isErrors] => 
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => 
                                            [isErrors] => 
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [7] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [9] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => [isErrors] => [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 77
                    [3] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 77
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 77
                    [2] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                    [1] => 1
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 174
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 8
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 98
            [function] => __getComments
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 8
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [7] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [9] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 8 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ in /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php on line 60
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 76
                    [3] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 76
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 76
                    [2] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 152
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 9
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 120
            [function] => __getMsgDate
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 99
            [function] => __getNextMsg
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [7] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [9] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [10] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 77
                    [3] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 77
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 77
                    [2] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 152
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 9
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 120
            [function] => __getMsgDate
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 99
            [function] => __getNextMsg
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 9
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [7] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [9] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [10] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 9 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )

Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ in /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php on line 60
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 76
                    [3] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 76
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 76
                    [2] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 125
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 10
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [1] => 
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 99
            [function] => __getNextMsg
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [7] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [9] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 77
                    [3] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 77
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 77
                    [2] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                    [4] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 125
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                    [4] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 10
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                    [1] => 
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 99
            [function] => __getNextMsg
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                    [4] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                    [4] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 10
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [7] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [9] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 10 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ in /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php on line 60
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                            [5] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 76
                    [3] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 76
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                            [5] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 76
                    [2] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                    [4] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                        )

                                    [5] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [Result] => 
                    [Parent] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                            [5] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
 *RECURSION*
                            [queryCount] => 11
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 152
            [function] => Select
            [class] => SQL
            [object] => SQL Object
                (
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )

                                    [2] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                        )

                                    [3] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                        )

                                    [4] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                        )

                                    [5] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                        )

                                )

                            [isErrors] => 1
                            [Config] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                        )

                    [DB] => pgsql Object
                        (
                            [DB_Conn] => Resource id #8
                            [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                            [5] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [Result] => 
                            [Parent] => SQL Object
 *RECURSION*
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER_PGSQL
                        )

                    [queryCount] => 11
                    [lastTable] => 
                    [__SELF] => VHOY_DB_DRIVER
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [1] => 
                )

        )

    [4] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 135
            [function] => __getMsgDate
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                            [5] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                    [4] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                        )

                                                    [5] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 11
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [5] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/blog.class.php
            [line] => 100
            [function] => __getLastMsg
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                            [5] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                    [4] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                        )

                                                    [5] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 11
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [6] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/plugins/blog/cm_plugin.php
            [line] => 29
            [function] => getBlogData
            [class] => Blog
            [object] => Blog Object
                (
                    [DB] => SQL Object
                        (
                            [Config] => Array
                                (
                                    [user] => tsmry
                                    [password] => xc5u4qlhac
                                    [host] => localhost
                                    [database] => tsmry
                                    [type] => pgsql
                                    [port] => 5432
                                    [table_prefix] => cm
                                )

                            [Error] => Error Object
                                (
                                    [Errors] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                )

                                            [1] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                )

                                            [2] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                )

                                            [3] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                )

                                            [4] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 76
                                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                )

                                            [5] => Array
                                                (
                                                    [TIME] => 30.08.2015 12:51:15
                                                    [TYPE] => db
                                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                    [LINE] => 77
                                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                )

                                        )

                                    [isErrors] => 1
                                    [Config] => Array
                                        (
                                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                        )

                                )

                            [DB] => pgsql Object
                                (
                                    [DB_Conn] => Resource id #8
                                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                                    [Config] => Array
                                        (
                                            [user] => tsmry
                                            [password] => xc5u4qlhac
                                            [host] => localhost
                                            [database] => tsmry
                                            [type] => pgsql
                                            [port] => 5432
                                            [table_prefix] => cm
                                        )

                                    [Error] => Error Object
                                        (
                                            [Errors] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                                        )

                                                    [1] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                                        )

                                                    [2] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                                        )

                                                    [3] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                        )

                                                    [4] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 76
                                                            [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                                        )

                                                    [5] => Array
                                                        (
                                                            [TIME] => 30.08.2015 12:51:15
                                                            [TYPE] => db
                                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                                            [LINE] => 77
                                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                                        )

                                                )

                                            [isErrors] => 1
                                            [Config] => Array
                                                (
                                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                                )

                                        )

                                    [Result] => 
                                    [Parent] => SQL Object
 *RECURSION*
                                    [lastTable] => 
                                    [__SELF] => VHOY_DB_DRIVER_PGSQL
                                )

                            [queryCount] => 11
                            [lastTable] => 
                            [__SELF] => VHOY_DB_DRIVER
                        )

                    [Config] => 
                    [T_msg] => cmp_blog_msg
                    [T_comments] => cmp_blog_comments
                    [T_tags] => cmp_blog_tags
                    [T_msg_tag_ref] => cmp_blog_msg_tag_ref
                    [URLParserActions] => Array
                        (
                            [arkisto] => Archive
                            [sivu] => PageNro
                            [viesti] => MessageID
                            [kategoria] => Category
                        )

                    [pageNotFound] => 
                    [URL] => viesti/27
                    [pageNro] => 1
                    [msgsPerPage] => 10
                    [msgID] => 27
                    [singleMessage] => 1
                    [msgDate] => 
                    [categoryView] => 
                    [MonthName] => Array
                        (
                            [tammikuu] => 1
                            [helmikuu] => 2
                            [maaliskuu] => 3
                            [huhtikuu] => 4
                            [toukokuu] => 5
                            [kesakuu] => 6
                            [heinakuu] => 7
                            [elokuu] => 8
                            [syyskuu] => 9
                            [lokakuu] => 10
                            [marraskuu] => 11
                            [joulukuu] => 12
                            [tammi] => 1
                            [helmi] => 2
                            [maalis] => 3
                            [huhti] => 4
                            [touko] => 5
                            [kesa] => 6
                            [heina] => 7
                            [elo] => 8
                            [syys] => 9
                            [loka] => 10
                            [marras] => 11
                            [joulu] => 12
                        )

                    [msgCategory] => 
                    [baseDIR] => /fi/blog
                )

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

        )

    [7] => Array
        (
            [function] => cmpout_blog_main
            [args] => Array
                (
                )

        )

    [8] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/PluginHandler.class.php
            [line] => 64
            [function] => call_user_func
            [args] => Array
                (
                    [0] => cmpout_blog_main
                )

        )

    [9] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Pages.class.php
            [line] => 163
            [function] => getPluginData
            [class] => PluginHandler
            [object] => PluginHandler Object
                (
                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                    [Config] => Config Object
                        (
                            [Mysql] => 
                            [Path] => Array
                                (
                                    [siteBaseURL] => http://tsmry.palvelintila.fi/
                                    [homeDir] => /var/www/uusi.tsmry.fi/
                                    [includeDir] => /var/www/uusi.tsmry.fi/include/
                                    [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/
                                    [templateDir] => /var/www/uusi.tsmry.fi/include/templates/
                                    [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/
                                    [files] => /var/www/uusi.tsmry.fi/files/
                                    [cache] => /var/www/uusi.tsmry.fi/.cache/
                                    [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/
                                    [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/
                                )

                            [Misc] => 
                            [DefaultPage] => Array
                                (
                                    [1] => 1
                                )

                            [AdminDefaultPage] => default
                            [error] => Array
                                (
                                    [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                                    [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                                )

                            [user] => Array
                                (
                                    [default_language] => 1
                                    [frontpage] => 1
                                )

                            [__SELF] => VHOY_CM_CONFIG
                            [DB] => 
                            [PageVariable] => ?page=
                            [Languages] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 1
                                            [language] => Suomi
                                            [countrycode] => fi
                                            [localname] => Suomi
                                            [frontpage] => 1
                                        )

                                )

                            [Features] => Array
                                (
                                    [dLayoutImages] => 
                                )

                            [Layout] => Array
                                (
                                    [defaultTmplVar] => oikea_palsta
                                    [defaultTemplate] => 1
                                    [siteName] => tsmry
                                )

                            [users] => Array
                                (
                                    [pagename] => tsmry
                                    [allow_add] => 1
                                )

                            [CMS] => stdClass Object
                                (
                                    [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [type] => -> [args] => Array ( [0] => blog [1] => main [2] => ) ) [10] => Array ( [file] => /data/var/www/uusi.tsmry.fi/htdocs/index.php [line] => 67 [function] => generatePage [class] => Pages [object] => Pages Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 11 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [URIHandler] => URIHandler Object ( [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [URI] => blog/viesti/27 [Language] => 1 [Path] => [arrLanguages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [defaultLanguage] => 1 [pluginParams] => viesti/27 [baseURL] => blog [__SELF] => VHOY_CM_URIHANDLER ) [Txt] => Texts Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 11 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Parser] => Parser Object ( [arrTagList] => Array ( [text] => teksti [img] => kuva [width] => leveys [include] => include [alt] => alt [left] => vasen [right] => oikea [frame] => kehys [thumb] => thumb ) [arrDebugMsgs] => [parent] => Texts Object *RECURSION* [__SELF] => VHOY_CM_PARSER [Images] => Images Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 11 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Files] => Files Object ( [DB] => SQL Object ( [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [DB] => pgsql Object ( [DB_Conn] => Resource id #8 [Query] => SELECT date_added FROM cmp_blog_msg WHERE id= [Config] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [Result] => [Parent] => SQL Object *RECURSION* [lastTable] => [__SELF] => VHOY_DB_DRIVER_PGSQL ) [queryCount] => 11 [lastTable] => [__SELF] => VHOY_DB_DRIVER ) [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [Error] => Error Object ( [Errors] => Array ( [0] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at or near "ORDER" LINE 4: ORDER BY date_added ASC ^ ) [1] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_comments WHERE msg_id= ORDER BY date_added ASC ) [2] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: syntax error at end of input LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id= ^ ) [3] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id= ) [4] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 76 [MSG] => Error in select query: ERROR: invalid input syntax for type timestamp: "" LINE 2: FROM cmp_blog_msg WHERE date_added > '' ^ ) [5] => Array ( [TIME] => 30.08.2015 12:51:15 [TYPE] => db [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php [LINE] => 77 [MSG] => Viallinen kysely: SELECT *, date_added AS date FROM cmp_blog_msg WHERE date_added > '' ORDER BY date_added ASC LIMIT 1 ) ) [isErrors] => 1 [Config] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) ) [T_Files] => cm_files [T_FileGroups] => cm_file_group [filesPath] => /var/www/uusi.tsmry.fi/files/ [lastId] => [lastFileName] => [__SELF] => VHOY_CM_FILES ) [__SELF] => VHOY_CM_IMAGES [Cache] => /var/www/uusi.tsmry.fi/.cache/ [thumb] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [large] => /var/www/uusi.tsmry.fi/.cache/large/ ) [adminMode] => [textId] => ) [lastTextId] => [T_Text] => cm_page_text [T_TextGroups] => cm_page_text_group [T_TextPageRef] => cm_page_text_ref [__SELF] => VHOY_CM_TEXTS [arrTextDBkeys] => Array ( [0] => title [1] => text [2] => group_id ) ) [Template] => [Menu] => [Plugins] => PluginHandler Object ( [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [Config] => Config Object ( [Mysql] => [Path] => Array ( [siteBaseURL] => http://tsmry.palvelintila.fi/ [homeDir] => /var/www/uusi.tsmry.fi/ [includeDir] => /var/www/uusi.tsmry.fi/include/ [pagesDir] => /var/www/uusi.tsmry.fi/include/pages/ [templateDir] => /var/www/uusi.tsmry.fi/include/templates/ [pluginDir] => /var/www/uusi.tsmry.fi/include/plugins/ [files] => /var/www/uusi.tsmry.fi/files/ [cache] => /var/www/uusi.tsmry.fi/.cache/ [thumbCache] => /var/www/uusi.tsmry.fi/.cache/thumbnails/ [largeCache] => /var/www/uusi.tsmry.fi/.cache/large/ ) [Misc] => [DefaultPage] => Array ( [1] => 1 ) [AdminDefaultPage] => default [error] => Array ( [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta ) [user] => Array ( [default_language] => 1 [frontpage] => 1 ) [__SELF] => VHOY_CM_CONFIG [DB] => [PageVariable] => ?page= [Languages] => Array ( [0] => Array ( [id] => 1 [language] => Suomi [countrycode] => fi [localname] => Suomi [frontpage] => 1 ) ) [Features] => Array ( [dLayoutImages] => ) [Layout] => Array ( [defaultTmplVar] => oikea_palsta [defaultTemplate] => 1 [siteName] => tsmry ) [users] => Array ( [pagename] => tsmry [allow_add] => 1 ) [CMS] => stdClass Object ( [version] => v1.00.001
daily build ) [defaultLanguage] => 1 [db] => Array ( [user] => tsmry [password] => xc5u4qlhac [host] => localhost [database] => tsmry [type] => pgsql [port] => 5432 [table_prefix] => cm ) [db_c] => Array ( [user] => jjdev [password] => jjdev [host] => localhost [database] => cms_central [type] => pgsql [port] => 5432 [table_prefix] => central ) [central] => Array ( [adminmode] => [major_ver] => 1 ) ) [loadedPlugins] => Array ( [0] => blog ) [activePlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) [allPlugins] => Array ( [blog] => Array ( [active] => 1 [name] => Blogi [adminPage] => blog [adminMenu] => Blogin hallinta [visible] => 1 ) [forum] => Array ( [active] => 1 [name] => Keskustelupalsta [adminPage] => forum [adminMenu] => Keskustelupalstan hallinta [visible] => 1 ) [gallery] => Array ( [active] => 1 [name] => Galleria [adminPage] => gallery [adminMenu] => Kuvagalleria [visible] => 1 ) [news] => Array ( [active] => 1 [name] => Uutiset [adminPage] => news [adminMenu] => Uutiset [visible] => 1 ) ) ) [templateData] => [template] => [templateVars] => [pageData] => [T_pages] => cm_pages [T_templates] => cm_templates [T_url_aliases] => cm_page_url_aliases [T_image_ref] => cm_page_images_ref [T_text_ref] => cm_page_text_ref [PageID] => 5 [langID] => 1 [adminMode] => [__SELF] => VHOY_CM_PAGES [pageTextData] => Array ( [0] => Array ( [page_id] => 5 [template_variable] => tekstit [text_id] => [plugin] => blog [function] => main [user_lock] => 0 [plugin_options] => [modified] => ) ) [pageTextIds] => Array ( ) ) [type] => -> [args] => Array ( ) ) )
Array
(
    [0] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/Error.class.php
            [line] => 54
            [function] => _raiseError
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                            [5] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                )

                            [6] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:16
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => db
                    [1] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [2] => 77
                    [3] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                )

        )

    [1] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
            [line] => 77
            [function] => RaiseDB
            [class] => Error
            [object] => Error Object
                (
                    [Errors] => Array
                        (
                            [0] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                )

                            [1] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                )

                            [2] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                            [3] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                                )

                            [4] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  invalid input syntax for type timestamp: ""
LINE 2:     FROM cmp_blog_msg WHERE date_added > '' 
                                                 ^
                                )

                            [5] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:15
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 77
                                    [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_msg WHERE date_added > '' 
				ORDER BY date_added ASC LIMIT 1
                                )

                            [6] => Array
                                (
                                    [TIME] => 30.08.2015 12:51:16
                                    [TYPE] => db
                                    [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                    [LINE] => 76
                                    [MSG] => Error in select query: ERROR:  syntax error at end of input
LINE 1: SELECT date_added FROM cmp_blog_msg WHERE id=
                                                     ^
                                )

                        )

                    [isErrors] => 1
                    [Config] => Array
                        (
                            [logfile] => /var/www/uusi.tsmry.fi/tmp/error.log
                            [fatalMsg] => fataali virhe! koitappa uusiks joku toinen kerta
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                    [1] => 77
                    [2] => Viallinen kysely: SELECT date_added FROM cmp_blog_msg WHERE id=
                )

        )

    [2] => Array
        (
            [file] => /data/var/www/uusi.tsmry.fi/include/DB/sql.class.php
            [line] => 61
            [function] => Select
            [class] => pgsql
            [object] => pgsql Object
                (
                    [DB_Conn] => Resource id #8
                    [Query] => SELECT date_added FROM cmp_blog_msg WHERE id=
                    [Config] => Array
                        (
                            [user] => tsmry
                            [password] => xc5u4qlhac
                            [host] => localhost
                            [database] => tsmry
                            [type] => pgsql
                            [port] => 5432
                            [table_prefix] => cm
                        )

                    [Error] => Error Object
                        (
                            [Errors] => Array
                                (
                                    [0] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 76
                                            [MSG] => Error in select query: ERROR:  syntax error at or near "ORDER"
LINE 4:     ORDER BY date_added ASC
            ^
                                        )

                                    [1] => Array
                                        (
                                            [TIME] => 30.08.2015 12:51:15
                                            [TYPE] => db
                                            [FILE] => /data/var/www/uusi.tsmry.fi/include/DB/pgsql.class.php
                                            [LINE] => 77
                                            [MSG] => Viallinen kysely: SELECT *, date_added AS date 
				FROM cmp_blog_comments 
				WHERE msg_id= 
				ORDER BY date_added ASC
                                        )