testing SQL error on live site