Error while trying to parse a .php file

Hi and Happy holidays!
I’m trying to run an Ikariam private server through this file:MyIkariam - Alpha and upload it to my local server so I can play with my friends. I ran through the setup process, and when I finished and opened the site (localhost) this error popped up: Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\application\views\languages.php on line 95. Can you please help me?
Here is the code: languages.php
By the way, line 95 is the last one.
Thank you! :smiley:

If it’s giving a parse error on the last line, it generally means that you’ve opened something and not closed it, an if/then, a loop or something with curly braces. Can’t check the code as it says “temporarily unavailable”.

Here is a Dropbox link for the code: languages.php

Are short tags enabled?
The opening if curly braces are in <?php but the closing are in <?

Done that, but it says: Parse error: syntax error, unexpected ‘<’ in C:\xampp\htdocs\application\views\languages.php on line 2. What to do now?

If it’s the line 2 shown in the dropbox, my guess would be that the code isn’t “going in and out of PHP” correctly.
i.e, The parser thinks it’s in PHP but sees HTML

Okay. So, how to fix that?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.