Hi folks,
I’m getting the following error message:
Parse error: parse error in C:\wamp\www\gibbon\modules\Finance\budgetCycles_manage_add.php on line 203
What can I do?
Kind regards,
Roman
Roman,
You have been busy today! I can’t seem to recreate this issue. I am looking at the v11 code for this file, on line 203, and all I see is a closing brace, which does have a matching partner, and so I wonder what might be causing this issue? Can you try and download the file again, and use the new one to replace your old one, from the link below:
https://raw.githubusercontent.com/GibbonEdu/core/master/modules/Finance/budgetCycles_manage_add.php
Let me know if this changes anything.
Thanks,
Ross
Hi Ross,
Yeah, I can confirm that. I did the same analysis before reporting this issue. The apache and php logs don’t help as well.
I tried your file but the problem remains. It’s strange.
Kind regards,
Roman
Roman,
That is very odd. You have had better experiences in the past with XAMPP over WAMP. Would you be able to test it out in XAMPP and see what you get?
Thanks,
Ross
Hi Ross,
It was just a little bug.
Quick fix:
File: modules\Finance\budgetCycles_manage_add.php
Line: 153
Changed <? into <?php
Kind regards,
Roman
Roman,
Ah, very well caught! We cleaned up these old short codes a few versions ago, but it seems this one (and a couple others) escaped the net. I have fixed them for v12, and included them in the following commit:
https://github.com/GibbonEdu/core/commit/9a3a04661f7e99867b30e3f072f92234eaf4fa63
Cheers,
Ross