Error in generated files

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
rpierce
Veteran Member
Posts: 258
Joined: 2018-11-26 13:55
Location: Washington State

Error in generated files

Post by rpierce » 2024-02-01 00:49

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

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1161
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Error in generated files

Post by onoehring » 2024-03-21 13:45

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

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Error in generated files

Post by jsetzer » 2024-03-21 15:31

Code: Select all

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

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply