Website not loading, getting syntax error

Website URL

www.theitcouncil.com.au

Error Message

Parse error : syntax error, unexpected token “:”, expecting “(” in /home/vol15_6/infinityfree.com/if0_36733347/htdocs/sitepro/index.php on line 2

Other Information

Hi all, Kindly help me with steps on how to resolve this error on my website, thanks heaps.

/home/vol15_6/infinityfree.com/if0_36733347/htdocs/sitepro/index.php on line 2

Hey there, the error message shows that there’s a syntax error in you
index.php on line 2. it’s expecting a parenthesis instead of a colon

To fix this open your index.php file and check the second line where it has a colon instead of a parenthesis

5 Likes

That looks like a problem in the generated code from Site.Pro. I do not recommend you manually edit this file, because the files are not supposed to be edited, and parts of the source code is protected against modifications.

I suggest you first try to go into the Site.Pro builder and publish your site again. If Site.Pro already fixed the issue on their end, that will replace your broken code with correct code.

3 Likes

There are a billion colons in line 2, which one should I replace?

Thanks admin, I tried publishing again but now I’m getting a server error.

Never mind, tried it again and it works!!! Thanks heaps!

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