Your first answer is correct. 'More than a century of debate has occurred'. While the second sentence does still makes sense, we English would never word it in that way. The simplest way to explain this is probably like this, generally whenever we refer to a time span in the past when describing a noun, the time span comes before the noun. This isn't a solid rule in English, it's just common practice, but most people would choose to write it like your first answer. Although I would point out that both sentences are peculiar, because you wouldn't usually use the verb 'occurred' to descried something that didn't happen quickly.