Max Fischer's picture


Having troubles with a fresh install of the mantis image on EC2. 

[Tue Jan 12 16:38:14.029334 2016] [:error] [pid 1162] [client] PHP Parse error:  syntax error, unexpected '<' in /var/www/mantis/index.php on line 33

row 33 says

<script src="" async></script>

When I follow the link, I'm getting an Error 520 from cloudflare. The infographic says, that the Host has an Error.  (screenshot attached)


I'm not getting any issues when installing mantis locally as a virtual VM. 


Is this a known issue?  I couldn't find anything

any help appreciated


Jeremy Davis's picture

THanks tons for reporting. I have already responded on GitHub. But for completeness I'm responding here too.

I think this is something to do with our "fence" for headless systems, but if you launch via the Hub then the "fence" page shouldn't be displaying at all anyway...

Max Fischer's picture

Thanks for your time and support! 

Sorry I forget to update this post with the link to github. 


Liraz Siri's picture

Thanks Max for reporting this. FWIW, I committed a fix to inithooks and closed the issue. We still need to refresh the images to include the updated inithooks but as soon as we do this issue will go away.

Add new comment