Since these are two separate issues, let’s focus on the uploading first. Please check your browser inspector. In particular, the Console and Network tabs during the upload attempt. They should have more clues.
P.S. The headers already sent matter seems to be this one, but it also appears you already know that. [PHP] Errors in log, also troubles uploading large video files - #3 by jtr