Subscribe: RSS


  • <b>Warning</b>: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have at least 1 element in <b>/xxxx/user/public_html/manager/includes/protect.inc.php</b> on line <b>54</b>



    <b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in <b>/xxxx/user/public_html/manager/includes/config.inc.php</b> on line <b>60</b>



    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in <b>/xxxx/user/public_html/manager/includes/config.inc.php</b> on line <b>74</b>

    Incorrect username or password entered!

    What did I do wrong?

    -Noah [ed. note: noahlearner last edited this post 4 years, 5 months ago.]
    • Try clearing your browser cache and cookies for the domain.
        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
      • Hi Susan,
        Thanks for getting back to me so quickly! I:

        • cleared browser's cache, cookies and browser history.
        • I deleted files inside cache folder via ftp.
        • I hit refresh on login page.
        AND
        Here were my fresh errors:
        Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /xxxx/user/public_html/manager/includes/protect.inc.php on line 54

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 62

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 63

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 64

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 65

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 66

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 67

        Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/includes/config.inc.php on line 60

        Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/includes/config.inc.php on line 60

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/includes/config.inc.php on line 74

        Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/index.php on line 150.

        -Noah
        • same for me:

          error during the update, inside the plugin list

          Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/bubuna/domains/mydomain.com/public_html/install/action.options.php on line 176

          and at manager login page:

          Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/bubuna/domains/mydomain.com/public_html/manager/includes/protect.inc.php on line 54

          Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/domains/mydomain.com/public_html/manager/includes/protect.inc.php:54) in /home/mydomain/domains/mydomain.com/public_html/manager/index.php on line 62

          .....
            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design
          • And the front end of the website displays these error messages:


            Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /xxxx/user/public_html/manager/includes/protect.inc.php on line 54

            Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /xxxx/user/public_html/manager/includes/protect.inc.php on line 54

            Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /xxxx/user/public_html/manager/includes/protect.inc.php on line 54

            Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /xxxx/user/public_html/manager/includes/protect.inc.php on line 54

            Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/index.php on line 59

            Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/index.php on line 60

            Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/includes/config.inc.php on line 60

            Warning: Cannot modify header information - headers already sent by (output started at /xxxx/user/public_html/manager/includes/protect.inc.php:54) in /xxxx/user/public_html/manager/includes/config.inc.php on line 74
            Error

            AAAARRRRRRRGGGGGGGGHHHHH!!!
            • All those "cannot send..." errors are from PHP and MODx both trying to report the error and stepping on each other.

              I just tried an upgrade on my localhost, and it worked fine. The only thing I can suggest is that you restore your backup (you did backup before the upgrade, didn't you?), then try the upgrade again. If you can, upload the new zip and unzip it on the server, and move the files into place on the server. Uploading the unzipped installation can cause all kinds of problems with corrupted uploaded files.

              You might also want to check your database to make sure none of the tables got corrupted.
                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
                • http://modx.im - Russian community
                  http://extras.evolution-cms.com - Repository for Evolution
                • in file manager/includes/protect.inc.php line 54
                  -    $target = array_combine($keys, $values);
                  +    if(!empty($keys)){ //for compability php < 5.4.0
                  +      $target = array_combine($keys, $values);
                  +    }
                    http://modx.im - Russian community
                    http://extras.evolution-cms.com - Repository for Evolution
                  • Odd... I tested fine on PHP 5.3.6
                      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
                      • http://modx.im - Russian community
                        http://extras.evolution-cms.com - Repository for Evolution