We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4831
    • 57 Posts
    hi everyone,
    I’ve a big issue with the modx manager:
    once I’ve modified the config.inc.php (with vista notepad), I’ve this error when I try to access /manager/

    Warning: Cannot modify header information - headers already sent by (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/index.php on line 148
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/includes/config.inc.php on line 59
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/includes/config.inc.php on line 59
    
    Warning: Cannot modify header information - headers already sent by (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/includes/config.inc.php on line 73

    I’ve just changed my mysql settings to a new mysql server. I’ve tried to change the charsetconnexion from latin1 to utf-8. When I saw character issu on my website, I’ve decided to do come back to latin1.
    And now, even I come back to my original mysql base, I can’t access to manager.
    The login sequence stop but I can see that I’m logged in because the quickedit menu appear on the frontoffice.
    After logged in, the manager still blank and report these error:
    Warning: Cannot modify header information - headers already sent by (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/index.php on line 148
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/includes/config.inc.php on line 59
    
    Warning: Cannot modify header information - headers already sent by (output started at /homez.157/videov/www/manager/includes/config.inc.php:1) in /homez.157/videov/www/manager/includes/config.inc.php on line 73

    I’ve searching everywhere : files or database... I can’t find where it come from...
    I guess it come from session var but I don’t find where it’s stored...
    I’ve reloaded and change my browser, delete cookies, change the $site_sessionname... nothing works.
    I’m using 0.9.6.1p2 release of modx, modxlights theme for the manager, francais-utf8 langage files, UTF8 charset
    If someone could help me.
      • 16278
      • 928 Posts
      If your server is running Linux, editing in Windows Notepad and uploading may be the cause of your problems, due to differences in line-end markers. I had a similar experience the other day: http://modxcms.com/forums/index.php/topic,36312.0.html wink KP
        • 4831
        • 57 Posts
        Quote from: kp52 at Jun 06, 2009, 04:42 AM

        If your server is running Linux, editing in Windows Notepad and uploading may be the cause of your problems, due to differences in line-end markers. I had a similar experience the other day: http://modxcms.com/forums/index.php/topic,36312.0.html wink KP
        yep... I guess it could be that, thanks for your answered.
        Due to the "panic mode" I was in, I’ve try to upgrade to 0.9.6.3 and it solved my issue.
        I’ve also installed ultraedit and banned notepad editing php files smiley