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

    Really need some help. I updated my old Evo site to version 1.0.9 and now just get loads of PHP errors:

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/mysite/public_html/manager/includes/protect.inc.php on line 54
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/manager/includes/protect.inc.php:54) in /home/mysite/public_html/index.php on line 59
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/manager/includes/protect.inc.php:54) in /home/mysite/public_html/index.php on line 60
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mysite/public_html/manager/includes/protect.inc.php:54) in /home/mysite/public_html/manager/includes/config.inc.php on line 60
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/manager/includes/protect.inc.php:54) in /home/mysite/public_html/manager/includes/config.inc.php on line 74
    Error


    I have no idea what any of this means or what to do. Can someone point me in the right direction?

    Thanks!
      • 33014 ☆ A M B ☆
      • 1,231 Posts
      Thanks for your infomation.

      https://forums.modx.com/thread/83541/help-ready-modx-evolution-1-0-10-for-release/
      Please try this package.
        • 40122
        • 330 Posts
        Quote from: yama at Apr 01, 2013, 10:53 PM
        Thanks for your infomation.

        https://forums.modx.com/thread/83541/help-ready-modx-evolution-1-0-10-for-release/
        Please try this package.

        Thanks but I get the same error
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Could you try accessing the site from a different computer or at least a different browser?
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 40122
            • 330 Posts
            Quote from: AMDbuilder at Apr 02, 2013, 01:41 AM
            Could you try accessing the site from a different computer or at least a different browser?
            Yes I have tried on 3 different machines - all the same
              • 33014 ☆ A M B ☆
              • 1,231 Posts
                • 40122
                • 330 Posts
                OK so after hours of digging I found it was the plugin 'Quick ManagerManger'. Unfortunetly when I tried to remove it from the database table 'snippets' I was unable to use the back end of the site.

                Heres what I ended up doing:

                1.Backed site and database up
                2.Deleted all of the site off the server
                3.Deleted all of the database off the server
                4.Installed latest version of Evo afresh
                5. Copied across the following database tables from the old database: modx_categories.sql, modx_site_content.sql, modx_site_htmlsnippets.sql, modx_site_templates.sql, modx_site_tmplvar_templates.sql, modx_site_tmplvars.sql
                6. Copied across images and CSS files
                7. Reinstalled plugins

                Christ - what a mission!
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  There is no plugin "Quick ManagerManager". There is "QuickManager+" and "ManagerManager", two different plugins. Neither of them have anything to do with the site_snippets database table, so I cannot imagine what you actually saw.

                  Plugins can be disabled from the Manager if they are misbehaving. There is a checkbox "Plugin disabled" when you edit the plugin.

                  Did you do a full backup of your site before making the upgrade? You must always backup a site before you do anything to it, since there is always a chance that something can go wrong.
                    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
                    • 5913
                    • 42 Posts
                    If you have a plugin of Quick ManagerManager in your plugins from what i can tell you have had a SQL Injection attack on your system if you look at the source code of your site just before the </body> tag you will see some code that shouldn't belong that is pointing to some urls.

                    I know cause i had the same plugin show up on a few of my older modX sites and now I am in the process of upgrading them all after removing that plugin as it removes the code.