[Mediawiki-l] Newuserlog error

Invalid Name srekal86 at hotmail.com
Mon Apr 24 03:23:18 UTC 2006


The error now displays: "A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
SELECT value,exptime FROM `objectcache` WHERE keyname='tolkiengateway_net_-_wiki:messages:Newuserlog-create-text'
 
from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "0:"
 
Any help is greatly appreciated,
Thanks.



> From: ecable at avxw.com> Date: Sun, 23 Apr 2006 18:55:52 -0800> To: mediawiki-l at Wikimedia.org> Subject: Re: [Mediawiki-l] Newuserlog error> > He's right; I feel stupid. Just a sort of php-newbie speaking (-:> > > Elliott F. Cable wrote:> >> I talked with hyarion on MSN, and we figured it out - he was trying> >> to install an old version of the newuserlog file from the old CVS> >> repository. In the process, we came over something interesting - the> >> version of newuserlog in SVN won't work with the standard> >> downloadable distribution of 1.6.3 now. Two changes are necessary:> >>> >> On line 54, change:> >>  function wfNewuserlogHook( $user ) {> >> to...> >>  function wfNewuserlogHook() {> >> > Change this instead to:> >> >>  function wfNewuserlogHook( $user=null ) {> >> >> Then, on line 57, change:> >>  if( is_null( $user ) ) {> >> > and don't change that.> >> > -- brion vibber (brion @ pobox.com)> _______________________________________________> MediaWiki-l mailing list> MediaWiki-l at Wikimedia.org> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________
Search on the go: Try Windows Live(tm) Search for Mobile beta
http://www1.imagine-msn.com/minisites/mobile/Default.aspx?locale=en-us


More information about the MediaWiki-l mailing list