it was the index.php file of the template, and after some debugging I found that the problem is the using of short php tags, like this:
<?
The server was not configured to allow short tags.
For maximum compatibility, it is preferred to use full tags, like this:
<?php
Hope this help you all!