Roger,

The SHIFTOUT command is software bit-bang only.
It does not use the hardware MSSP module.

When you enable the MSSP, it takes control of those pins and you can no longer use SHIFTOUT.

Just comment out all the SSP stuff.