Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default how to show errors in order to fix them?

    v1.3.8a,
    admin/includes/application_top.php
    find
    error_reporting(E_ALL & ~E_NOTICE);
    and modify it to
    @ini_set('display_errors', '1');
    error_reporting(E_ALL);

    I have done this ,why still canot see the content of error in the backend,

    but blank when clicking edit of a category or product.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: how to show errors in order to fix them?

    MUCH MORE IMPORTANT: You need to upgrade to a secure version of Zen Cart. Yours is not secure, and should not be used.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: how to show errors in order to fix them?

    Of course you should upgrade but also if you look in your cache folder you will see debug logs which may help you in the mean time.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: how to show errors in order to fix them?

    Upgrade now... or you will have a lot more to worry about than "simple errors"... a hacker can add DAYS and WEEKS to efforts to restore your site...
    20 years a Zencart User

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: how to show errors in order to fix them?

    Quote Originally Posted by davowave View Post
    Of course you should upgrade but also if you look in your cache folder you will see debug logs which may help you in the mean time.
    davowave, that won't work in older versions. It must be done manually instead. https://www.zen-cart.com/tutorials/index.php?article=82
    Hence the strong advice to upgrade.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default Re: how to show errors in order to fix them?

    thanks,I will upgrade first ,

 

 

Similar Threads

  1. Markup validating Errors (plz help me fix them)
    By roojz92 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Apr 2012, 04:06 PM
  2. How to fix stylesheet errors? -PureGreen
    By centerstate in forum Addon Templates
    Replies: 13
    Last Post: 18 Mar 2011, 09:18 AM
  3. *HOW* to fix Known Bugs is clear, but how do I test them?
    By zcnb in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 6 Nov 2008, 11:13 AM
  4. Finding Constants and how to fix them
    By mommydesigns in forum General Questions
    Replies: 5
    Last Post: 22 Jun 2007, 08:57 PM
  5. Quantity Units errors -message. How do I fix it?
    By ralphcol in forum General Questions
    Replies: 5
    Last Post: 2 Aug 2006, 05:01 AM

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