If the splines were ok on the first motion shaft on the g/box,and no inner driveshafts are turning then it sounds like an internal problem with the gearbox,you could try and remove the driveshafts and have a look to see if the diff is turning when in drive and see if you can see with a torch the sun and planet gears in the diff are in position.
cdc
December 2012