SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "ORDER" LINE 6: ORDER BY b.posizione ^
Array
(
    [0] => Array
        (
            [file] => /usr/share/php/Zend/Db/Statement.php
            [line] => 300
            [function] => _execute
            [class] => Zend_Db_Statement_Pdo
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [1] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Abstract.php
            [line] => 479
            [function] => execute
            [class] => Zend_Db_Statement
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [2] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php
            [line] => 238
            [function] => query
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT b.* ,                       
                       f.path                       
                  FROM portale.contenuti_gallery as b
                  LEFT JOIN netring._tab_file AS f ON b.immagine = f.cod_file        
                  WHERE contenuto = 
                 ORDER BY b.posizione                   
                   
                    [1] => Array
                        (
                        )

                )

        )

    [3] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Abstract.php
            [line] => 736
            [function] => query
            [class] => Zend_Db_Adapter_Pdo_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT b.* ,                       
                       f.path                       
                  FROM portale.contenuti_gallery as b
                  LEFT JOIN netring._tab_file AS f ON b.immagine = f.cod_file        
                  WHERE contenuto = 
                 ORDER BY b.posizione                   
                   
                    [1] => Array
                        (
                        )

                )

        )

    [4] => Array
        (
            [file] => /var/www/camerenicolina.it/wre/library/PagePart/Contenuti.php
            [line] => 73
            [function] => fetchAll
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT b.* ,                       
                       f.path                       
                  FROM portale.contenuti_gallery as b
                  LEFT JOIN netring._tab_file AS f ON b.immagine = f.cod_file        
                  WHERE contenuto = 
                 ORDER BY b.posizione                   
                   
                )

        )

    [5] => Array
        (
            [file] => /var/www/camerenicolina.it/wre/library/PageComposer/PageComposer.php
            [line] => 139
            [function] => requestProcessing
            [class] => Contenuti
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [6] => Array
        (
            [file] => /var/www/camerenicolina.it/wre/library/PageComposer/PageComposer.php
            [line] => 83
            [function] => runPageParts
            [class] => PageComposer
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => Contenuti Object
                                (
                                    [db] => Zend_Db_Adapter_Pdo_Pgsql Object
                                        (
                                            [_pdoType:protected] => pgsql
                                            [_numericDataTypes:protected] => Array
                                                (
                                                    [0] => 0
                                                    [1] => 1
                                                    [2] => 2
                                                    [INTEGER] => 0
                                                    [SERIAL] => 0
                                                    [SMALLINT] => 0
                                                    [BIGINT] => 1
                                                    [BIGSERIAL] => 1
                                                    [DECIMAL] => 2
                                                    [DOUBLE PRECISION] => 2
                                                    [NUMERIC] => 2
                                                    [REAL] => 2
                                                )

                                            [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                            [_config:protected] => Array
                                                (
                                                    [host] => 127.0.0.1
                                                    [dbname] => camerenicolinadb2018
                                                    [username] => nr_admin
                                                    [password] => ciFIll2etK2g5e8b6WFe
                                                    [port] => 5432
                                                    [charset] => 
                                                    [persistent] => 
                                                    [options] => Array
                                                        (
                                                            [caseFolding] => 0
                                                            [autoQuoteIdentifiers] => 1
                                                            [fetchMode] => 2
                                                        )

                                                    [driver_options] => Array
                                                        (
                                                        )

                                                )

                                            [_fetchMode:protected] => 2
                                            [_profiler:protected] => Zend_Db_Profiler Object
                                                (
                                                    [_queryProfiles:protected] => Array
                                                        (
                                                        )

                                                    [_enabled:protected] => 
                                                    [_filterElapsedSecs:protected] => 
                                                    [_filterTypes:protected] => 
                                                )

                                            [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                            [_connection:protected] => PDO Object
                                                (
                                                )

                                            [_caseFolding:protected] => 0
                                            [_autoQuoteIdentifiers:protected] => 1
                                            [_allowSerialization:protected] => 1
                                            [_autoReconnectOnUnserialize:protected] => 
                                        )

                                    [name] => mainContent
                                    [pageReg:protected] => PageRegistry Object
                                        (
                                            [inPageScope] => Array
                                                (
                                                    [currentPageName] => 
                                                )

                                            [ZSession] => Zend_Session_Namespace Object
                                                (
                                                    [_namespace:protected] => ZScope
                                                )

                                        )

                                    [redirectioURL:protected] => 
                                    [config:protected] => Zend_Config_Xml Object
                                        (
                                            [_skipExtends:protected] => 
                                            [_allowModifications:protected] => 
                                            [_index:protected] => 0
                                            [_count:protected] => 2
                                            [_data:protected] => Array
                                                (
                                                    [arguments] => 
                                                    [templates] => Zend_Config Object
                                                        (
                                                            [_allowModifications:protected] => 
                                                            [_index:protected] => 0
                                                            [_count:protected] => 2
                                                            [_data:protected] => Array
                                                                (
                                                                    [header] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 3
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/contenuti.tpl.htm
                                                                                    [default] => true
                                                                                )

                                                                            [_skipNextIteration:protected] => 
                                                                            [_loadedSection:protected] => 
                                                                            [_extends:protected] => Array
                                                                                (
                                                                                )

                                                                            [_loadFileErrorStr:protected] => 
                                                                        )

                                                                    [en] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 2
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => en
                                                                                    [path] => en/pagepart/contenuti.tpl.htm
                                                                                )

                                                                            [_skipNextIteration:protected] => 
                                                                            [_loadedSection:protected] => 
                                                                            [_extends:protected] => Array
                                                                                (
                                                                                )

                                                                            [_loadFileErrorStr:protected] => 
                                                                        )

                                                                )

                                                            [_skipNextIteration:protected] => 
                                                            [_loadedSection:protected] => 
                                                            [_extends:protected] => Array
                                                                (
                                                                )

                                                            [_loadFileErrorStr:protected] => 
                                                        )

                                                )

                                            [_skipNextIteration:protected] => 
                                            [_loadedSection:protected] => private
                                            [_extends:protected] => Array
                                                (
                                                )

                                            [_loadFileErrorStr:protected] => 
                                        )

                                    [templateName:protected] => 
                                    [renderValues:protected] => Array
                                        (
                                            [lingua] => it
                                            [c] => 
                                            [strutture] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [id] => 3
                                                            [titolo] => Nicoletta
                                                            [testo] => 

Le camere in Piazza sono sicuramente la soluzione più elegante, suggestiva e ricca di comfort che si può trovare a Vernazza. 
Affacciate direttamente sulla piazza tutte le camere hanno un panorama mozzafiato sulla costa verso Monterosso e sulla chiesa. 

Nella matrimoniale all'ultimo piano c'è il grande terrazzo in cui è piacevole ammirare il panorama, cenare col sottofondo del mare. Al piano inferiore abbiamo due camere matrimoniali con il bagno e una tripla con balcone. TV e wi-fi in tutte le camere.
Può essere affittata singolarmente o, insieme alla suit, può essere una buona soluzione per una vacanza di gruppo.

Le camere denominate Nicoletta sono sicuramente il nostro fiore all'occhiello. Le due camere matrimoniali e la camera tripla al piano di sotto.

Il luogo d'incontro è presso il ristorante Vulnetia in Piazza Marconi, (dalla stazione scendere per la via principale e raggiunta la piazza andare a destra; il secondo ristorante è il Vulnetia).

[testo_home] => Le camere in Piazza sono sicuramente la soluzione più elegante, suggestiva e ricca di fascino. [immagine_home] => 20 [url] => nicoletta [posizione] => 100 [lingua] => it [path] => 1/20_camera1.jpg [est] => jpg ) [1] => Array ( [id] => 2 [titolo] => Nicole Roma 4 [testo] =>

Affacciate sulla via principale di Vernazza, ricca di attività e negozi ci sono un appartamento e una camera matrimoniale.
A due minuti dalla stazione e dal mare sono la soluzione ideale per una vacanze all'insegna del movimento.

Il luogo d'incontro è presso il ristorante Vulnetia in Piazza Marconi, (dalla stazione scendere per la via principale e raggiunta la piazza andare a destra; il secondo ristorante è il Vulnetia).

[testo_home] => Affaciate sulla via principale di Vernazza, ricca di attività e negozi. [immagine_home] => 154 [url] => nicole-roma-4 [posizione] => 200 [lingua] => it [path] => 1/154_nicoleBig.jpg [est] => jpg ) [2] => Array ( [id] => 9 [titolo] => Nicole Roma 57 [testo] =>

Piccolo monolocale di circa 15mq sito in via Roma, la strada principale del paese, adiacente alla stazione ferroviaria.
La camera è costituita da stanza da letto matrimoniale, piccolo angolo cottura e bagno privato con doccia.
L'alloggio è inoltre munito di tv, aria condizionatariscaldamento, wifi e bollitore elettrico.

[testo_home] => Piccolo monolocale di circa 15mq sito in via Roma, la strada principale del paese, adiacente alla stazione ferroviaria. [immagine_home] => 184 [url] => nicole-roma-57 [posizione] => 210 [lingua] => it [path] => 1/184_nicole57_home.jpg [est] => jpg ) [3] => Array ( [id] => 1 [titolo] => Nicolina [testo] => [testo_home] => Nel Carugio appena sopra la piazza di Vernazza. [immagine_home] => 78 [url] => nicolina [posizione] => 300 [lingua] => it [path] => 1/78_cameraNicolinaHome.jpg [est] => jpg ) ) ) [args:protected] => Array ( ) ) [1] => Meta Object ( [db] => Zend_Db_Adapter_Pdo_Pgsql Object ( [_pdoType:protected] => pgsql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INTEGER] => 0 [SERIAL] => 0 [SMALLINT] => 0 [BIGINT] => 1 [BIGSERIAL] => 1 [DECIMAL] => 2 [DOUBLE PRECISION] => 2 [NUMERIC] => 2 [REAL] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => 127.0.0.1 [dbname] => camerenicolinadb2018 [username] => nr_admin [password] => ciFIll2etK2g5e8b6WFe [port] => 5432 [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [name] => meta [pageReg:protected] => PageRegistry Object ( [inPageScope] => Array ( [currentPageName] => ) [ZSession] => Zend_Session_Namespace Object ( [_namespace:protected] => ZScope ) ) [redirectioURL:protected] => [config:protected] => Zend_Config_Xml Object ( [_skipExtends:protected] => [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [arguments] => [templates] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [header] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [loc] => it [path] => it/pagepart/meta.tpl.htm ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [en] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [loc] => en [path] => en/pagepart/meta.tpl.htm ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => private [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [templateName:protected] => [renderValues:protected] => Array ( ) [args:protected] => Array ( ) ) [2] => Header Object ( [db] => Zend_Db_Adapter_Pdo_Pgsql Object ( [_pdoType:protected] => pgsql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INTEGER] => 0 [SERIAL] => 0 [SMALLINT] => 0 [BIGINT] => 1 [BIGSERIAL] => 1 [DECIMAL] => 2 [DOUBLE PRECISION] => 2 [NUMERIC] => 2 [REAL] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => 127.0.0.1 [dbname] => camerenicolinadb2018 [username] => nr_admin [password] => ciFIll2etK2g5e8b6WFe [port] => 5432 [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [name] => header [pageReg:protected] => PageRegistry Object ( [inPageScope] => Array ( [currentPageName] => ) [ZSession] => Zend_Session_Namespace Object ( [_namespace:protected] => ZScope ) ) [redirectioURL:protected] => [config:protected] => Zend_Config_Xml Object ( [_skipExtends:protected] => [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [arguments] => [templates] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [header] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 3 [_data:protected] => Array ( [loc] => it [path] => it/pagepart/header.tpl.htm [default] => true ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [en] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [loc] => en [path] => en/pagepart/header.tpl.htm ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => private [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [templateName:protected] => [renderValues:protected] => Array ( ) [args:protected] => Array ( ) ) [3] => Footer Object ( [db] => Zend_Db_Adapter_Pdo_Pgsql Object ( [_pdoType:protected] => pgsql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INTEGER] => 0 [SERIAL] => 0 [SMALLINT] => 0 [BIGINT] => 1 [BIGSERIAL] => 1 [DECIMAL] => 2 [DOUBLE PRECISION] => 2 [NUMERIC] => 2 [REAL] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => 127.0.0.1 [dbname] => camerenicolinadb2018 [username] => nr_admin [password] => ciFIll2etK2g5e8b6WFe [port] => 5432 [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [name] => footer [pageReg:protected] => PageRegistry Object ( [inPageScope] => Array ( [currentPageName] => ) [ZSession] => Zend_Session_Namespace Object ( [_namespace:protected] => ZScope ) ) [redirectioURL:protected] => [config:protected] => Zend_Config_Xml Object ( [_skipExtends:protected] => [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [arguments] => [templates] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [header] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 3 [_data:protected] => Array ( [loc] => it [path] => it/pagepart/footer.tpl.htm [default] => true ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [en] => Zend_Config Object ( [_allowModifications:protected] => [_index:protected] => 0 [_count:protected] => 2 [_data:protected] => Array ( [loc] => en [path] => en/pagepart/footer.tpl.htm ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) ) [_skipNextIteration:protected] => [_loadedSection:protected] => private [_extends:protected] => Array ( ) [_loadFileErrorStr:protected] => ) [templateName:protected] => [renderValues:protected] => Array ( ) [args:protected] => Array ( ) ) ) [1] => Array ( ) ) ) [7] => Array ( [file] => /var/www/camerenicolina.it/wre/WebRenderEngine.php [line] => 204 [function] => renderPage [class] => PageComposer [type] => -> [args] => Array ( [0] => [1] => Array ( ) ) ) [8] => Array ( [file] => /var/www/camerenicolina.it/wre/WebRenderEngine.php [line] => 62 [function] => processRequest [class] => WebRenderEngine [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/camerenicolina.it/wre/WebRenderEngine.php [line] => 133 [function] => __construct [class] => WebRenderEngine [type] => -> [args] => Array ( [0] => main.xml ) ) [10] => Array ( [file] => /var/www/camerenicolina.it/portale/index.php [line] => 139 [function] => bootstrap [class] => WebRenderEngine [type] => :: [args] => Array ( ) ) )