Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2008
    Posts
    96
    Plugin Contributions
    0

    Default Filecount keeps rising

    We have been unable to upload any more files to our site due to hitting the file limit with our host.
    The number of files shown in cpanel is over 250'000, which seems extreme considering we do not have a vast amount on the site.
    We figured most of this number must be coming form the actual site itself, so we began removing things we do not need, such as old and extra product images and old debug log files, but every time we delete anything from the FTP server the file number starts to go up instead of down. It's although the system is duplicating or backing up files and logs, but for the life of me I cannot figure out why this is happening and how I can lower our file numbers. It's like one step foward and two steps back atm

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,152
    Plugin Contributions
    11

    Default Re: Filecount keeps rising

    What does your host have to say? Do you have something like cPanel or Plesk?

  3. #3
    Join Date
    Jul 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Filecount keeps rising

    Ok we managed to track the problem down to the debug files located within the logs folder.
    It looks like it stems back to when we paid for a company to upgrade and add some features to the site and since then it has been generating about 20+ debug files a day.
    Over the coarse of time they have been building up until our file limit was exceeded.
    We have managed to delete most of them now, but obviously they will just start filling back up again until the error is corrected. Unofortunately I am not sure what to do from here.

    Here is the error that keeps generating:

    [26-Jul-2021 01:03:46 UTC] Request URI: /icklepeeps/sets/bad-santa-2, IP address: 66.249.66.143
    #1 zenCssButton() called at [/home/yfual8t48sdl/public_html/includes/functions/html_output.php:288]
    #2 zen_image_submit() called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_search_header.php:17]
    #3 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_search_header.php) called at [/home/yfual8t48sdl/public_html/includes/modules/sideboxes/search_header.php:21]
    #4 require(/home/yfual8t48sdl/public_html/includes/modules/sideboxes/search_header.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/templates/tpl_modules_categories_tabs.php:29]
    #5 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/templates/tpl_modules_categories_tabs.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_header.php:120]
    #6 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_header.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php:103]
    #7 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php) called at [/home/yfual8t48sdl/public_html/index.php:97]

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: Filecount keeps rising

    is that the complete debug log? just post the complete contents of 1 of the log file.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Jul 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Filecount keeps rising

    Hi again
    Here is the complete file contents as requested. As a note, we deleted everything last night leaving zero log files in the folder and by today we are already back to over 3000 files

    [26-Jul-2021 18:51:43 UTC] Request URI: /cookie_usage, IP address: 114.119.142.7
    #1 zenCssButton() called at [/home/yfual8t48sdl/public_html/includes/functions/html_output.php:288]
    #2 zen_image_submit() called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_search_header.php:17]
    #3 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_search_header.php) called at [/home/yfual8t48sdl/public_html/includes/modules/sideboxes/search_header.php:21]
    #4 require(/home/yfual8t48sdl/public_html/includes/modules/sideboxes/search_header.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/templates/tpl_modules_categories_tabs.php:29]
    #5 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/templates/tpl_modules_categories_tabs.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_header.php:120]
    #6 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_header.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php:103]
    #7 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php) called at [/home/yfual8t48sdl/public_html/index.php:97]

    [26-Jul-2021 18:51:43 UTC] PHP Warning: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' (this will throw an Error in a future version of PHP) in /home/yfual8t48sdl/public_html/includes/functions/html_output.php on line 339
    [26-Jul-2021 18:51:43 UTC] Request URI: /cookie_usage, IP address: 114.119.142.7
    #1 zenCssButton() called at [/home/yfual8t48sdl/public_html/includes/functions/html_output.php:314]
    #2 zen_image_button() called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_whats_new.php:21]
    #3 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_whats_new.php) called at [/home/yfual8t48sdl/public_html/includes/modules/sideboxes/whats_new.php:27]
    #4 require(/home/yfual8t48sdl/public_html/includes/modules/sideboxes/whats_new.php) called at [/home/yfual8t48sdl/public_html/includes/modules/column_left.php:31]
    #5 require(/home/yfual8t48sdl/public_html/includes/modules/column_left.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php:198]
    #6 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php) called at [/home/yfual8t48sdl/public_html/index.php:97]

    [26-Jul-2021 18:51:43 UTC] PHP Warning: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' (this will throw an Error in a future version of PHP) in /home/yfual8t48sdl/public_html/includes/functions/html_output.php on line 339
    [26-Jul-2021 18:51:43 UTC] Request URI: /cookie_usage, IP address: 114.119.142.7
    #1 zenCssButton() called at [/home/yfual8t48sdl/public_html/includes/functions/html_output.php:314]
    #2 zen_image_button() called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_whats_new.php:21]
    #3 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/sideboxes/tpl_whats_new.php) called at [/home/yfual8t48sdl/public_html/includes/modules/sideboxes/whats_new.php:27]
    #4 require(/home/yfual8t48sdl/public_html/includes/modules/sideboxes/whats_new.php) called at [/home/yfual8t48sdl/public_html/includes/modules/column_left.php:31]
    #5 require(/home/yfual8t48sdl/public_html/includes/modules/column_left.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php:198]
    #6 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php) called at [/home/yfual8t48sdl/public_html/index.php:97]

    [26-Jul-2021 18:51:43 UTC] PHP Warning: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' (this will throw an Error in a future version of PHP) in /home/yfual8t48sdl/public_html/includes/functions/html_output.php on line 339
    [26-Jul-2021 18:51:43 UTC] Request URI: /cookie_usage, IP address: 114.119.142.7
    #1 zenCssButton() called at [/home/yfual8t48sdl/public_html/includes/functions/html_output.php:314]
    #2 zen_image_button() called at [/home/yfual8t48sdl/public_html/includes/templates/template_default/templates/tpl_cookie_usage_default.php:34]
    #3 require(/home/yfual8t48sdl/public_html/includes/templates/template_default/templates/tpl_cookie_usage_default.php) called at [/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php:235]
    #4 require(/home/yfual8t48sdl/public_html/includes/templates/flowers04/common/tpl_main_page.php) called at [/home/yfual8t48sdl/public_html/index.php:97]

    [26-Jul-2021 18:51:43 UTC] PHP Warning: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' (this will throw an Error in a future version of PHP) in /home/yfual8t48sdl/public_html/includes/functions/html_output.php on line 339

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: Filecount keeps rising

    You've got a down-level version of /includes/functions/html_output.php. zc157 (all versions) check that CSS_BUTTON_POPUPS_IS_ARRAY is defined prior to use.

  7. #7
    Join Date
    Jul 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Filecount keeps rising

    is this something that would be an easy fix if explained how to do, or would I be looking at having to hire somebody to rectify the problem?

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: Filecount keeps rising

    What is the history of the site? Did you hire someone to perform an upgrade?

  9. #9
    Join Date
    Jul 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Filecount keeps rising

    yes we did. we paid for zencart- templates to upgrade the site and add some extra features on there. We've used them twice before without issue
    I just did a search and theyy dont seem to exist any longer

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: Filecount keeps rising

    Quote Originally Posted by znowflake View Post
    is this something that would be an easy fix if explained how to do, or would I be looking at having to hire somebody to rectify the problem?
    it might be an easy fix..... then again it may not....

    this error should not come up in v157. and as previously stated, it is related to this file:

    /includes/functions/html_output.php

    which looks like your previous person who upgraded the site made some changes to the file, as the line number on the error does NOT correspond to a line number on a un-modified version of that file from any previous version of ZC.

    you can use a file difference tool to compare differences; but the fact that someone else modified a previous version of that file means having a "little" experience with php code could be of benefit.

    someone with experience could probably get it fixed quickly. walking you through it may take some time depending on the file modifications.

    you could try changing line 339 on that file as follows:

    PHP Code:
    //from
    if (CSS_BUTTON_POPUPS_IS_ARRAY == 'true') {
    //to
    if (defined('CSS_BUTTON_POPUPS_IS_ARRAY') && CSS_BUTTON_POPUPS_IS_ARRAY == 'true') { 
    if line 339 looks different than that line.... well... not sure where to do with that....

    unfortunately, there could be other problems related to having an older version of the file as well.

    hope that helps!
    Last edited by carlwhat; 27 Jul 2021 at 03:56 PM.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. image keeps apearing
    By Didee in forum General Questions
    Replies: 1
    Last Post: 23 Mar 2009, 02:47 AM
  2. It keeps changing my code!
    By Mikeumus in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jan 2009, 06:44 PM
  3. Keeps making me log in to admin
    By icklebits in forum General Questions
    Replies: 2
    Last Post: 4 Jul 2007, 05:49 PM
  4. Keeps converting to dollars!
    By hedgepig in forum General Questions
    Replies: 2
    Last Post: 20 Mar 2007, 02:05 PM

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