Page 1 of 1

Error in generated files

Posted: 2024-02-01 00:49
by rpierce
Hello,

I am using version 23.17 revision 1557

I recently added a new table to by database and generated the files in AppGini. When I attempt to test it in Xampp I get the following error message:
Parse error: syntax error, unexpected token "=>", expecting "]" in C:\xampp\htdocs\diary_new\incCommon.php on line 2356

Below is line 2356 from incCommon.php:
'sortable-fields' => [0 => '`she_notes`.`snote_id`', 1 => 2, 2 => 3, 3 => "IF(, CONCAT_WS('', ), '') /* Client */" => "client", 4 => 5, 5 => 6, 6 => 7, 7 => 8, 8 => '`she1`.`she_id`'],

Any help with this is appreciated.

Ray

Re: Error in generated files

Posted: 2024-03-21 13:45
by onoehring
Hi Ray,

maybe if you could post the lines around the line of error from the incCommon.php as well we could try to solve the problem.
Olaf

Re: Error in generated files

Posted: 2024-03-21 15:31
by jsetzer

Code: Select all

3 => "IF(, CONCAT_WS('', ), '')
This could be the reason. Perhaps a misconfigured lookup field?