Oops...

More errors and an unresolved issue: a function that should be static
and can not be !

Similar Errors that I could fix:
-----------------------------------------------------
SF_FormClasses.inc
- SFForm::create (non static)
- SFTemplateInForm::create (non static)
- SFFormTemplateField::create (non static)
- SFFormTemplateField::createFromDefinition (non static)
SF_TemplateField.inc:
- SFTemplateField::newWithValues (non static)
SF_FormInputs.inc:
- all functions should be static (most of them at least)

!!! Errors that I could not fixed: !!!
-----------------------------------------------------
SF_FormUtils.inc:
all functions should be static (most of them at least) BUT
watchInputHTML and cancelLinkHTML could not because of the use of
$this !


Sorry,
Acktlike.



On Jan 7, 12:27 pm, packtlike <[email protected]> wrote:
> Yes, the fix you describe works for me.
> (Sorry I tried that but can not see the good result due to a rendering
> cache issue)
>
> New errors appears but I fixed all of them and everything is working
> right now.
> For your information here are the errors:
> * In SF_LinkUtils
>      - getAlternateForms (Non-static method)
>      - getDefaultForm (Non-static method)
> * In SFParserFunctions
>      - renderArrayMapObj (Non-static method)
> * In all Special Pages
>      - Execute methods of each SpecialPage inherited class should be
> compliant with SpecialPage::execute($param)
>           => execute() should be execute($param)
>           => execute($query='') should be execute($query)
>
> Thanks again
> Acktlike
>
> On Jan 6, 7:21 pm, Yaron Koren <[email protected]> wrote:
>
> > 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