Schools face funding shortage in millions