DynamicArticleList

View: New views
2 Messages — Rating Filter:   Alert me  

DynamicArticleList

by clansco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
Upgrading SMW
in second pass, php5 SMW_refreshData.php -v
an error occurs :
Fatal error:  
Call to a member function invalidateCache() on a non-object
in ... extensions/DynamicArticleList.php on line 30

I have to remove DynamicArticleList in pages that use it,
and re-install after script processing

regards,
ff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: DynamicArticleList

by Markus Krötzsch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Samstag, 9. August 2008, clansco wrote:

> Hello,
> Upgrading SMW
> in second pass, php5 SMW_refreshData.php -v
> an error occurs :
> Fatal error:
> Call to a member function invalidateCache() on a non-object
> in ... extensions/DynamicArticleList.php on line 30
>
> I have to remove DynamicArticleList in pages that use it,
> and re-install after script processing
Yes, this is a bug in the extension. I assume it uses the PHP global $wgTitle
even though MediaWiki explicitly says that this should never be used during
parsing. Unfortunately, this does not matter for simple direct web-requests
and only gives problems when code is run from scripts or in update jobs.
Hence the error often goes unnoticed for some time.

Please report the problem to the extension maintainer.

Regards,

Markus

>
> regards,
> ff
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user


--
Markus Krötzsch
Semantic MediaWiki    http://semantic-mediawiki.org
http://korrekt.org    markus@...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

signature.asc (196 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price!