Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,916
    Plugin Contributions
    13

    Default error logging from includes/extra_configures directory...

    i am not sure if this loading sequence is intended or not.

    on my install, if i have an error in a script from the directory includes/extra_configures and i go to home page, i will get a blank page and no error log gets generated. if i attempt to access the admin section of the site, i will still get a blank page but now ZC generates the error log.

    i do not "think" i have modified this loading sequence....
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: error logging from includes/extra_configures directory...

    Since the error "logging" happens only after the enable_error_logging.php file gets processed, if your script with an error loads before that then the logging will be into the server's default error logging location (ie: typically Apache's error_log file). Files in that directory are processed in whatever order the filesystem chooses to give the list of files to PHP.

    Alternatively you could put your custom file into extra_datafiles instead, since it's processed after extra_configures is.
    .

    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
    Nov 2005
    Location
    los angeles
    Posts
    2,916
    Plugin Contributions
    13

    Default Re: error logging from includes/extra_configures directory...

    dr b,
    thanks. some times i just need to think a bit...

    i suppose i can also remove some include statements from my extra_configures files as well by just putting those modules directly into those directories. one of the tools i use on my development box is:

    http://dbug.ospinto.com/

    and ideally its nice to have that loaded early in the process in case i run into errors within application_top...

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. error logging: does ZC generate any error logging anywhere?
    By cyberbaffled in forum General Questions
    Replies: 4
    Last Post: 12 Jul 2014, 07:08 PM
  2. Replies: 6
    Last Post: 13 Feb 2013, 09:37 PM
  3. logging and session directory settings after moving
    By piker in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 23 May 2010, 12:09 PM
  4. DIRECTORY & Includes?
    By ediscoun in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Dec 2006, 05:00 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