We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2376
    • 21 Posts
    Trying out Kiweecommerce.

    I installed everything.

    I get these errors when I go to the KiweeCommerce pages:

    Warning: Cannot modify header information - headers already sent by (output started at /home/deerf/public_html/manager/includes/header.inc.php:5) in /home/deerf/public_html/assets/snippets/shoppingCart/kiwee.class.php on line 54

    Warning: Cannot modify header information - headers already sent by (output started at /home/deerf/public_html/manager/includes/header.inc.php:5) in /home/deerf/public_html/assets/snippets/shoppingCart/kiwee.class.php on line 55

    and

    Fatal error: Call to a member function getChunk() on a non-object in /home/deerf/public_html/assets/snippets/shoppingCart/eCart/include/eValues.inc.php on line 239

    Any idea why?
    just installed the standard modx installation yesterday.

    TIA. ad
      • 12632
      • 1 Posts
      Hi over there,

      I’ve got the same Errors...

      Any ideas?

      Thanks in advance
        • 14779
        • 256 Posts
        same errors as well. smiley

        Would love to find the solution
          PM me to find out how you can get a FREE ipad 2!
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          The "can’t send headers" warnings are just because of the error messages already being sent. The real error is the "Fatal error: Call to a member function getChunk() on a non-object". It sounds like a function in that file didn’t have "global $modx" at its beginning, so a call to $modx->getChunk would return that error.
            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
            • 14779
            • 256 Posts
            Quote from: joshlfisher at Jul 17, 2009, 10:08 AM

            same errors as well. smiley

            Would love to find the solution


            Actually, I only had the header errors, and now after about 16hours from installation, (I haven’t touched a thing) The errors are gone.

            Go Figure.
              PM me to find out how you can get a FREE ipad 2!
              • 14779
              • 256 Posts
              A fresh install reveals the same errors as atracksler, with one exception.

              Instead of
              Fatal error: Call to a member function getChunk() on a non-object in /home/deerf/public_html/assets/snippets/shoppingCart/eCart/include/eValues.inc.php on line 239


              My error mentions line 240. This is in the Authorize.net module, and simply commenting out the line fixes it. Obviously Authorize.net won’t work, but I don’t intend to use it anyway. Perhaps these payment modules can be removed from the core, and added as options.
                PM me to find out how you can get a FREE ipad 2!
                • 26310
                • 130 Posts
                I was able to fix the fatal error by manually creating the chunk in question however I’m still getting the header errors, was anybody able to fix that?
                  I twitch because I care....and drink too much coffee.
                  • 16251
                  • 24 Posts
                  Move :

                  if($_COOKIE[’siteSSID’]) {session_id($_COOKIE[’siteSSID’]);}
                  session_start();
                  if(!$_COOKIE[’siteSSID’]) {
                  setcookie("siteSSID","",1);
                  setcookie("siteSSID", session_id(),0);
                  }

                  ,from kiwee.class.php ,to the manager/includes/header.inc.php (before all code)

                  I hope that you understand me :/
                    • 20002
                    • 22 Posts
                    create a new chunk name it as gDiscountTplx and insert the following code. Should fix the issue.

                    <div id="valDiscountx">
                    <div id="valTotalx_desc">
                    [+gDiscount_desc+]
                    </div>
                    <div id="valTotalx_amt">
                    [+gDiscount_amt+]
                    </div>
                    </div>
                      PSD to Modx Templates & Custom Modx Development
                      http://modxexpert.com

                      Twitter: modxexpert