No spark tdc sensor ?

First of all the fuel pump went on my 07reg 197 so I changed that fuel is now entering the rail but it appears I have no spark either would the tdc sensor stop it from sparking ? Car was running fine and now she won't start any help would be appriected
 
First of all the fuel pump went on my 07reg 197 so I changed that fuel is now entering the rail but it appears I have no spark either would the tdc sensor stop it from sparking ? Car was running fine and now she won't start any help would be appriected

Did you solve this issue mines just done the same ??