Fixing php alerts and redirects.