Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Notifier Trace [Support Thread]

    The Zen Cart Notifier Trace module is available in the Plugins area: http://www.zen-cart.com/downloads.php?do=file&id=1114

    This module hooks the base-class notify function and captures the output into a file in your store's cache directory. It is very useful during code modification and also supports development and debug of class-based code.

    No file overwrites are required and a simple SQL patch is provided to enable/disable the feature.
    Last edited by lat9; 19 May 2010 at 02:46 PM. Reason: Include zip-file

  2. #2
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Zen Cart Notifier Trace [Support Thread]

    thanks for the effort,
    i am trying to use it to debug a class but i am unable to.
    it is giving me errors about "Call to undefined method un_wishlist::notify()"
    i have amended the parent class to extend base...

    kinda stuck now

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Re: Zen Cart Notifier Trace [Support Thread]

    Sorry, I didn't see your post until today...

    You didn't indicate which version of Zen Cart you're using, but you need to make sure that you're using the version of the Notifier Trace that matches your installed version. Make sure that your class definition looks similar to:

    Code:
    class un_wishlist extends base {
      Your code here ...
    }
    Another add-on that I've found useful in debugging classes is Super Globals Plus. Don't be put off by its release date (2007); I'm using it on two v1.3.9 sites with no problems.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Re: Zen Cart Notifier Trace [Support Thread]

    I've submitted an update to this plugin (v1.1.0) to add support for Zen Cart v1.5.1 (the config.core.php has changed) and remove support for (obsolete) v1.3.8a.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Re: Zen Cart Notifier Trace [Support Thread]

    Heads-up to those that are using this plugin ... its functionality will be incorporated into a core Zen Cart feature for v1.6.0 (see http://www.zen-cart.com/showthread.p...TCH_ALL-events).

    When you upgrade to v1.6.0, you can leave your database intact as the configuration "switch" name is kept (and the possible values enhanced). Just remember that you won't need (or want!) to keep the /includes/auto_loaders/overrides/config.core.php and /includes/classes/class.base_trace.php files from this plugin.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Re: Zen Cart Notifier Trace [Support Thread]

    I've submitted v1.2.0 of this plugin to provide support for Zen Cart v1.5.2 and later. Turns out that these versions of Zen Cart, while incorporating the trace-related processing in the base distribution, are not going to provide the configuration switch to enable/disable the feature ... that's what the update's for!

    If you are already a user of this plugin, you don't need this update but you do need to remember to delete this plugin's /includes/auto_loaders/overrides/config.core.php and /includes/classes/class.base_trace.php files as part of your upgrade process.

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  3. Does the notifier support changing Product Names as they go into the Cart, or Order?
    By neekfenwick in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Jun 2011, 08:20 AM
  4. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR