Yah either spark ground or knock sensors disconnected. double checked all the other connections?
86 325es (wrecked by careless driver)
87 325 300k (project for life) aka 1BADETA/Christine
89 525i 190k Winter/Drift Poutana
00 540is 6spd 223k (daily driver) new motor at 214k due to chain guide failure