Help incCommon.php

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
salemsaleem76
Posts: 19
Joined: 2016-04-28 09:52

Help incCommon.php

Post by salemsaleem76 » 2016-04-28 10:00

Hello Everyone,

I am new to AppGini and my first application went fine. When I've added some other tables and regenerate and uploaded the new files I got the following error:

Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /home/firas/public_html/NQS/incCommon.php on line 258

I did not added any customization to the code, so I am not sure how this could happen.

The indicated file is attached.

Reagrds,
Salem
Attachments
incCommon.zip
(13.9 KiB) Downloaded 187 times

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Help incCommon.php

Post by AhmedBR » 2016-04-28 21:05

I compared your file with mine, seems to be ok at 258.

Did you try regenerating the file?
(Delete it and regenerate the project, AppGini Should regenerate)
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

salemsaleem76
Posts: 19
Joined: 2016-04-28 09:52

Re: Help incCommon.php

Post by salemsaleem76 » 2016-04-29 10:42

I just deleted everything locally and remotely and it did work, but I wonder, does that mean if I added more tables later to the project, I'll keep having that?

Thanks,
Salem

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Help incCommon.php

Post by AhmedBR » 2016-04-29 12:21

You see usually one of two things:

1. Corrupted file from Windows or server.
Once you regenerate the project it will be overwritten and the problem will be solved alone.

2. You made some changes to your project BUT did not OVERWRITE the file, generating conflicts between the NEW project and the OLD incCommon file.
Again regenerating the project will solve the problem (you do not need to delete everything locally and remotely, just regenerate the project files is good enough and update remote location).

Adding Tables will require a NEW incCommon.php, if you did not overwrite, conflict will happen.

If one of the above two happens again yes, otherwise no.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

Post Reply