Why isn't my 10 ft long charger not charging my iPhone after the update?

Ever since the ios7 update, every time I plug in my 10 foot charger (not made by apple), it won't charge and says that "this accessory may not be supported." It only charges if I leave it untouched for long periods of time. When I plug it in at night it is only at %70 when I wake up 7 hours later. My friend has the same charger and has no problem with hers. Any suggestions?

Its broken