I don’t know that I have seen these specific ZIF connectors before, but I always dislike ones that hold the cable in with just friction. It is SO easy to do this exact thing.
In a perfect world, I would say replace the connectors. But that presumes soldering experience. And ability to find new connectors. It would be doable without a ton of soldering know how (in my opinion), but they are super prone to melting, so they take some finesse to do properly .
In the absence of your ability to do that, you can attempt to repair these so they are solid enough to hold in the cable. Some good tape may be enough to keep it in place. It’s not a very elegant solution, but it may do the job. Otherwise, you can try to glue them together, but that’s a pretty precision job. I am sure there are better things for this, but I have used superglue and baking soda mixed together for stuff like this in other cases. Just never on anything that small. But mixed together it cures very quickly (it’s a matter of seconds when it goes). And it’s quite strong.