We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26562
    • 2 Posts
    My ModX installation ran fine, and the site was up running and fully functional for several months.

    I needed to change the MySQL DB password, so I did so.

    When to the config.inc.php file and updated the password there.

    Now the front end works fine.

    When attempting to access the manager I see this:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/includes/config.inc.php:1) in /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/includes/config.inc.php on line 60

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/includes/config.inc.php:1) in /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/includes/config.inc.php on line 74

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/includes/config.inc.php:1) in /nfs/c02/h11/mnt/42607/domains/curbsidesplendor.com/html/manager/index.php on line 168



    I’ve made no changes w/ ssh to file access or anything like that.

    Any ideas how a db password change could have started this and/or how to fix?
      • 22303 MODX Staff
      • 10,725 Posts
      Sounds like you added extra whitespace either before the opening <?php or after the closing ?> tags in the config.inc.php file when editing it.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        If you edited it with a text editor using UTF8, it may have added the dreaded BOM at the beginning of the file. Make sure if your editor is in UTF8 that it doesn’t include the BOM.

        http://unicode.org/faq/utf_bom.html
          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
          • 26562
          • 2 Posts
          You guys Rule.
          Saved the config with no BOM and totally solved my problem grin