Page 1 of 1

Parse error: syntax error, unexpected '%'

Posted: 2017-04-20 00:36
by apirnar
Upgraded to 5.61 generated application into empty new directory structure.

Getting following error message instead of table view of any table that has a date field filled in from a parent record.

Parse error: syntax error, unexpected '%' in /home/content/07/5639307/html/ger/test/yasliMD_view.php on line 96

The corres[ponding line in the _view.php // mapping incoming sort by requests to actual query fields section is
4 => 'if(`yasli1`.`dogum`,date_format(`yasli1`.`dogum`,'%Y/%m/%d'),'')',

the other examples in other _view.php files are as follows also with the date formatting function.
8 => 'if(`yasli1`.`dogum`,date_format(`yasli1`.`dogum`,'%Y/%m/%d'),'')',
5 => 'if(`yasli1`.`dogum`,date_format(`yasli1`.`dogum`,'%Y/%m/%d'),'')',

Please advise, thanks.

Re: Parse error: syntax error, unexpected '%'

Posted: 2017-12-14 09:16
by a.gneady
Sorry for the loooong delay :)
Does this issue still persist? Are you using 5.61 or 5.62 currently?