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

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

Views: 2,817

Results 1 to 10 of 10
28 Mar 2021, 2:24 PM
#1
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

"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"

[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 - closed 12/05/2023
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)

28 Mar 2021, 3:12 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

VDecalS:

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.

28 Mar 2021, 4:27 PM
#3
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

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

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 - closed 12/05/2023
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)

28 Mar 2021, 4:29 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

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...

28 Mar 2021, 5:14 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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

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/running/regular_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.

28 Mar 2021, 8:51 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

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

DrByte:

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/running/regular_maintenance/:clap:
:flex::bigups::please::bow:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Mar 2021, 4:28 PM
#7
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

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

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 - closed 12/05/2023
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)

29 Mar 2021, 5:09 PM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

VDecalS:

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.

29 Mar 2021, 6:38 PM
#9
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

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

lat9:

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. :cool:

My store - closed 12/05/2023
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)

29 Mar 2021, 6:39 PM
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

VDecalS:

Yep. The Display Logs prompted the OP, as they were showing "debug-log files exist" message on top of every admin screen. :cool:
Duh. :blush: