Default Galaxy S I9000 only charges with USB cable

I am hoping that someone out there can help me. My sgs i9000 does not charge when using the mains charger. It charges when plugged into a laptop is in the USB cable okay though. I have bought, both a new battery and a new charger, but the problem persists. Has anyone had or heard of this problem? Better still, does anyone have a solution?

I thank you all in advance.

Sent from my GT-I9000 using XDA Premium 4 mobile app