Sorry I am late to your repair but am posting this, hopefully to assist others with the same problem.
Im not familiar with Apple products in general, but by your description, it sounds like it may be similar to a connector problem I had on a Sony laptop keyboard connector.
I had snapped off the little plastic tab latch that holds in the keyboard ribbon cable on a laptop, and found an easy way to fix it.
The same problem can occur on may different devices, such as CD players, laptop keyboard connectors, camera ribbon cable connectors, etc.
If you break off this little tab, the ribbon cable is not held in at all, and just falls out of the connector.
On the off chance that you have the same type of problem, check out my YouTube video I had posted last year. Not sure what is wrong with your connector. If it is the same problem, you can easily fix it in a few minutes.
Easy Ribbon Cable Connector Fix, Repair.