Turning on PHP short tags
Transferring a client's site over to us from another agency, the login form was returning errors because the site had been built using PHP short tags. They look like <? instead of <?php.
Fixed by turning on short tags in php.ini file:
short_open_tag = Off