Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default "debug-log files exist" message present - is there a way to clear message w/o delete

    vinyldecalsuperstoreDOTcom, 157c, php 7.0.33, clone a template, SiteMapXML 4.0.0

    I had an error and a warning debug log for "disk full"
    Code:
    [27-Mar-2021 23:19:15 America/Chicago] Request URI: /VDSstore/index.php?main_page=ask_a_question&pid=218, IP address: 176.9.117.99
     #1 trigger_error() called at [/includes/classes/db/mysql/query_factory.php:170]
     #2 queryFactory->show_error() called at [/includes/classes/db/mysql/query_factory.php:142]
     #3 queryFactory->set_error() called at [/includes/classes/db/mysql/query_factory.php:269]
     #4 queryFactory->Execute() called at [/includes/modules/sideboxes/ezpages.php:26]
     #5 include(/includes/modules/sideboxes/ezpages.php) called at [/includes/modules/column_right.php:25]
     #6 require(/includes/modules/column_right.php) called at [/includes/templates/Gray157b/common/tpl_main_page.php:207]
     #7 require(/includes/templates/Gray157b/common/tpl_main_page.php) called at [/index.php:94]
     --> PHP Fatal error: 1021:Disk full (/tmp/#sql_1154cb_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") :: SELECT e.*, ec.*
    FROM ezpages e,
    ezpages_content ec
    WHERE e.pages_id = ec.pages_id
    AND ec.languages_id = 1
    AND e.status_sidebox = 1
    AND e.sidebox_sort_order > 0
    ORDER BY e.sidebox_sort_order, ec.pages_title ==> (as called by) /includes/modules/sideboxes/ezpages.php on line 26 <== in /includes/classes/db/mysql/query_factory.php on line 170.
    There were only two debug logs and I believe the problem was temporary, but after viewing them, the message remains on the top of my ADMIN screens.
    I hold onto all my logs for a month at a time, clearing them my date via cPanel. Is there a way to clear the ADMIN message without deleting the logs?
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,312
    Plugin Contributions
    80

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Quote Originally Posted by VDecalS View Post
    vinyldecalsuperstoreDOTcom, 157c, php 7.0.33, clone a template, SiteMapXML 4.0.0

    I had an error and a warning debug log for "disk full"

    There were only two debug logs and I believe the problem was temporary, but after viewing them, the message remains on the top of my ADMIN screens.
    I hold onto all my logs for a month at a time, clearing them my date via cPanel. Is there a way to clear the ADMIN message without deleting the logs?
    In a word: No. When there are logs present, that message will persist.

    Granted, you could make a custom edit to your admin's processing so that the message is never displayed, but there's no timeframe associated with that message.

  3. #3
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    As expected, no problem. I'll keep a running copy outside of zencart IF host issues persist.
    I'd rather have logs letting me know there is a potential problem, than have something lurking under the surface without me being aware.
    Thank you Cindy!
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  4. #4
    Join Date
    Jul 2012
    Posts
    16,447
    Plugin Contributions
    17

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    May want to look at the account to see what the disk storage usage and allowance is. For example, if the account is "limited" to say 200mb and 250mb is in use... I have seen where an account was set or restricted (innocently) to a value that actually ended up being less than what was being used routinely. The result was that the account could not do certain things and also prevented the edit of files or operations that would produce files (such as mysql's internal files) from being created.

    The above message appears to be a result of running a query and is not necessarily related to debug logs or what is in the database other than the space the database takes on the drive and any associated storage requirements.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Agreed. The "disk full" error is more of a general system error than an account-specific error.
    However, deleting from your account all files that are no longer needed can go a long way to helping out your hosting company!
    (Freeing up space from your account also affects any backups that your hosting company might make for their entire server, whether or not they make those backups available to you.)

    See some disk space cleanup points at https://docs.zen-cart.com/user/runni...r_maintenance/
    .

    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
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,633
    Plugin Contributions
    9

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Quote Originally Posted by DrByte View Post
    Agreed. The "disk full" error is more of a general system error than an account-specific error.
    However, deleting from your account all files that are no longer needed can go a long way to helping out your hosting company!
    (Freeing up space from your account also affects any backups that your hosting company might make for their entire server, whether or not they make those backups available to you.)

    See some disk space cleanup points at https://docs.zen-cart.com/user/runni...r_maintenance/


  7. #7
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    I contacted my host and they think it was just a hiccup too (no errors even show on my cPanel metrics).
    You don't have a limit on your Launch Plan in regards to your website. You were grandfathered in from our old plans, so basically, as long as everything on your hosting plan relates to your website (so no backups or extra random files) you are unlimited.
    I do check and clean my file system (almost) daily.
    Thanks for the input everyone!
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,312
    Plugin Contributions
    80

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Quote Originally Posted by VDecalS View Post
    I contacted my host and they think it was just a hiccup too (no errors even show on my cPanel metrics). I do check and clean my file system (almost) daily.
    Thanks for the input everyone!
    Noting also that since you're running the zc157 series, there's a Display Logs plugin that can be installed as part of that base code. That way, you can view/manage the log files from your Zen Cart admin instead of going to cPanel.

  9. #9
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Quote Originally Posted by lat9 View Post
    Noting also that since you're running the zc157 series, there's a Display Logs plugin that can be installed as part of that base code. That way, you can view/manage the log files from your Zen Cart admin instead of going to cPanel.
    Yep. The Display Logs prompted the OP, as they were showing "debug-log files exist" message on top of every admin screen.
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,312
    Plugin Contributions
    80

    Default Re: "debug-log files exist" message present - is there a way to clear message w/o del

    Quote Originally Posted by VDecalS View Post
    Yep. The Display Logs prompted the OP, as they were showing "debug-log files exist" message on top of every admin screen.
    Duh.

 

 

Similar Threads

  1. v151 "500" on Cleanup Debug Log Files, PHP 5.4
    By rayw1679 in forum General Questions
    Replies: 5
    Last Post: 5 Mar 2013, 07:06 AM
  2. Replies: 2
    Last Post: 20 Feb 2013, 11:59 PM
  3. Trying to find "Tage Line/Sales Message" to delete
    By grandpaj in forum General Questions
    Replies: 3
    Last Post: 12 Oct 2010, 09:45 PM
  4. How to delete the "Sales message goes here"?
    By ebookcheckout in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 May 2007, 03:15 AM

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