A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/aphotel/public_html/application/config/config.php:1)
Filename: libraries/Session.php
Line Number: 366
#
Weird part of it, there is no session.php file in libraries folder
Remove print_r(); in controller, model or session. There are problem or warning when website upload in host server not warning in localhost
I changed encoding to 'UTF-8 without BOM' for all php files in model, controller and helper folders and that helped.