Receiving text messages when 'phone is turned off - Stuartli
From Settings, you should be able to locate Mobile Data/APN or whatever and check if your carrier, whether it's EE, Vodaphone, O2 or, in my case, GiffGaff is listed as the Default.
If not you will have to enter the correct information into the configuration.