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
Hi over there,
I’ve got the same Errors...
Any ideas?
Thanks in advance
same errors as well.
Would love to find the solution
PM me to find out how you can get a FREE ipad 2!
-
☆ 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.
Quote from: joshlfisher at Jul 17, 2009, 10:08 AM
same errors as well. 
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!
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!
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.
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 :/
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>