Syntax error, unexpected 'Fn' (T_FN), expecting identifier (T_STRING)

FuzMic 22 Nov, 2021
Hi folks
I am using CF5 and when i click on a form or create a new form the above syntax error will pop up. When i was using CF5 years ago, i never get this. How to resolve this. Needs help.
FuzMic 22 Nov, 2021
I just found that in window 7 with wampserver there is no such error. This error occurs in the pc running win 10 & xampp. Honestly i don't know if this is the cause; as otherwise both localhost website are identical.
GreyHead 22 Nov, 2021
Hi FuzMic,

This may be a problem with later versions of PHP. Please check the last section in this FAQ - hopefully that will help.

Bob
FuzMic 22 Nov, 2021
Bob bro noted with thanks
FuzMic 23 Nov, 2021
Bob senior admin bro

Like to feed back to share for others. My wampserver was running on php v 7.3.5 while xampp runs on 7.4.5, hence the latter instance with the higher php version flag this error.

Once i added a new folder fn1 in "administrator...events" with the changes suggested by @Elitakey on fn.php to fn1.php, voila error pop up gone. Thank you bro for the lead.🤣 Also a word of thanks to Elitakey for a clear layout when Max is in hibernation. Peace2U.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger