[TYPO3-english] Typo3 6.2. WEC Site Config
Wiesław Golsz
golsz at interia.pl
Mon May 9 18:06:28 CEST 2016
Hi,
I change in line 139
if (t3lib_div::_POST('submit') ||
(*t3lib_div::testInt(*t3lib_div::_POST('submit_x')) &&
*t3lib_div::testInt(*t3lib_div::_POST('submit_y')))) {
to
if (t3lib_div::_POST('submit') ||
(*\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger(*t3lib_div::_POST('submit_x'))
&&
*\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger(*t3lib_div::_POST('submit_y'))))
{
Here it looks ok, but I received error in line 177:
$tmpl->ext_readDirResources($TYPO3_CONF_VARS['MODS']['web_ts']['onlineResourceDir']);
*Fatal error*: Call to undefined method
TYPO3\CMS\Core\TypoScript\ExtendedTemplateService::ext_readDirResources()
in
*/home/www/6.bestchoicefx.com/typo3conf/ext/wec_config/constants/class.tx_wecconfig_constants.php*
on line *177
*Already near the end?
Regards, Wieslaw
On 2016-05-09 13:06, Jigal van Hemert wrote:
> Hi,
>
> On 09/05/2016 00:45, Wiesław Golsz wrote:
>> Thx Jigal, if I understand correctly, it is not possible is to use "WEC
>> Site Config".
>
> I didn't mean to say that. There isn't a version in TER that is
> compatible with 6.2, but with the changes you are making it will
> eventually become compatible.
>
> The change for that fatal error would just be to replace the call to
> the function testInt() with the function I mentioned (keep the
> parameters, just change the entire function name (plus the path in
> front of it).
>
More information about the TYPO3-english
mailing list