We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18995
    • 13 Posts
    hello,

    Having problems accessing the manager after moving the site to a new server. The front end works fine but get the following error on the manager login:

    
    Warning: Cannot modify header information - headers already sent by (output started at /home/s/k/skincamo/public_html/manager/includes/config.inc.php:1) in /home/s/k/skincamo/public_html/manager/index.php on line 148

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/s/k/skincamo/public_html/manager/includes/config.inc.php:1) in /home/s/k/skincamo/public_html/manager/includes/config.inc.php on line 61

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/s/k/skincamo/public_html/manager/includes/config.inc.php:1) in /home/s/k/skincamo/public_html/manager/includes/config.inc.php on line 61

    Warning: Cannot modify header information - headers already sent by (output started at /home/s/k/skincamo/public_html/manager/includes/config.inc.php:1) in /home/s/k/skincamo/public_html/manager/includes/config.inc.php on line 75


    Any help would be gratefully appreciated..
      www.mediagang.co.uk: Developing your business online
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Looks like something is wrong with your config.inc.php file. If it’s throwing a php error message, that would be why the headers have already been sent.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 18995
        • 13 Posts
        Thanks for the reply. The only information changed in the config.inc.php relates to the database connection. I’ve checked for whitespace around the php tags.
        I thinking it could be something to do with the charset ? after googling for information on "  " been displayed at the top of the page..

        Do you have any suggestions/ideas?

          www.mediagang.co.uk: Developing your business online
          • 18995
          • 13 Posts
          I’ve found the solution to my problem.

          Changing the: $database_connection_charset = ’UTF-8’; to use UTF-8 resolved the issue
            www.mediagang.co.uk: Developing your business online
            • 22303 MODX Staff
            • 10,725 Posts
            That should actually be utf8 not UTF-8.