Actions

Documents : Différence entre versions

De erg

(Page créée avec « {{#cargo_query: tables=_fileData |fields=_pageName |where=_mediaType="application/pdf" |format=gallery }} »)
 
Ligne 2 : Ligne 2 :
 
tables=_fileData  
 
tables=_fileData  
 
|fields=_pageName  
 
|fields=_pageName  
|where=_mediaType="application/pdf"  
+
|where=_mediaType="application/pdf"or_mediaType"application/vnd.openxmlformats-officedocument.wordprocessingml.document"  
 
|format=gallery
 
|format=gallery
 
}}
 
}}

Version du 15 janvier 2018 à 17:21

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

Query: SELECT `_pageName` AS `_pageName` FROM `mw_cargo___fileData` WHERE _mediaType="application/pdf"or_mediaType"application/vnd.openxmlformats-officedocument.wordprocessingml.document" ORDER BY `_pageName` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or_mediaType"application/vnd.openxmlformats-officedocument.wordprocessingml.d...' at line 1 (localhost)