Also check Advanced Settings and make sure page/template is published. This is a default behavior for unpublished non-clonable templates.
Only to the problematic index.php template.Did you add the <cms:template executable='1' /> in any of the php pages?