Using the most recent release I receive the below error. Reverting back to the March 13 2.0 version does not cause this error. I am using the following versions:
- MediaWiki: 1.6.2
- PHP: 5.1.2 (apache2handler)
- MySQL: 5.0.19-nt
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "". MySQL returned error "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND page_is_redirect = 0 ORDER BY r.rev_timestamp DESC LIMIT 0,1' at line 1 (localhost)". Retrieved from "http://localhost/wiki/Forum:Index"
Could this be a bug with the NT version of mysql?
--Jabrwocky7 16:04, 14 April 2006 (UTC)
- Unless you're explicitly setting the namespace to 0 (the main space), there should be no difference in behavior between 2.0 and 2.01, and even then the only difference is that 0 is allowed as an explicit setting. I can't think why that would cause a syntax error in the SQL query. Are you certain that this is the only change you made? --Algorithm 19:40, 14 April 2006 (UTC)
- Specifying a non existant namespace causes this error. An error message should be output in this case. -- Xypron 10:24, 20 August 2006 (UTC)
Error due to LIMIT
With MySQL - 3.23.58 the following line causes an error:
$iCount = 0xFFFFFFFF; // maximum integer value
Please, change it to
$iCount = 0x7FFFFFFF; // maximum integer value
- fixed -- Xypron 10:18, 20 August 2006 (UTC)
Error for numeric namespace
When a numeric namespace is specified a SQL error occurs.
namespace = 0
if ( is_null($iNamespace) )
has to be changed to
if ( !$iNamespace )
-- Xypron 17:34, 20 August 2006 (UTC)
Error with medawiki 1.8.2
PHP 5.0.4 and Mediawiki 1.8.2.
I have this error:
Fatal error: Call to a member function getMaxIncludeSize() on a non-object in /var/www/html/includes/Parser.php on line 2716
When I insert the following tags in a page
<forum> namespace=Forum category=Name of forum title=Name of forum shownamespace=false addlasteditor=true </forum>
Any Suggestions ?
- The extension was working as recently as MediaWiki 1.8-alpha, but is breaking on more recent versions including MW 1.9
- Commenting out the few lines "if(...getMaxIncludeSize...) return" in includes/Parser.php would indeed allow the extension to work, but that's a kludge of a solution. --Carlb 21:50, 26 December 2006 (UTC)
- Commenting the lines in parser.php isn't good. That could broke up the whole wiki. Maybe author could repair this error? That extension works on wikia on WikiMedia engine 1.9.3... So it could be repaired. I'm not a programmer, but i want to use that extension on my wiki... --188.8.131.52 09:16, 20 April 2007 (UTC)
I get this alot with my 1.9:
Notice: Undefined variable: tCustomTitle in /usr/local/yR/enterwiki/meta.enterwiki.net/extensions/DPLForum.php on line 263 Notice: Undefined variable: tCustomTitle in /usr/local/yR/enterwiki/meta.enterwiki.net/extensions/DPLForum.php on line 386
Inputbox prefix variable
This whole extension seems to hinge on the 'prefix=' variable of the inputbox extension - which, oddly enough, doesn't exist. Any idea what's up with that? How can you add the 'prefix' variable to Inputbox? ℑilver§ℑide 08:44, 6 January 2007 (UTC)
- That's done by another extension, actionCreate (User:Algorithm/actionCreate) --Carlb 02:17, 15 January 2007 (UTC)
When attempting to add DPLForum to my web site, I get a blank page staring back at me upon hitting "save page". Not even an error. *Sigh* I am running MediaWiki 1.9.3. One of the troubles I am running into, is finding a more centralized and complete documentation of DPLForum. From what I can gather I have to bounce back and forth from here and wikia's "Help:Forums" page in order to understand how to set it up as well as make a few assumptions. DPLForum seems somewhat straight forward but given that I am getting a big-ol' blank page I figure I left out something terribly important. Myotus 22:04, 17 April 2007 (UTC)