Parse error: syntax error, unexpected '%'

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
apirnar
Veteran Member
Posts: 40
Joined: 2013-04-15 17:06

Parse error: syntax error, unexpected '%'

Post by apirnar » 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.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

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

Post by a.gneady » 2017-12-14 09:16

Sorry for the loooong delay :)
Does this issue still persist? Are you using 5.61 or 5.62 currently?
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

Post Reply