The problem looks like in one or more solder joints or a weak contact on the edge connector.
First case it's just a matter of passing a hot air over the solder to re-melt it.
For the second case you need a very small pliers to make the connector apply a bit of more pressure.