Update index.php

Change error reporting