CTD after entering departure and arrival (XXXX/YYYY) on the INIT page of A310 MCDU

I’m in nav mode in the A310 but the auto pilot doesn’t follow the programmed route or the flight director. It also doesn’t turn when I put it in heading select.