Results 1 to 10 of 35

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    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
    13,870
    Plugin Contributions
    96

    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
    13,870
    Plugin Contributions
    96

    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,824
    Plugin Contributions
    31

    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: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    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.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

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

    Quote Originally Posted by torvista View Post
    ... Notices about undefined or already defined constants in core code should be ignored unless no substitution has been assumed. ...
    I just submitted v2.0.0 to the Plugins for review. That version adds another configuration setting (IgnoreDups) that causes those "already defined constant" notifications to not be logged.

  7. #7
    Join Date
    Mar 2012
    Location
    South Africa- Krugersdorp
    Posts
    29
    Plugin Contributions
    0

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

    Hi Lat9
    Just a heads up, I installed this mod on 1.5.5a --it killed my admin

    sorry I will give more info when I have time , but I have bit to a problem to fix first
    debug log snipet
    "1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's processing? . . .

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    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

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    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.

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    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.

 

 

Similar Threads

  1. Monthly Sales and Tax Summary Report [support thread]
    By skipwater in forum Addon Admin Tools
    Replies: 244
    Last Post: 4 Jul 2025, 03:16 PM
  2. v151 Sales Report with Graphs support thread
    By JacobBushnell in forum Addon Admin Tools
    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

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