Update index.php

error reporting updated