Difference between revisions of "DPL talk:Bug Reports"

From FollowTheScore
Jump to: navigation, search
(Extension doesn't work at all)
 
(2 intermediate revisions by 2 users not shown)
Line 43: Line 43:
  
 
Good luck! -- [[User:Bilardi|Bilardi]] Thu Jan 15 18:03:23 UTC 2009
 
Good luck! -- [[User:Bilardi|Bilardi]] Thu Jan 15 18:03:23 UTC 2009
 +
 +
 +
== Extension doesn't work at all ==
 +
We are currently using 1.10 version of MediaWiki along with the latest version of DPL, the wiki stop working immediately after registering the extension in LocalSettings.php. The error is '''Object of class Title cannot be converted into string'''.
 +
 +
We have followed the exact steps of installation, the wiki works normally when the extension is commented in LocalSettings.php
 +
 +
:The problem is that the way how mediawiki registers extensions has changed between MW versions. You are using a rather old version of MediaWiki. I strongly recommend to upgrade to 1.14 or later - ideally you should take the most recent stable version of MW. If you cannot do this you must use an old version of DPL. All old versions are available for [[Download]]. It is not easy to say which version you would have to use but I guess you should take a version that is at least 15 months old. You should be aware that the documentation of DPL here in this wiki always relates to the most recent version (1.8.x at the moment). Therefore taking an old version of DPL can only be a temporary solution.
 +
 +
Btw: If you take MW 1.15 you must apply a small patch to LinkHolderArray.php, see
 +
[http://www.mediawiki.org/wiki/Extension_talk:DynamicPageList_(third-party)#RESOLVED:_Fatal_error]
 +
--[[User:Gero|Gero]] 06:58, 26 August 2009 (UTC)

Latest revision as of 08:01, 26 August 2009

Removal Suggestion

I'd recommend to remove this line from the article page:

Please add new bugs concerning DPL at the top of this document.

While probably helpful, as it would add a bias toward the newest topics making sure that they are promptly considered, it is counter a fairly established practice of adding items at the end of the page, often simply using the + tab at the top of the page.

Also, clearly the current users of the page disagree with it, as they all have appended all bug reports at the end, but if the alternative method has to be enforced, I'd suggest to manually revert the order of the bug reports and move the line at the very end of the document, and highlight it with a much larger font and a red/orange frame or red characters.

-Manu3d 12:02, 17 August 2007 (CEST)

I agree, or else change how "+" adds new comments (and, better yet, use a forum extension--discussion/talk pages suck at it by default). -Eep² 12:06, 17 August 2007 (CEST)
changed to bottom. Gero 12:18, 17 August 2007 (CEST)

Problems with editing the Bug Report

I had massive problems with "section editing" in the Bug Report. The reason (I think) was that a DPL statement produced a chapter header which was shown in the output. All section offsets after that header were false by 1. So I decided to remove the offending piece of code. Gero 10:21, 28 September 2007 (CEST)

Problems with SQL errors

Hi all, I use mediawiki 1.13.1. I have got egual error as Dmb. I'm using

 {{#dpl:
 |category={{{category}}}
 |resultsheader=%PAGES%
 |noresultsheader=0
 |mode=userformat 
 }}

into gbrowse.org it is works. when I create egual template into other wiki it is not works and I have got this error:

The DPL extension (version 1.7.4) 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, REPLACE(REPLACE(CONCAT( IF(`page`.page_namespace=0, , CONCAT(CASE `page`.page_namespace WHEN 1 THEN 'Talk' WHEN 2 THEN 'User' WHEN 3 THEN 'User_talk' WHEN 4 THEN 'CRIBI_Genomics' WHEN 5 THEN 'CRIBI_Genomics_talk' WHEN 6 THEN 'Image' WHEN 7 THEN 'Image_talk' WHEN 8 THEN 'MediaWiki' WHEN 9 THEN 'MediaWiki_talk' WHEN 10 THEN 'Template' WHEN 11 THEN 'Template_talk' WHEN 12 THEN 'Help' WHEN 13 THEN 'Help_talk' WHEN 14 THEN 'Category' WHEN 15 THEN 'Category_talk' END, ':')), `page`.page_title), '_', ' '),'♣','⣣') as sortkey FROM `page` INNER JOIN `categorylinks` AS cl0 ON `page`.page_id=cl0.cl_from AND (cl0.cl_to='Grape_Genome_Team') WHERE 1=1 AND `page`.page_is_redirect=0 ORDER BY sortkey ASC LIMIT 0, 500

Error message is:
Illegal mix of collations (utf8_general_ci,COERCIBLE) and (latin1_bin,IMPLICIT) for operation 'concat' (localhost) 

If I log into mysql shell, this query is works.. so I don't understand where it is the problem..

Good luck! -- Bilardi Thu Jan 15 18:03:23 UTC 2009


Extension doesn't work at all

We are currently using 1.10 version of MediaWiki along with the latest version of DPL, the wiki stop working immediately after registering the extension in LocalSettings.php. The error is Object of class Title cannot be converted into string.

We have followed the exact steps of installation, the wiki works normally when the extension is commented in LocalSettings.php

The problem is that the way how mediawiki registers extensions has changed between MW versions. You are using a rather old version of MediaWiki. I strongly recommend to upgrade to 1.14 or later - ideally you should take the most recent stable version of MW. If you cannot do this you must use an old version of DPL. All old versions are available for Download. It is not easy to say which version you would have to use but I guess you should take a version that is at least 15 months old. You should be aware that the documentation of DPL here in this wiki always relates to the most recent version (1.8.x at the moment). Therefore taking an old version of DPL can only be a temporary solution.

Btw: If you take MW 1.15 you must apply a small patch to LinkHolderArray.php, see [1] --Gero 06:58, 26 August 2009 (UTC)