Well you need to see if you have fuel pressure. If a pump gets weak and the in tank check valve leaks then the fuel will vaporize in the fuel rail when the engine is hot.
Otherwise if no spark it may be the crank sensor or DIS module if you have one.