PHP error " Cannot modify header information"

Avatar
  • Answered
I tried to transfer my website from my laptop to inmotion servers but Im getting one error, my best guess is that it is something with php confoguration as the website works fine on my laptop (xampp).
Error:
Warning: Cannot modify header information - headers already sent by (output started at /home/(username here)/public_html/ctp/admin/config.php:48) in /home/(username here)/public_html/ctp/admin/config.php on line 81

Any help appreciated
Avatar
Scott
Hello,

Sorry to hear you are getting a php error on your site. This particular error happens when a php file has already started to construct the output but runs into another command for headers. This is not possible and confuses the server, so it gives the error. I checked your site and it appears to have been fixed, unless it is a specific page or URL. If that is the case please provide that URL so we can check further.

Kindest Regards,
Scott M