I tried rebuilding and reinstalling SilverStripe...and I get this strange PHP code at the beginning of the pages. Any ideas?
e'); $page->flushCache(); $page = DataObject::get_by_id("SiteTree", $SQL_id); $page->Status = "Unpublished"; Director::redirect($this->getParent()->Link()); } } } ?>