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

    I installed TC for my client over year ago now, and recently the Add to Cart link has stopped working.

    They got someone else to install some email obfuscation plugin a few months ago but I have disabled it while debugging this and it has not fixed the problem.

    Firebug shows some 500 Internal Server Errors but I can’t figure out what they are; for example, I see a POST go through to index?id=40 (which is the correct id of the shopping cart) with an "action config" and the resulting Response appears correct, however the cart still doesn’t work.

    The apache error_log has entries such as:

    [Wed Aug 05 23:16:35 2009] [error] [client xxxxxxxxx] PHP Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/shantellvineyard.com.au/httpdocs/manager/includes/document.parser.class.inc.php(745) : eval()’d code on line 21, referer: http://www.shantellvineyard.com.au/2005-pinot-noir.html

    I have recopied the module code into Modx and the site otherwise is working as far as I know.

    Does anyone have any ideas how I can debug this further?

    thanks very much
      • 30552
      • 75 Posts
      Do they edit pages themselves? Is there any chance they opened the cart document for editing, and a richtext editor automatically surrounded the TreasureChest snippet call with paragraph tags or something? I know that can sometimes cause undesired effects with TreasureChest.
        • 28289
        • 4 Posts
        Did you figure this one out? After finally getting treasure chest working perfectly on a dev server I migrated the site to an almost identical server setup and I’m now encountering this dead Add to Cart problem.