Very interesting... I looked it up, and apparently some PHP installations
are stricter than others about requiring all static functions to be labeled
as "static"; it looks like it depends on the PHP version, and the presence
of "E_STRICT" in php.ini. It's my fault, really - I was planning to add the
static declaration to all the new functions in SF 1.4, but I stopped halfway
when I saw that it was working fine without them.
Anyway, if you can, please go into the file
"/includes/SF_ParserFunctions.php" and change the calls "function
registerFunctions" and "function languageGetMagic" to "static function
registerFunctions" and "static function languageGetMagic", respectively, and
let me know if that fixes the problem.

I wonder if this is the same problem that Davide saw...

-Yaron


On Tue, Jan 6, 2009 at 12:40 PM, packtlike <[email protected]> wrote:

>
> Hi,
>
> I have just installed Mediawiki & Semantic wiki with success.
> When I installed Semantic Form, I have got some errors loading any
> pages.
>
> Here are the errors:
> Strict Standards:  Non-static method
> SFParserFunctions::languageGetMagic() cannot be called statically in
> [mediawikipath]\includes\Hooks.php on line 113
> Strict Standards:  Non-static method
> SFParserFunctions::languageGetMagic() cannot be called statically in
> [mediawikipath]\includes\Hooks.php on line 117
> Strict Standards:  Non-static method
> SFParserFunctions::registerFunctions() cannot be called statically in
> [mediawikipath]\includes\Hooks.php on line 113
> Strict Standards:  Non-static method
> SFParserFunctions::registerFunctions() cannot be called statically in
> [mediawikipath]\includes\Hooks.php on line 117
>
> Versions:
> MediaWiki       1.13.3
> PHP     5.2.8 (apache2handler)
> MySQL 5.0.67
> Semantic MediaWiki (Version 1.4.1)
> Semantic Forms (Version 1.4.1)
>
> Any idea ?
> Thanks
> Acktlike
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to