Sounds like the wires from the cassette (where the fuse is located )to the flush pcb have suffered a common problem - corrosion(blackening of the copper conductors ) and should be replaced . RE the two connectors on the small side of the PCB , it is a universal one which is used for different versions of the toilet , for instance a remote solenoid , vent kit and other options ( see the pads near the switch which is for a 20 pin chip - not fitted). so nothing is connected to them. the edge connectors fit with the leads facing down with the PCB component side up. the attached picture show the correct way (non component side up) the supply wires are on the right , then the pump wire ( brown blue two core) and the reed switch input (black) wires on the left.