Difference between revisions of "Issue:Error message - undefined Index 100"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Extension = DPL |Version = 1.4.2 |Description = using <tt>notnamespace</tt> causes php error in line 3128 |Status = answered }} Getting this error 10 times for htt...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Issue
 
{{Issue
 +
|Type        = Bug
 
  |Extension  = DPL
 
  |Extension  = DPL
 
  |Version    = 1.4.2
 
  |Version    = 1.4.2
 
  |Description = using <tt>notnamespace</tt> causes php error in line 3128
 
  |Description = using <tt>notnamespace</tt> causes php error in line 3128
  |Status      = answered
+
  |Status      = closed
 
}}
 
}}
  
 +
== Problem ==
 
Getting this error 10 times for http://www.tnlc.com/wiki/index.php?title=Template:catcount :
 
Getting this error 10 times for http://www.tnlc.com/wiki/index.php?title=Template:catcount :
 
  Notice: Undefined index: 100 in ../wiki/extensions/DynamicPageList2/DynamicPageList2.php on line 3128
 
  Notice: Undefined index: 100 in ../wiki/extensions/DynamicPageList2/DynamicPageList2.php on line 3128
Line 22: Line 24:
 
—[[User:Eep²|Eep²]] 12:09, 29 September 2007 (CEST)
 
—[[User:Eep²|Eep²]] 12:09, 29 September 2007 (CEST)
  
:This sounds like you have an error in the namespace setup of your wiki. If you use own namespaces you should assign index pairs to them starting from '100' as is recommended in the MW documentation. I guess the query works when you leave out the "notnamespace=Form"?   
+
== Reply ==
 +
This sounds like you have an error in the namespace setup of your wiki. If you use own namespaces you should assign index pairs to them starting from '100' as is recommended in the MW documentation. I guess the query works when you leave out the "notnamespace=Form"?   
 
:-- [[User:Gero|Gero]] 12:28, 29 September 2007 (CEST)
 
:-- [[User:Gero|Gero]] 12:28, 29 September 2007 (CEST)

Latest revision as of 23:12, 25 October 2007

Description: using notnamespace causes php error in line 3128
Extension / Version: DPL   /   1.4.2
Type / Status: Bug   /   closed

Problem

Getting this error 10 times for http://www.tnlc.com/wiki/index.php?title=Template:catcount :

Notice: Undefined index: 100 in ../wiki/extensions/DynamicPageList2/DynamicPageList2.php on line 3128

With this query:

{{#dpl:
category={{{1}}}
|notnamespace=Template
|notnamespace=Form
|resultsheader=(%PAGES%)
|noresultsheader=(0)
|format=,
}}

Eep² 12:09, 29 September 2007 (CEST)

Reply

This sounds like you have an error in the namespace setup of your wiki. If you use own namespaces you should assign index pairs to them starting from '100' as is recommended in the MW documentation. I guess the query works when you leave out the "notnamespace=Form"?

-- Gero 12:28, 29 September 2007 (CEST)