Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Error after upgrading from 1.9.3

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


beachboy4231 at gmail

Jun 14, 2008, 10:27 AM

Post #1 of 7 (282 views)
Permalink
Error after upgrading from 1.9.3

Hello all,

After upgrading my wiki from 1.9.3 to 1.12 I receive the following error
message when I try to access the site.

Internal error

Detected bug in an extension! Hook efDspHook failed to return a value;
should return true to continue hook processing or false to abort.

Backtrace:

#0 /var/www/wiki/includes/SpecialPage.php(195):
wfRunHooks('SpecialPage_ini...', Array)
#1 /var/www/wiki/includes/SpecialPage.php(226): SpecialPage::initList()
#2 /var/www/wiki/includes/SpecialPage.php(337):
SpecialPage::resolveAlias('Specialpages')
#3 /var/www/wiki/includes/SpecialPage.php(412):
SpecialPage::getPageByAlias('Specialpages')
#4 /var/www/wiki/includes/Wiki.php(193):
SpecialPage::executePath(Object(Title))
#5 /var/www/wiki/includes/Wiki.php(45):
MediaWiki->initializeSpecialCases(Object(Title), Object(StubObject),
Object(WebRequest))
#6 /var/www/wiki/index.php(90): MediaWiki->initialize(Object(Title),
Object(StubObject), Object(User), Object(WebRequest))
#7 {main}
I tried commenting out all of my extensions in LocalSettings.php, but it
didn't help.

Does anyone know what may be wrong?

Thanks
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


onekopaka at gmail

Jun 14, 2008, 10:32 AM

Post #2 of 7 (266 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Try deleting everything except for extensions or skins and
LocalSettings.php, then extracting the new version.

Also, check if you ran maintenance/update.php, it may not help though.

On Jun 14, 2008, at 10:27 AM, Philip Beach wrote:

> Hello all,
>
> After upgrading my wiki from 1.9.3 to 1.12 I receive the following
> error
> message when I try to access the site.
>
> Internal error
>
> Detected bug in an extension! Hook efDspHook failed to return a value;
> should return true to continue hook processing or false to abort.
>
> Backtrace:
>
> #0 /var/www/wiki/includes/SpecialPage.php(195):
> wfRunHooks('SpecialPage_ini...', Array)
> #1 /var/www/wiki/includes/SpecialPage.php(226):
> SpecialPage::initList()
> #2 /var/www/wiki/includes/SpecialPage.php(337):
> SpecialPage::resolveAlias('Specialpages')
> #3 /var/www/wiki/includes/SpecialPage.php(412):
> SpecialPage::getPageByAlias('Specialpages')
> #4 /var/www/wiki/includes/Wiki.php(193):
> SpecialPage::executePath(Object(Title))
> #5 /var/www/wiki/includes/Wiki.php(45):
> MediaWiki->initializeSpecialCases(Object(Title), Object(StubObject),
> Object(WebRequest))
> #6 /var/www/wiki/index.php(90): MediaWiki->initialize(Object(Title),
> Object(StubObject), Object(User), Object(WebRequest))
> #7 {main}
> I tried commenting out all of my extensions in LocalSettings.php,
> but it
> didn't help.
>
> Does anyone know what may be wrong?
>
> Thanks
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Darren VanBuren
onekopaka[at]gmail.com
----------------------------------------------
Administrator of Onekopakaspace

Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/


beachboy4231 at gmail

Jun 14, 2008, 10:48 AM

Post #3 of 7 (266 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Thanks for the tip.. I tried it but the problem is still occurring. I
already ran the update script.

I'm fairly positive the problem is a faulty entry in LocalSettings.php,
maybe something that's been depreciated or something similar...

If anyone else has any tips they would be greatly appreciated.

Thanks!

On Sat, Jun 14, 2008 at 1:32 PM, Darren VanBuren <onekopaka[at]gmail.com>
wrote:

> Try deleting everything except for extensions or skins and
> LocalSettings.php, then extracting the new version.
>
> Also, check if you ran maintenance/update.php, it may not help though.
>
>
> On Jun 14, 2008, at 10:27 AM, Philip Beach wrote:
>
> Hello all,
>>
>> After upgrading my wiki from 1.9.3 to 1.12 I receive the following error
>> message when I try to access the site.
>>
>> Internal error
>>
>> Detected bug in an extension! Hook efDspHook failed to return a value;
>> should return true to continue hook processing or false to abort.
>>
>> Backtrace:
>>
>> #0 /var/www/wiki/includes/SpecialPage.php(195):
>> wfRunHooks('SpecialPage_ini...', Array)
>> #1 /var/www/wiki/includes/SpecialPage.php(226): SpecialPage::initList()
>> #2 /var/www/wiki/includes/SpecialPage.php(337):
>> SpecialPage::resolveAlias('Specialpages')
>> #3 /var/www/wiki/includes/SpecialPage.php(412):
>> SpecialPage::getPageByAlias('Specialpages')
>> #4 /var/www/wiki/includes/Wiki.php(193):
>> SpecialPage::executePath(Object(Title))
>> #5 /var/www/wiki/includes/Wiki.php(45):
>> MediaWiki->initializeSpecialCases(Object(Title), Object(StubObject),
>> Object(WebRequest))
>> #6 /var/www/wiki/index.php(90): MediaWiki->initialize(Object(Title),
>> Object(StubObject), Object(User), Object(WebRequest))
>> #7 {main}
>> I tried commenting out all of my extensions in LocalSettings.php, but it
>> didn't help.
>>
>> Does anyone know what may be wrong?
>>
>> Thanks
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l[at]lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> Darren VanBuren
> onekopaka[at]gmail.com
> ----------------------------------------------
> Administrator of Onekopakaspace
>
> Trunk MediaWiki install:
> http://oks.verymad.net/~onekopaka/mwtrunk/<http://oks.verymad.net/%7Eonekopaka/mwtrunk/>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


onekopaka at gmail

Jun 14, 2008, 10:56 AM

Post #4 of 7 (265 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Well, you could also try renaming LocalSettings.php and setting
MediaWiki up like normal. That's also one of the ways to upgrade.
On Jun 14, 2008, at 10:48 AM, Philip Beach wrote:

> Thanks for the tip.. I tried it but the problem is still occurring. I
> already ran the update script.
>
> I'm fairly positive the problem is a faulty entry in
> LocalSettings.php,
> maybe something that's been depreciated or something similar...
>
> If anyone else has any tips they would be greatly appreciated.
>
> Thanks!
>
> On Sat, Jun 14, 2008 at 1:32 PM, Darren VanBuren <onekopaka[at]gmail.com>
> wrote:
>
>> Try deleting everything except for extensions or skins and
>> LocalSettings.php, then extracting the new version.
>>
>> Also, check if you ran maintenance/update.php, it may not help
>> though.
>>
>>
>> On Jun 14, 2008, at 10:27 AM, Philip Beach wrote:
>>
>> Hello all,
>>>
>>> After upgrading my wiki from 1.9.3 to 1.12 I receive the following
>>> error
>>> message when I try to access the site.
>>>
>>> Internal error
>>>
>>> Detected bug in an extension! Hook efDspHook failed to return a
>>> value;
>>> should return true to continue hook processing or false to abort.
>>>
>>> Backtrace:
>>>
>>> #0 /var/www/wiki/includes/SpecialPage.php(195):
>>> wfRunHooks('SpecialPage_ini...', Array)
>>> #1 /var/www/wiki/includes/SpecialPage.php(226):
>>> SpecialPage::initList()
>>> #2 /var/www/wiki/includes/SpecialPage.php(337):
>>> SpecialPage::resolveAlias('Specialpages')
>>> #3 /var/www/wiki/includes/SpecialPage.php(412):
>>> SpecialPage::getPageByAlias('Specialpages')
>>> #4 /var/www/wiki/includes/Wiki.php(193):
>>> SpecialPage::executePath(Object(Title))
>>> #5 /var/www/wiki/includes/Wiki.php(45):
>>> MediaWiki->initializeSpecialCases(Object(Title), Object(StubObject),
>>> Object(WebRequest))
>>> #6 /var/www/wiki/index.php(90): MediaWiki->initialize(Object(Title),
>>> Object(StubObject), Object(User), Object(WebRequest))
>>> #7 {main}
>>> I tried commenting out all of my extensions in LocalSettings.php,
>>> but it
>>> didn't help.
>>>
>>> Does anyone know what may be wrong?
>>>
>>> Thanks
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l[at]lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>
>> Darren VanBuren
>> onekopaka[at]gmail.com
>> ----------------------------------------------
>> Administrator of Onekopakaspace
>>
>> Trunk MediaWiki install:
>> http://oks.verymad.net/~onekopaka/mwtrunk/<http://oks.verymad.net/%7Eonekopaka/mwtrunk/
>> >
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l[at]lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Darren VanBuren
onekopaka[at]gmail.com
----------------------------------------------
Administrator of Onekopakaspace

Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/


ml at juliano

Jun 14, 2008, 11:01 AM

Post #5 of 7 (266 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Philip Beach wrote:
> Detected bug in an extension! Hook efDspHook failed to return a value;
> should return true to continue hook processing or false to abort.

Check which extension defines a function named "efDspHook". You may need
to disable or upgrade that extension. If no upgrade is available, ask
the extension author.

--
Juliano F. Ravasi ·· http://juliano.info/
5105 46CC B2B7 F0CD 5F47 E740 72CA 54F4 DF37 9E96

"A candle loses nothing by lighting another candle." -- Erin Majors

* NOTE: Don't try to reach me through this address, use "contact@" instead.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


michael.daly at kayakwiki

Jun 14, 2008, 1:01 PM

Post #6 of 7 (249 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Philip Beach wrote:

> Detected bug in an extension! Hook efDspHook failed to return a value;
> should return true to continue hook processing or false to abort.

The function is supposed to return a value of "true" if it worked
correctly and things should continue or "false" if not. However, the
function returns nothing.

With the newer releases of MW, this is enforced and generates an error.
You have to get the extension writer to update the extension to follow
the standards.

If you can figure out the code, you can change it yourself to return
either "true" or "false" as the case demands.

Mike





_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


beachboy4231 at gmail

Jun 14, 2008, 8:04 PM

Post #7 of 7 (249 views)
Permalink
Re: Error after upgrading from 1.9.3 [In reply to]

Thanks for all the help everyone. The problem was an include statement
placed in the wrong section of LocalSettings.php. Why it didn't effect 1.9.3
is beyond me.

On Sat, Jun 14, 2008 at 4:01 PM, Michael Daly <michael.daly[at]kayakwiki.org>
wrote:

> Philip Beach wrote:
>
> > Detected bug in an extension! Hook efDspHook failed to return a value;
> > should return true to continue hook processing or false to abort.
>
> The function is supposed to return a value of "true" if it worked
> correctly and things should continue or "false" if not. However, the
> function returns nothing.
>
> With the newer releases of MW, this is enforced and generates an error.
> You have to get the extension writer to update the extension to follow
> the standards.
>
> If you can figure out the code, you can change it yourself to return
> either "true" or "false" as the case demands.
>
> Mike
>
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.