added showing last php errors for ajax call.