It\'s hard to try to diagnose these without actually seeing them in-game.
It looks like your enhancers are fine, but if your ship was too large to fit originally (the green box lies), when you tried to cut it down it\'s possible the dimensions weren\'t recalculated due to a bug. If that happened to you, it would prevent docking no matter how much you cut it down until you happen to remove something that does cause them to recalculate properly. (If it happens, you can try adding a new block out further than anything else on another side to extend that dimension, then removing it, which, if it works, will recalculate all the dimensions. If it doesn\'t, you would have to try another side until you find one that works.)