Usergroups (Liste): Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<DPL> category=UserGroup notcategory = Archiv notnamespace = Archiv ordermethod=lastedit order=descending addeditdate=true addpagecounter=true …“)
 
Zeile 11: Zeile 11:
 
   userdateformat=Y-m-d  
 
   userdateformat=Y-m-d  
 
   mode          = userformat
 
   mode          = userformat
   format= {|class="wikitable sortable"¶!projects¶!excerpt¶!last edit¶!page count,¶|-¶|[[%PAGE%]] ¶,¶,¶|}
+
   format= {|class="wikitable sortable"¶!usergroups¶!excerpt¶!last edit¶!page count,¶|-¶|[[%PAGE%]] ¶,¶,¶|}
 
   secseparators  = \n|, \n|align="right"|%DATE% \n|align="right"|%COUNT%
 
   secseparators  = \n|, \n|align="right"|%DATE% \n|align="right"|%COUNT%
 
</DPL>
 
</DPL>

Version vom 12. Mai 2012, 20:49 Uhr

The DPL extension (version 2.3.0) produced a SQL statement which lead to a Database error.
The reason may be an internal error of DPL or an error which you made,
especially when using DPL options like titleregexp.
Query text is:
SELECT DISTINCT `page`.page_namespace AS page_namespace,`page`.page_title AS page_title,`page`.page_id AS page_id, `page`.page_counter AS page_counter, rev_user, rev_user_text, rev_comment, rev_timestamp FROM `revision` AS rev, `page` INNER JOIN `categorylinks` AS cl0 ON `page`.page_id=cl0.cl_from AND (cl0.cl_to='UserGroup') LEFT OUTER JOIN `categorylinks` AS cl1 ON `page`.page_id=cl1.cl_from AND cl1.cl_to='Archiv' WHERE 1=1 AND cl1.cl_to IS NULL AND `page`.page_namespace NOT IN ('100') AND `page`.page_is_redirect=0 AND `page`.page_id=rev.rev_page AND rev.rev_timestamp=( SELECT MAX(rev_aux.rev_timestamp) FROM `revision` AS rev_aux WHERE rev_aux.rev_page=rev.rev_page ) ORDER BY rev_timestamp DESC LIMIT 500 OFFSET 0

Error message is:
Unknown column 'page.page_counter' in 'field list' (localhost)