Fog caused flight diversions at Sacramento International Airport due to a problem with the runway visual range equipment.