I get this error on a script that I recently modified: XXX is the end of the file. All I did was cut some piece out of the script that I no longer need. I already made sure that there are no blank spaces after the closing "?>". And I am pretty sure that I didn't remove any of the brackets. What is the best way to debug this?
I just read that this error can also be because of a missing ending quote. I will check the code for that now.
I can't find any missing quotes. And there are no missing semicolons, either. How do I locate the error? EDIT: Amazing. Some code that I had commented with "//" was causing this problem. One should think this code is not parsed!