Are you sure you didn't accidentally abandon the quest? Abandoning it erases all progress, including the materia enhanced weapon.