iPhone wont connect to internet with IOS 8
I've updated my iPhone 5c to IOS 8 and I now can't connect to the internet. I've tried both wifi and 4g on the cellular network but it won't connect on either. Wifi is working as I can connect to my home network and control my SONOS music system, and home network connects my mac to the internet so the router is working.
iMac, Mac OS X (10.7.2)