Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Support Thread: Report All Errors (Even Warnings)

    I was looking for an easy way to enable all error-reporting during my debugging ... and came up with this plugin. The plugin overwrites two core files to enable you to use a simple $_GET variable (report_all) to enable all error reporting for the selected page.

    I'll be submitting this to the Plugins area shortly -- now that I've got a support thread!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    The plugin is available for download here: http://www.zen-cart.com/downloads.php?do=file&id=1792

    I've just submitted v1.1.0 to the Plugins, which uses admin-configurable settings to enable/disable the feature instead of the $_GET variable approach used in v1.0.0.

    P.S. No longer any core-file overwrites!
    Last edited by lat9; 28 Dec 2013 at 02:21 PM. Reason: Added P.S.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    v1.1.0 is now available for download ...

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,074
    Plugin Contributions
    29

    Default Re: Support Thread: Report All Errors (Even Warnings)

    Another excellent stick to beat myself over the head with! Well done, I hope the devs use this...

    Maybe some user notes here would beneficial for the unwary.
    i.e.
    Notices about undefined or already defined constants in core code should be ignored unless no substitution has been assumed.
    Warnings associated with core code are unlikely to be fixed at this point.
    Just concentrate on warnings associated with your mods.
    Steve
    github.com/torvista: Spanish Language Pack, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,443
    Plugin Contributions
    9

    Default Re: Support Thread: Report All Errors (Even Warnings)

    Quote Originally Posted by lat9 View Post
    v1.1.0 is now available for download ...
    Absolute cracker - well done!! Should be part of the standard file system

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    Quote Originally Posted by torvista View Post
    Another excellent stick to beat myself over the head with! Well done, I hope the devs use this...

    Maybe some user notes here would beneficial for the unwary.
    i.e.
    Notices about undefined or already defined constants in core code should be ignored unless no substitution has been assumed.
    Warnings associated with core code are unlikely to be fixed at this point.
    Just concentrate on warnings associated with your mods.
    Good point, I'll put together a proposal and post here before including it in the updated readme.html file.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    Quote Originally Posted by frank18 View Post
    Absolute cracker - well done!! Should be part of the standard file system
    Thanks, Frank.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    Here's the first of the list of PHP warnings that can be safely ignored:

    The first time you enable the reporting of all errors on your store, you might see a number of items similar to

    Code:
    PHP Notice:  Constant SOME_LANGUAGE_CONSTANT_NAME already defined in {DIR_FS_CATALOG}\includes\languages\english.php on line xxx
    These "notice" messages are issued if your store has made a template-based change to the default language file (for this example, english.php). That's because Zen Cart first loads your template-override language file and then — because sometimes new messages are introduced with a new Zen Cart version — loads the default language file.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    v1.1.1 is now available for download from the Plugins area, containing readme-only updates to (a) identify support for ZC 1.5.3 and (b) adding some "safe to ignore" notes per torvista's post #4 in this thread.

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,305
    Plugin Contributions
    72

    Default Re: Support Thread: Report All Errors (Even Warnings)

    I've just submitted v1.1.2 to the plugins for review, to update the core files distributed by the plugin to use the Zen Cart v1.5.5 version as the base.

    Note: For stores running a Zen Cart version less than v1.5.5, this update will also pull in the changes provided by myDEBUG Backtrace, since that plugin is part of the core starting with ZC1.5.5.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Monthly Sales and Tax Summary Report [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 182
    Last Post: 21 Jan 2020, 11:04 PM
  2. v151 Sales Report with Graphs support thread
    By JacobBushnell in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 25 Jul 2019, 02:27 PM
  3. v153 Linked Products Report [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 11 Jun 2015, 09:52 PM
  4. Business Activity Report 1.5.0 Support Thread
    By gharls in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 6 Apr 2012, 11:12 PM
  5. Admin Activity Report [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 6 Aug 2009, 12:47 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