Two files shared exactly same name existed simultaneously and it stopped working as an index file. I don't know what is going on but apparently need to restore files for now...