>: 7 ERROR: OFFSET must not be negative
Array
(
[0] => Array
(
[file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Statement.php
[line] => 300
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Abstract.php
[line] => 479
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[2] => Array
(
[file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => SELECT distinct n.* ,
f.path
FROM portale.news as n
LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file ),
portale.news_categorie as c
WHERE n.pubblica is true
AND n.pubblicazione <= current_date
AND n.categoria = c.id
AND n.categoria = 8
ORDER BY pubblicazione DESC
LIMIT 4
OFFSET -4
[1] => Array
(
)
)
)
[3] => Array
(
[file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Abstract.php
[line] => 734
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => SELECT distinct n.* ,
f.path
FROM portale.news as n
LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file ),
portale.news_categorie as c
WHERE n.pubblica is true
AND n.pubblicazione <= current_date
AND n.categoria = c.id
AND n.categoria = 8
ORDER BY pubblicazione DESC
LIMIT 4
OFFSET -4
[1] => Array
(
)
)
)
[4] => Array
(
[file] => /www/new/cleaning/pubblico/wre/library/PagePart/News.php
[line] => 65
[function] => fetchAll
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => SELECT distinct n.* ,
f.path
FROM portale.news as n
LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file ),
portale.news_categorie as c
WHERE n.pubblica is true
AND n.pubblicazione <= current_date
AND n.categoria = c.id
AND n.categoria = 8
ORDER BY pubblicazione DESC
LIMIT 4
OFFSET -4
)
)
[5] => Array
(
[file] => /www/new/cleaning/pubblico/wre/library/PageComposer/PageComposer.php
[line] => 139
[function] => requestProcessing
[class] => News
[type] => ->
[args] => Array
(
[0] => Array
(
[pag] => 0
)
)
)
[6] => Array
(
[file] => /www/new/cleaning/pubblico/wre/library/PageComposer/PageComposer.php
[line] => 83
[function] => runPageParts
[class] => PageComposer
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => News 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] => cleaningdb
[username] => nr_admin
[password] =>
[port] => 5435
[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] => 1
[_data:protected] => Array
(
[index] => Zend_Config Object
(
[_allowModifications:protected] =>
[_index:protected] => 0
[_count:protected] => 3
[_data:protected] => Array
(
[loc] => it
[path] => it/pagepart/news.tpl.htm
[default] => true
)
[_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
(
[banner] => Array
(
[id] => 1
[titolo] => CLEANING
[banner] => 2
[link] => /it/cleaning
[interna] => 1
[est] =>
)
[lavanderie] => Array
(
[0] => Array
(
[id] => 5
[titolo] => CLEANING
[descrizione] => LA LAVANDERIA DEL BORGO
Via Felice Romani, 1
10131 - Torino
Mob. 392.13.15.685
Tel. 011.037.09.04
[link] => /it/cleaning_la_lavanderia_del_borgo
[posizione] => 5
)
[1] => Array
(
[id] => 1
[titolo] => CLEANING - Bixio
[descrizione] => Via Nino Bixio, 21/3
10043 - Orbassano (TO)
Tel: 011.9034848
da Lunedì a Venerdì
8:30 - 12:30 / 15:00 - 19:00
Sabato 9:00 - 13:00
[link] => /it/cleaning_bixio
[posizione] => 10
)
[2] => Array
(
[id] => 3
[titolo] => CLEANING - Racconigi
[descrizione] => Corso Racconigi, 130
10141 - Torino
Tel: 338.6049975
da Lunedì a Venerdì
8:30 - 12:30 / 15:30 - 19:30
Sabato 8:30 - 12:30
[link] => /it/cleaning_racconigi
[posizione] => 30
)
)
[categorie] => Array
(
[0] => Array
(
[id] => 6
[desc_cat] => Cleaning
[testo] =>
[keyword] =>
[url] => cleaning
[posizione] => 10
[testo_breve] =>
[classe] =>
)
[1] => Array
(
[id] => 2
[desc_cat] => Servizi
[testo] =>
[keyword] =>
[url] => servizi
[posizione] => 20
[testo_breve] => per i privati per le aziende servizi speciali
[classe] => servizi
)
[2] => Array
(
[id] => 1
[desc_cat] => Offerte
[testo] =>
[keyword] =>
[url] => offerte
[posizione] => 30
[testo_breve] => offerte stagionali promozioni news ed eventi
[classe] => news
)
[3] => Array
(
[id] => 3
[desc_cat] => Convenzioni
[testo] =>
[keyword] =>
[url] => convenzioni
[posizione] => 40
[testo_breve] => offerte speciali offerte dedicate convenzionati
[classe] => convenzioni
)
[4] => Array
(
[id] => 7
[desc_cat] => Partnership
[testo] =>
[keyword] =>
[url] => partnership
[posizione] => 50
[testo_breve] => sinergie, proposte e link utili
[classe] => partnership
)
[5] => Array
(
[id] => 8
[desc_cat] => Eventi
[testo] =>
[keyword] =>
[url] => eventi
[posizione] => 60
[testo_breve] => manifestazioni, convention e avvenimenti
[classe] => eventi
)
[6] => Array
(
[id] => 4
[desc_cat] => Sedi e Contatti
[testo] =>
[keyword] =>
[url] => sedi_e_contatti
[posizione] => 70
[testo_breve] => la tua cleaning orari e recapiti come raggiungerci
[classe] => sedi
)
[7] => Array
(
[id] => 5
[desc_cat] => Consigli Utili
[testo] =>
[keyword] =>
[url] => consigli_utili
[posizione] => 80
[testo_breve] => come lavare cosa fare curiosità
[classe] => consigli
)
)
[categoria] => Array
(
[id] => 8
[desc_cat] => Eventi
[testo] =>
[keyword] =>
[url] => eventi
[posizione] => 60
[testo_breve] => manifestazioni, convention e avvenimenti
[classe] => eventi
)
)
[args:protected] => Array
(
)
)
)
[1] => Array
(
[pag] => 0
)
)
)
[7] => Array
(
[file] => /www/new/cleaning/pubblico/wre/WebRenderEngine.php
[line] => 203
[function] => renderPage
[class] => PageComposer
[type] => ->
[args] => Array
(
[0] =>
[1] => Array
(
[pag] => 0
)
)
)
[8] => Array
(
[file] => /www/new/cleaning/pubblico/wre/WebRenderEngine.php
[line] => 61
[function] => processRequest
[class] => WebRenderEngine
[type] => ->
[args] => Array
(
)
)
[9] => Array
(
[file] => /www/new/cleaning/pubblico/wre/WebRenderEngine.php
[line] => 132
[function] => __construct
[class] => WebRenderEngine
[type] => ->
[args] => Array
(
[0] => main.xml
)
)
[10] => Array
(
[file] => /www/new/cleaning/pubblico/portale/index.php
[line] => 140
[function] => bootstrap
[class] => WebRenderEngine
[type] => ::
[args] => Array
(
)
)
)