Actions

Modèle

NewsActivity : Différence entre versions

De erg

Ligne 6 : Ligne 6 :
 
|format=table
 
|format=table
 
|limit=5
 
|limit=5
|where=DATEDIFF(Date,NOW()) <= -14
+
|where=DATEDIFF(_pageData._createDate,NOW()) <= -14
 
|more results text=
 
|more results text=
 
}}
 
}}

Version du 20 mars 2018 à 11:13

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `mw_cargo___pageData`.`_pageName` AS `Page`,`mw_cargo__News`.`Image` AS `Image`,`mw_cargo__News`.`Start` AS `Start`,`mw_cargo__News`.`End` AS `End`,`mw_cargo__News`.`Start__precision` AS `Start__precision`,`mw_cargo__News`.`End__precision` AS `End__precision` FROM `mw_cargo__News` LEFT OUTER JOIN `mw_cargo___pageData` ON ((`mw_cargo__News`.`_pageName`=`mw_cargo___pageData`.`_pageName`)) WHERE DATEDIFF(`mw_cargo___pageData`.`_createDate`,NOW()) <= -14 ORDER BY `mw_cargo___pageData`.`_creationDate` DESC LIMIT 5 Function: CargoSQLQuery::run Error: 1054 Unknown column 'mw_cargo___pageData._createDate' in 'where clause' (localhost)