Maybe it's a piece of code gone rogue on the portal.php file?