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

    My website worked well until today, now i have this message appearing at the bottom of the homepage :

    Warning: Cannot modify header information - headers already sent by (output started at /home/www/dd8d9ba64a7e9cec62f59c99f0e612f6/web/v3/manager/includes/document.parser.class.inc.php:519) in /home/www/dd8d9ba64a7e9cec62f59c99f0e612f6/web/v3/manager/includes/document.parser.class.inc.php on line 2730
    « modx parse error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Cannot modify header information - headers already sent by (output started at /home/www/dd8d9ba64a7e9cec62f59c99f0e612f6/web/v3/manager/includes/document.parser.class.inc.php:519)
    Error type/ Nr.: Warning - 2
    File: /home/www/dd8d9ba64a7e9cec62f59c99f0e612f6/web/v3/index.php
    Line: 193
    Line 193 source: header('P3P: CP="NOI NID ADMa OUR IND UNI COM NAV"'); // header for weird cookie stuff. Blame IE.

    Parser timing
    MySQL: 0.0005 s (1 Requests)
    PHP: 0.0487 s


    I've looked for every similar error already posted here and tried every solution (disabling visitor loggin, looking for white space before/after the <?php, etc.) but nothing worked.

    Now when I try to access certain pages, they're messed up and have a big error message in the bottom who says :

    MODx is not currently installed or the configuration file cannot be found.

    Do you want to install now?


    My configuration is the following :

    Version de MODx 1.0.0
    Nom de code de version rev 5601

    HP Version 5.2.17


    System Linux imu245 2.6.27.48-imu-x86 #1 SMP Wed Jul 7 07:36:25 CEST 2010 i686
    Build Date Jan 17 2011 14:19:19
    Server API Apache 2.0 Handler
    Virtual Directory Support enabled
    Configuration File (php.ini) Path /opt/php/lib
    Loaded Configuration File /opt/php/lib/php.ini
    Scan this dir for additional .ini files (none)
    additional .ini files parsed (none)
    PHP API 20041225
    PHP Extension 20060613
    Zend Extension 220060519
    Debug Build no
    Thread Safety enabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, http.*

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

    Can you please help me ?

    Thank you

    [ed. note: josemanosalvas last edited this post 11 years, 2 months ago.]
      • 9995
      • 1,613 Posts
      I dunno, maybe index.php file is changed, site is hacked, MYSQL is down, check your /manager/includes/config.inc.php file.
        Evolution user, I like the back-end speed and simplicity smiley
        • 42882
        • 3 Posts
        Thank you for your answer.

        Is there a specific place where I need to look in the config.inc.php?

        Hacking can be a reason then? In the manager system log, the same "parser" error keeps comming every X minutes... So far there is more than 300 pages of the same error... :/
          • 9995
          • 1,613 Posts
          MODx is not currently installed or the configuration file cannot be found.

          I'm no expert, never had this problem, maybe the server is moved and the paths needs to be updated?

          modx 1.0 is very old, and you really need to update it.
            Evolution user, I like the back-end speed and simplicity smiley
          • That particular error occurs when the manager/includes/config.inc.php file can't be read. Check that file for errors. It is common for hacks to try to add code to that file, and if it's done wrong it'll break the file.

            All those "cannot send header" errors are because PHP and MODx are both trying to display errors and stepping on each other.
              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
              • 42882
              • 3 Posts
              We updated to the version 1.0.8 simply overriding all the files and now it works like a charm!

              Thank you all for your precious help.
                • 43873
                • 1 Posts
                Hi I am facing this problem but in the first installation step, It appears the following after I select the language and click SELECT:
                Warning: Cannot modify header information - headers already sent by (output started at /home/zyd2013/public_html/v1/setup/lang/es/default.inc.php:1) in /home/zyd2013/public_html/v1/setup/controllers/language.php on line 15

                Warning: Cannot modify header information - headers already sent by (output started at /home/zyd2013/public_html/v1/setup/lang/es/default.inc.php:1) in /home/zyd2013/public_html/v1/setup/includes/request/modinstallrequest.class.php on line 235


                I'm trying to install Modx Revolution version 2.2.7-pl

                Thanks in advanced
                  - -
                  Eduardo Sojo