Did you place both the shifters and derailleurs in the smallest cog/chainring (low gear in front, high in rear) positions before attaching the shift wires?
Try following these procedures exactly, withour skipping any steps:
Front Derailleur Adjustment - Park Tool
Rear Derailleur Adjustment - Park Tool