PageForms 4.1.2 on MW 1.28.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PageForms 4.1.2 on MW 1.28.0

Phil Legault-2
I run update.php and get the following,

...ldap_domains table already exists.
...hitcounter table does not exist, skipping modify field patch.
...hit_counter_extension table already exists.
...hit_counter table already exists.
...page table does not contain page_counter field.

Selected storage engine is "SMWSQLStore3" (or an extension thereof)

Setting up standard database configuration for SMW ...


And on the trace:


[cb361b7ee6bac337637b063f] /index.php/Main_Page MWException from line 176 of /app/mediawiki/mw/includes/Hooks.php: Invalid callback PFHooks::initProperties in hooks for smwInitProperties

Backtrace:

#0 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyRegistry.php(500): Hooks::run(string)
#1 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyRegistry.php(86): SMW\PropertyRegistry->registerPredefinedProperties(boolean)
#2 /app/mediawiki/mw/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(90): SMW\PropertyRegistry::getInstance()
#3 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/DataItemFactory.php(44): SMW\DIProperty->__construct(string, boolean)
#4 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyAnnotators/SortKeyPropertyAnnotator.php(38): SMW\DataItemFactory->newDIProperty(string)
#5 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyAnnotators/PropertyAnnotatorDecorator.php(61): SMW\PropertyAnnotators\SortKeyPropertyAnnotator->addPropertyValues()
#6 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(164): SMW\PropertyAnnotators\PropertyAnnotatorDecorator->addAnnotation()
#7 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(121): SMW\MediaWiki\Hooks\ParserAfterTidy->updateAnnotationsOnAfterParse(SMW\PropertyAnnotatorFactory, SMW\SemanticData)
#8 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(77): SMW\MediaWiki\Hooks\ParserAfterTidy->performUpdate(string)
#9 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/HookRegistry.php(166): SMW\MediaWiki\Hooks\ParserAfterTidy->process(string)
#10 [internal function]: SMW\MediaWiki\Hooks\HookRegistry->SMW\MediaWiki\Hooks\{closure}(Parser, string)
#11 /app/mediawiki/mw/includes/Hooks.php(195): call_user_func_array(Closure, array)
#12 /app/mediawiki/mw/includes/parser/Parser.php(1397): Hooks::run(string, array)
#13 /app/mediawiki/mw/includes/parser/Parser.php(444): Parser->internalParseHalfParsed(string, boolean, boolean)
#14 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(945): Parser->parse(string, Title, ParserOptions)
#15 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(380): DPL\Parse->triggerEndResets(string, NULL, NULL, boolean)
#16 /app/mediawiki/mw/extensions/DynamicPageList/DynamicPageList.hooks.php(307): DPL\Parse->parse(string, Parser, NULL, NULL, boolean)
#17 [internal function]: DynamicPageListHooks::dplParserFunction(Parser, string, string, string, string, string)
#18 /app/mediawiki/mw/includes/parser/Parser.php(3379): call_user_func_array(array, array)
#19 /app/mediawiki/mw/includes/parser/Parser.php(3103): Parser->callParserFunction(PPFrame_DOM, string, array)
#20 /app/mediawiki/mw/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPFrame_DOM)
#21 /app/mediawiki/mw/includes/parser/Parser.php(2917): PPFrame_DOM->expand(PPNode_DOM, integer)
#22 /app/mediawiki/mw/includes/parser/Parser.php(1265): Parser->replaceVariables(string)
#23 /app/mediawiki/mw/includes/parser/Parser.php(441): Parser->internalParse(string)
#24 /app/mediawiki/mw/includes/content/WikitextContent.php(330): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#25 /app/mediawiki/mw/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#26 /app/mediawiki/mw/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#27 /app/mediawiki/mw/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#28 /app/mediawiki/mw/includes/page/Article.php(651): PoolCounterWork->execute()
#29 /app/mediawiki/mw/includes/actions/ViewAction.php(71): Article->view()
#30 /app/mediawiki/mw/includes/MediaWiki.php(495): ViewAction->show()
#31 /app/mediawiki/mw/includes/MediaWiki.php(289): MediaWiki->performAction(Article, Title)
#32 /app/mediawiki/mw/includes/MediaWiki.php(851): MediaWiki->performRequest()
#33 /app/mediawiki/mw/includes/MediaWiki.php(512): MediaWiki->main()
#34 /app/mediawiki/mw/index.php(43): MediaWiki->run()
#35 {main}

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: PageForms 4.1.2 on MW 1.28.0

Yaron Koren-2
Hi,

A web search reveals that you had this same problem last year:

https://sourceforge.net/p/semediawiki/mailman/message/35537332/

As before, I don't know what the cause is. I would do a search through your
code for "PFHooks::initProperties" (a method that was removed a long time
ago) to see where it's getting called.

-Yaron

On Fri, Jul 21, 2017 at 10:06 AM, Phil Legault <[hidden email]> wrote:

> I run update.php and get the following,
>
> ...ldap_domains table already exists.
> ...hitcounter table does not exist, skipping modify field patch.
> ...hit_counter_extension table already exists.
> ...hit_counter table already exists.
> ...page table does not contain page_counter field.
>
> Selected storage engine is "SMWSQLStore3" (or an extension thereof)
>
> Setting up standard database configuration for SMW ...
>
> And on the trace:
>
>
> [cb361b7ee6bac337637b063f] /index.php/Main_Page MWException from line 176
> of /app/mediawiki/mw/includes/Hooks.php: Invalid callback
> PFHooks::initProperties in hooks for smwInitProperties
>
> Backtrace:
>
> #0 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyRegistry.php(500):
> Hooks::run(string)
> #1 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyRegistry.php(86):
> SMW\PropertyRegistry->registerPredefinedProperties(boolean)
> #2 /app/mediawiki/mw/extensions/SemanticMediaWiki/includes/
> dataitems/SMW_DI_Property.php(90): SMW\PropertyRegistry::getInstance()
> #3 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/DataItemFactory.php(44):
> SMW\DIProperty->__construct(string, boolean)
> #4 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyAnnotators/
> SortKeyPropertyAnnotator.php(38): SMW\DataItemFactory->
> newDIProperty(string)
> #5 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/PropertyAnnotators/
> PropertyAnnotatorDecorator.php(61): SMW\PropertyAnnotators\
> SortKeyPropertyAnnotator->addPropertyValues()
> #6 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(164):
> SMW\PropertyAnnotators\PropertyAnnotatorDecorator->addAnnotation()
> #7 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(121):
> SMW\MediaWiki\Hooks\ParserAfterTidy->updateAnnotationsOnAfterParse(SMW\PropertyAnnotatorFactory,
> SMW\SemanticData)
> #8 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/ParserAfterTidy.php(77):
> SMW\MediaWiki\Hooks\ParserAfterTidy->performUpdate(string)
> #9 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> MediaWiki/Hooks/HookRegistry.php(166): SMW\MediaWiki\Hooks\
> ParserAfterTidy->process(string)
> #10 [internal function]: SMW\MediaWiki\Hooks\HookRegistry->SMW\MediaWiki\Hooks\{closure}(Parser,
> string)
> #11 /app/mediawiki/mw/includes/Hooks.php(195):
> call_user_func_array(Closure, array)
> #12 /app/mediawiki/mw/includes/parser/Parser.php(1397):
> Hooks::run(string, array)
> #13 /app/mediawiki/mw/includes/parser/Parser.php(444): Parser->
> internalParseHalfParsed(string, boolean, boolean)
> #14 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(945):
> Parser->parse(string, Title, ParserOptions)
> #15 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(380):
> DPL\Parse->triggerEndResets(string, NULL, NULL, boolean)
> #16 /app/mediawiki/mw/extensions/DynamicPageList/
> DynamicPageList.hooks.php(307): DPL\Parse->parse(string, Parser, NULL,
> NULL, boolean)
> #17 [internal function]: DynamicPageListHooks::dplParserFunction(Parser,
> string, string, string, string, string)
> #18 /app/mediawiki/mw/includes/parser/Parser.php(3379):
> call_user_func_array(array, array)
> #19 /app/mediawiki/mw/includes/parser/Parser.php(3103):
> Parser->callParserFunction(PPFrame_DOM, string, array)
> #20 /app/mediawiki/mw/includes/parser/Preprocessor_DOM.php(1175):
> Parser->braceSubstitution(array, PPFrame_DOM)
> #21 /app/mediawiki/mw/includes/parser/Parser.php(2917):
> PPFrame_DOM->expand(PPNode_DOM, integer)
> #22 /app/mediawiki/mw/includes/parser/Parser.php(1265):
> Parser->replaceVariables(string)
> #23 /app/mediawiki/mw/includes/parser/Parser.php(441):
> Parser->internalParse(string)
> #24 /app/mediawiki/mw/includes/content/WikitextContent.php(330):
> Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
> #25 /app/mediawiki/mw/includes/content/AbstractContent.php(497):
> WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean,
> ParserOutput)
> #26 /app/mediawiki/mw/includes/poolcounter/PoolWorkArticleView.php(140):
> AbstractContent->getParserOutput(Title, integer, ParserOptions)
> #27 /app/mediawiki/mw/includes/poolcounter/PoolCounterWork.php(123):
> PoolWorkArticleView->doWork()
> #28 /app/mediawiki/mw/includes/page/Article.php(651):
> PoolCounterWork->execute()
> #29 /app/mediawiki/mw/includes/actions/ViewAction.php(71): Article->view()
> #30 /app/mediawiki/mw/includes/MediaWiki.php(495): ViewAction->show()
> #31 /app/mediawiki/mw/includes/MediaWiki.php(289):
> MediaWiki->performAction(Article, Title)
> #32 /app/mediawiki/mw/includes/MediaWiki.php(851):
> MediaWiki->performRequest()
> #33 /app/mediawiki/mw/includes/MediaWiki.php(512): MediaWiki->main()
> #34 /app/mediawiki/mw/index.php(43): MediaWiki->run()
> #35 {main}
>
>


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: PageForms 4.1.2 on MW 1.28.0

Laurent Alquier
Hi Yaron

I didn't see an update from Phil (unless he replied directly) so here is
one.

We didn't find the root cause of the issue but we did find an indirect
cause for it.

If we use the 4.1.2 'download' link on the Page Form Install page, the
error happens.
If we use the latest snapshot from git, everything is fine.

- Laurent

On Fri, Jul 21, 2017 at 10:25 AM, Yaron Koren <[hidden email]> wrote:

> Hi,
>
> A web search reveals that you had this same problem last year:
>
> https://sourceforge.net/p/semediawiki/mailman/message/35537332/
>
> As before, I don't know what the cause is. I would do a search through your
> code for "PFHooks::initProperties" (a method that was removed a long time
> ago) to see where it's getting called.
>
> -Yaron
>
> On Fri, Jul 21, 2017 at 10:06 AM, Phil Legault <[hidden email]> wrote:
>
> > I run update.php and get the following,
> >
> > ...ldap_domains table already exists.
> > ...hitcounter table does not exist, skipping modify field patch.
> > ...hit_counter_extension table already exists.
> > ...hit_counter table already exists.
> > ...page table does not contain page_counter field.
> >
> > Selected storage engine is "SMWSQLStore3" (or an extension thereof)
> >
> > Setting up standard database configuration for SMW ...
> >
> > And on the trace:
> >
> >
> > [cb361b7ee6bac337637b063f] /index.php/Main_Page MWException from line 176
> > of /app/mediawiki/mw/includes/Hooks.php: Invalid callback
> > PFHooks::initProperties in hooks for smwInitProperties
> >
> > Backtrace:
> >
> > #0 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> PropertyRegistry.php(500):
> > Hooks::run(string)
> > #1 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> PropertyRegistry.php(86):
> > SMW\PropertyRegistry->registerPredefinedProperties(boolean)
> > #2 /app/mediawiki/mw/extensions/SemanticMediaWiki/includes/
> > dataitems/SMW_DI_Property.php(90): SMW\PropertyRegistry::getInstance()
> > #3 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> DataItemFactory.php(44):
> > SMW\DIProperty->__construct(string, boolean)
> > #4 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> PropertyAnnotators/
> > SortKeyPropertyAnnotator.php(38): SMW\DataItemFactory->
> > newDIProperty(string)
> > #5 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> PropertyAnnotators/
> > PropertyAnnotatorDecorator.php(61): SMW\PropertyAnnotators\
> > SortKeyPropertyAnnotator->addPropertyValues()
> > #6 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/
> ParserAfterTidy.php(164):
> > SMW\PropertyAnnotators\PropertyAnnotatorDecorator->addAnnotation()
> > #7 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/
> ParserAfterTidy.php(121):
> > SMW\MediaWiki\Hooks\ParserAfterTidy->updateAnnotationsOnAfterParse(
> SMW\PropertyAnnotatorFactory,
> > SMW\SemanticData)
> > #8 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/
> ParserAfterTidy.php(77):
> > SMW\MediaWiki\Hooks\ParserAfterTidy->performUpdate(string)
> > #9 /app/mediawiki/mw/extensions/SemanticMediaWiki/src/
> > MediaWiki/Hooks/HookRegistry.php(166): SMW\MediaWiki\Hooks\
> > ParserAfterTidy->process(string)
> > #10 [internal function]: SMW\MediaWiki\Hooks\
> HookRegistry->SMW\MediaWiki\Hooks\{closure}(Parser,
> > string)
> > #11 /app/mediawiki/mw/includes/Hooks.php(195):
> > call_user_func_array(Closure, array)
> > #12 /app/mediawiki/mw/includes/parser/Parser.php(1397):
> > Hooks::run(string, array)
> > #13 /app/mediawiki/mw/includes/parser/Parser.php(444): Parser->
> > internalParseHalfParsed(string, boolean, boolean)
> > #14 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(945):
> > Parser->parse(string, Title, ParserOptions)
> > #15 /app/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(380):
> > DPL\Parse->triggerEndResets(string, NULL, NULL, boolean)
> > #16 /app/mediawiki/mw/extensions/DynamicPageList/
> > DynamicPageList.hooks.php(307): DPL\Parse->parse(string, Parser, NULL,
> > NULL, boolean)
> > #17 [internal function]: DynamicPageListHooks::dplParserFunction(Parser,
> > string, string, string, string, string)
> > #18 /app/mediawiki/mw/includes/parser/Parser.php(3379):
> > call_user_func_array(array, array)
> > #19 /app/mediawiki/mw/includes/parser/Parser.php(3103):
> > Parser->callParserFunction(PPFrame_DOM, string, array)
> > #20 /app/mediawiki/mw/includes/parser/Preprocessor_DOM.php(1175):
> > Parser->braceSubstitution(array, PPFrame_DOM)
> > #21 /app/mediawiki/mw/includes/parser/Parser.php(2917):
> > PPFrame_DOM->expand(PPNode_DOM, integer)
> > #22 /app/mediawiki/mw/includes/parser/Parser.php(1265):
> > Parser->replaceVariables(string)
> > #23 /app/mediawiki/mw/includes/parser/Parser.php(441):
> > Parser->internalParse(string)
> > #24 /app/mediawiki/mw/includes/content/WikitextContent.php(330):
> > Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
> > #25 /app/mediawiki/mw/includes/content/AbstractContent.php(497):
> > WikitextContent->fillParserOutput(Title, integer, ParserOptions,
> boolean,
> > ParserOutput)
> > #26 /app/mediawiki/mw/includes/poolcounter/PoolWorkArticleView.php(140):
> > AbstractContent->getParserOutput(Title, integer, ParserOptions)
> > #27 /app/mediawiki/mw/includes/poolcounter/PoolCounterWork.php(123):
> > PoolWorkArticleView->doWork()
> > #28 /app/mediawiki/mw/includes/page/Article.php(651):
> > PoolCounterWork->execute()
> > #29 /app/mediawiki/mw/includes/actions/ViewAction.php(71):
> Article->view()
> > #30 /app/mediawiki/mw/includes/MediaWiki.php(495): ViewAction->show()
> > #31 /app/mediawiki/mw/includes/MediaWiki.php(289):
> > MediaWiki->performAction(Article, Title)
> > #32 /app/mediawiki/mw/includes/MediaWiki.php(851):
> > MediaWiki->performRequest()
> > #33 /app/mediawiki/mw/includes/MediaWiki.php(512): MediaWiki->main()
> > #34 /app/mediawiki/mw/index.php(43): MediaWiki->run()
> > #35 {main}
> >
> >
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>



--
- Laurent Alquier
http://www.linfa.net
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: PageForms 4.1.2 on MW 1.28.0

Yaron Koren-2
Hi,

I don't know if you're still looking into this, but if so - when you use
the "download" version, where is PFHooks::initProperties being called from?
I'm guessing that this is somehow a Composer issue, but I don't know much
beyond that.

-Yaron

On Fri, Jul 21, 2017 at 10:49 PM, Laurent Alquier <[hidden email]>
wrote:

> Hi Yaron
>
> I didn't see an update from Phil (unless he replied directly) so here is
> one.
>
> We didn't find the root cause of the issue but we did find an indirect
> cause for it.
>
> If we use the 4.1.2 'download' link on the Page Form Install page, the
> error happens.
> If we use the latest snapshot from git, everything is fine.
>
> - Laurent
>
> On Fri, Jul 21, 2017 at 10:25 AM, Yaron Koren <[hidden email]> wrote:
>
> > Hi,
> >
> > A web search reveals that you had this same problem last year:
> >
> > https://sourceforge.net/p/semediawiki/mailman/message/35537332/
> >
> > As before, I don't know what the cause is. I would do a search through
> your
> > code for "PFHooks::initProperties" (a method that was removed a long time
> > ago) to see where it's getting called.
> >
> > -Yaron
> >
>

--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user