The only way I can see this happening is if someone plugged it, then you had a leak from your fill valve or pressure assist. Are you sure the supply line is intact? Is your sewer prone to back up from the main after a downpour? Why didn't your floor drain handle the overflow? Is the toilet set over a floor drain? Not a plumber.