Difference between revisions of "Issue:Upgraded to 1.11 Notice: Undefined variable"

From FollowTheScore
Jump to: navigation, search
(Reply)
Line 37: Line 37:
  
 
:I cannot figure out how to turn on the full error message. --[[User:24.250.201.191|24.250.201.191]] 14:37, 1 October 2007 (CEST)
 
:I cannot figure out how to turn on the full error message. --[[User:24.250.201.191|24.250.201.191]] 14:37, 1 October 2007 (CEST)
 +
 +
== Reply (2) ==
 +
 +
# You should put a '\n' behind the resultsheader, otherwise you will not get a heading.
 +
# Does the error depend on the namespace?
 +
# Does it work for one single letter? How do you do the "loop" for each letter? (If here is another extension involved, that could be the reason, too)
 +
# For full error information you must set $wgShowExceptionDetails = true; in the LocalSettings.php

Revision as of 17:15, 1 October 2007

Description: Notice: Undefined variable:
Extension / Version: DPL   /   1.4.5
Type / Status: Bug   /   open

Problem

I've upgraded to 1.11, and started getting this error message

Notice: Undefined variable: result in /home/wikistoc/public_html/wiki/includes/Title.php on line 1112

--Rovo 23:12, 30 September 2007 (CEST)

Answer

We need more information. What is your DPL query? Can you enable the full error messages and give the full stack trace?

--Gero 23:52, 30 September 2007 (CEST)

Reply

This is my query

<DPL>
 resultsheader= === A ===
 namespace = Terms
 shownamespace = false
 titlematch = A%
 </DPL>

I did this for each letter through the alphabet. The Terms namespace is set to 100. I'm not sure how to enable the full error messages or give a full stack trace, but I will try to figure it out. Thank you.

--Rovo 03:11, 1 October 2007 (CEST)

I cannot figure out how to turn on the full error message. --24.250.201.191 14:37, 1 October 2007 (CEST)

Reply (2)

  1. You should put a '\n' behind the resultsheader, otherwise you will not get a heading.
  2. Does the error depend on the namespace?
  3. Does it work for one single letter? How do you do the "loop" for each letter? (If here is another extension involved, that could be the reason, too)
  4. For full error information you must set $wgShowExceptionDetails = true; in the LocalSettings.php