We investigate the effects of potential sources of systematic error on the angular and photometric redshift, zphot, distributions of a sample of redshift 0.4 < z < 0.7 massive galaxies whose selection matches that of the Baryon Oscillation Spectroscopic Survey (BOSS) constant-mass sample. Utilizing over 112 778 BOSS spectra as a training sample, we produce a photometric redshift catalogue for the galaxies in the Sloan Digital Sky Survey eight data release imaging area that, after masking, covers nearly one quarter of the sky (9913 deg2). We investigate fluctuations in the number density of objects in this sample as a function of Galactic extinction, seeing, stellar density, sky background, airmass, photometric offset and North/South Galactic hemisphere. We find that the presence of stars of comparable magnitudes to our galaxies (which are not traditionally masked) effectively removes area. Failing to correct for such stars can produce systematic errors on the measured angular autocorrelation function, w(θ), that are larger than its statistical uncertainty. We describe how one can effectively mask for the presence of the stars, without removing any galaxies from the sample, and minimize the systematic error. Additionally, we apply two separate methods that can be used to correct for the systematic errors imparted by any parameter that can be turned into a map on the sky. We find that failing to properly account for varying sky background introduces a systematic error on w(θ). We measure w(θ), in four zphot slices of width 0.05 between 0.45 < zphot < 0.65, and find that the measurements, after correcting for the systematic effects of stars and sky background, are generally consistent with a generic Λ cold dark matter model, at scales up to 60°. At scales greater than 3° and zphot > 0.5, the magnitude of the corrections we apply is greater than the statistical uncertainty in w(θ). The photometric redshift catalogue we produce will be made publicly available at http://portal.nersc.gov/project/boss/galaxy/photoz/.