I have a successful install of SS working on my site (and it has been for a while). But recently I wanted to check out the staticpublisher so I followed the instructions on http://doc.silverstripe.org/staticpublisher and did all steps.
But now the site redirects to install.php page in an infinite loop.
Ok I found out what the problem. Since I was setup for multisite using Symbolic Links to the CMS and Sapphire folder, I needed to change
line 38ish in static-main.php from
define('BASE_PATH', rtrim(dirname(dirname(__FILE__))), DIRECTORY_SEPARATOR);
define('BASE_PATH', rtrim(dirname(dirname($_SERVER['SCRIPT_FILENAME'])), DIRECTORY_SEPARATOR));