Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    7
    Plugin Contributions
    0

    red flag Error Logs not showing up when debugging?

    Hi all,
    Am new on here so please be gentle ;O)

    I have a client who is experiencing partial & intermittent white spaces on pages in their shop [not Admin]. Having read through the forum I downloaded the Debug Error Logging Utility & installed as per instructions. Now, here's the weird part; In the 'Server/Version info' page, I can see in the PHP Core section of MyPHP that the myDEBUG-xxxxxxx.log files are being generated but when I look in my specified cache folder, they're not there! Instead I see 2 .sql log files similar to this: zc_[32 digit alpha/mumeric filename].sql

    Anyone else had this occur or can advise as to where I'm going wrong?

    NB: I also have 'STRICT ERROR REPORTING' enabled on the site but do not see any errors displayed - is this right?


    Thanks in advance for any suggestions.

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

    Default Re: Error Logs not showing up when debugging?

    If there are no PHP-level errors, then the log file won't be created. Same with STRICT_ERROR_REPORTING.
    If the file/folder isn't writable, then the logs can't be created.
    The zc_xxxxxx.sql files are query caching. Their presence suggests that the folder is properly writable.
    .

    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
    Oct 2005
    Posts
    7
    Plugin Contributions
    0

    Default Re: Error Logs not showing up when debugging?

    Many thanks for taking the time to reply, Dr Byte.
    Do you have any idea why these myDEBUG-xxxxxx files were showing up in the Server/Version Info page within the PHP Core 'error_log' section? When I turn the php script off it then shows them as 'error_log'.

    Apologies in advance for not grasping this myself.

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

    Default Re: Error Logs not showing up when debugging?

    The log filename will appear in the phpinfo output as the 'error_log' filename specified for the current operating session. But, as I said before, the file will not actually be created if there are no errors generated to put into it.
    .

    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.

 

 

Similar Threads

  1. v155 Error logs not being written
    By jeking in forum Installing on a Linux/Unix Server
    Replies: 16
    Last Post: 26 Mar 2016, 02:50 AM
  2. error debugging not working
    By indigobnb in forum General Questions
    Replies: 2
    Last Post: 10 Sep 2010, 08:51 PM
  3. error logs -> file not found /favicon.ico
    By perfect concepts in forum Basic Configuration
    Replies: 2
    Last Post: 14 Apr 2010, 04:49 AM
  4. Paypal Express not working HELP! Error logs
    By Muzz in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 12 Nov 2009, 02:28 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