From: Jack D. P. <jac...@ps...> - 2009-08-29 16:07:16
|
Was trying to create a new page using something like: {{{info|page name=<template[field]>-<unique number;start=000001>}}} However, I found another work-around which makes it irrelevant. However, it points to an existing deprecated usage error. As of 1.13 (I believe), wfElement was deprecated in favor of Xml::element( $element, $attribs, $contents ). It plugs a warning into the phperrors.log file every time called - which can be resource consuming. I believe this could be remedied by replacing lines 517, 538, 559, and 661 of SF_FormUtils.inc with: $text = " " . (function_exists("Xml::element") ? Xml::element('input', $temp, '') : wfElement('input', $temp, '') ). "\n"; Would keep it backwards compatible. Jack > -----Original Message----- > From: Laurent Alquier [mailto:la...@al...] > Sent: Wednesday, August 26, 2009 9:18 PM > Cc: sem...@li... > Subject: Re: [Semediawiki-user] 1.15.1 - Just a head's up > > Hi Jack > > Where do you get this error ? > > I upgraded to SMW 1.4.3 and MW 1.15.1 over the weekend and so > far, everything is holding without PHP errors. > > - Laurent > > On Aug 21, 2009, at 10:37 PM, Jack D. Pond wrote: > > > Ran across this just now - using MW 1.15.1 > > > > Use of wfElement is deprecated. Called from > > SFFormUtils::saveButtonHTML in > > C:\Inetpub\wwwroot\Wiki\BizOps\extensions\SemanticForms\includes > > \SF_FormUtil > > s.inc at line 517 > > Use of wfElement is deprecated. Called from > > SFFormUtils::showPreviewButtonHTML in > > C:\Inetpub\wwwroot\Wiki\BizOps\extensions\SemanticForms\includes > > \SF_FormUtil > > s.inc at line 538 > > Use of wfElement is deprecated. Called from > > SFFormUtils::showChangesButtonHTML in > > C:\Inetpub\wwwroot\Wiki\BizOps\extensions\SemanticForms\includes > > \SF_FormUtil > > s.inc at line 559 > > > > May also be causing other problems. > > > > Jack > > > > > > > ---------------------------------------------------------------------- > > -------- Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day trial. Simplify your report design, integration > > and deployment - and focus on what you do best, core application > > coding. Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Semediawiki-user mailing list > > Sem...@li... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, > integration and deployment - and focus on what you do best, > core application coding. Discover what's new with Crystal > Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |