Can't access internet but I'm connected to wifi.
Have you tried dialing *#*#526#*#*   ?

It fixed a wifi connection problem I had.

I dialed it on the phone, got the "call cannot be completed" message. Hung up, restarted the phone, then went through the whole phone call again.  

It worked. My wifi problem is fixed.  I kid you not. Google it. I hope this helps.