It can be glued with the X-15 adhesive. Make sure that you water test the pan and put the glued part under water.
I would recommend that you replace the whole pan though. Gonna' be under the tile and is the foundation of your waterproofing.
Make sure to pre-slope.
I've never seen a PVC pan installed by myself or anyone else perfectly smooth.