Parse error: syntax error, unexpected '%'
Posted: 2017-04-20 00:36
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.
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.