Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Generating a lot of debug files

    I'm generating a huge number of debug files and I can't understand the problem. I get 2 debug files. One is a warning the other says deprecated. There are no problems with the website so far. The site looks good and orders are going through.
    Here is the contents of the latest warning one. Thanks for any help


    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 include(/home/spmini5/public_html/store/includes/auto_loaders/config.adminSanitize.php) called at [/home/spmini5/public_html/store/includes/initsystem.php:37]
    #2 require(/home/spmini5/public_html/store/includes/initsystem.php) called at [/home/spmini5/public_html/store/includes/application_top.php:161]
    #3 require(/home/spmini5/public_html/store/includes/application_top.php) called at [/home/spmini5/public_html/store/index.php:25]
    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminSanitize.php on line 14.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 include(/home/spmini5/public_html/store/includes/auto_loaders/config.adminNotifications.php) called at [/home/spmini5/public_html/store/includes/initsystem.php:37]
    #2 require(/home/spmini5/public_html/store/includes/initsystem.php) called at [/home/spmini5/public_html/store/includes/application_top.php:161]
    #3 require(/home/spmini5/public_html/store/includes/application_top.php) called at [/home/spmini5/public_html/store/index.php:25]
    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminNotifications.php on line 14.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require(/home/spmini5/public_html/store/includes/auto_loaders/config.adminSanitize.php) called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:218]
    #2 Zencart\InitSystem\InitSystem->getLoadersFromFilelist() called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:171]
    #3 Zencart\InitSystem\InitSystem->loadAutoLoadersFromSystem() called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:33]
    #4 Zencart\InitSystem\InitSystem->loadAutoLoaders() called at [/home/spmini5/public_html/store/includes/application_top.php:215]
    #5 require(/home/spmini5/public_html/store/includes/application_top.php) called at [/home/spmini5/public_html/store/index.php:25]
    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminSanitize.php on line 14.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require(/home/spmini5/public_html/store/includes/auto_loaders/config.adminNotifications.php) called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:218]
    #2 Zencart\InitSystem\InitSystem->getLoadersFromFilelist() called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:171]
    #3 Zencart\InitSystem\InitSystem->loadAutoLoadersFromSystem() called at [/home/spmini5/public_html/store/includes/classes/InitSystem.php:33]
    #4 Zencart\InitSystem\InitSystem->loadAutoLoaders() called at [/home/spmini5/public_html/store/includes/application_top.php:215]
    #5 require(/home/spmini5/public_html/store/includes/application_top.php) called at [/home/spmini5/public_html/store/index.php:25]
    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminNotifications.php on line 14.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require_once(/home/spmini5/public_html/store/includes/classes/zen_lightbox/options.php) called at [/home/spmini5/public_html/store/includes/classes/zen_lightbox/autoload_default.php:14]
    #2 require_once(/home/spmini5/public_html/store/includes/classes/zen_lightbox/autoload_default.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/jscript_zen_lightbox.php:14]
    #3 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/jscript_zen_lightbox.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/html_header.php:179]
    #4 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/html_header.php) called at [/home/spmini5/public_html/store/index.php:42]
    --> PHP Warning: Use of undefined constant ZEN_LIGHTBOX_COUNTER_IMAGE - assumed 'ZEN_LIGHTBOX_COUNTER_IMAGE' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/classes/zen_lightbox/options.php on line 23.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require_once(/home/spmini5/public_html/store/includes/classes/zen_lightbox/options.php) called at [/home/spmini5/public_html/store/includes/classes/zen_lightbox/autoload_default.php:14]
    #2 require_once(/home/spmini5/public_html/store/includes/classes/zen_lightbox/autoload_default.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/jscript_zen_lightbox.php:14]
    #3 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/jscript_zen_lightbox.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/html_header.php:179]
    #4 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/html_header.php) called at [/home/spmini5/public_html/store/index.php:42]
    --> PHP Warning: Use of undefined constant ZEN_LIGHTBOX_COUNTER_OF - assumed 'ZEN_LIGHTBOX_COUNTER_OF' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/classes/zen_lightbox/options.php on line 23.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php:153]
    #2 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php:171]
    #3 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php) called at [/home/spmini5/public_html/store/index.php:94]
    --> PHP Warning: Use of undefined constant ASK_A_QUESTION - assumed 'ASK_A_QUESTION' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php on line 40.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_modules_main_product_image.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php:72]
    #2 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php:153]
    #3 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php:171]
    #4 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php) called at [/home/spmini5/public_html/store/index.php:94]
    --> PHP Warning: Use of undefined constant LARGE_IMAGE_WIDTH - assumed 'LARGE_IMAGE_WIDTH' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_modules_main_product_image.php on line 24.

    [21-Oct-2020 08:17:36 UTC] Request URI: /store/index.php?main_page=product_info&products_id=2685, IP address: 54.36.148.242
    #1 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_modules_main_product_image.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php:72]
    #2 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php:153]
    #3 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php:171]
    #4 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php) called at [/home/spmini5/public_html/store/index.php:94]
    --> PHP Warning: Use of undefined constant LARGE_IMAGE_HEIGHT - assumed 'LARGE_IMAGE_HEIGHT' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_modules_main_product_image.php on line 24.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Generating a lot of debug files

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Generating a lot of debug files

    ZEN_LIGHTBOX_COUNTER_IMAGE and ZEN_LIGHTBOX_COUNTER_OF log fix:

    https://www.zen-cart.com/showthread....OF-PHP-notices
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Generating a lot of debug files

    Admin logs:

    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminSanitize.php on line 14.

    --> PHP Warning: Use of undefined constant DIR_FS_ADMIN - assumed 'DIR_FS_ADMIN' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/auto_loaders/config.adminNotifications.php on line 14.


    These two files are not included in 1.5.7 on the storefront side. Did you accidentally copy them from admin?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Re: Generating a lot of debug files

    I did all of the suggestions and it helped. I'm now getting the following in the warning Debug files.

    [22-Oct-2020 13:38:34 UTC] Request URI: /store/index.php?main_page=product_info&products_id=4180, IP address: 66.249.66.158
    #1 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php) called at [/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php:153]
    #2 require(/home/spmini5/public_html/store/includes/modules/pages/product_info/main_template_vars.php) called at [/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php:171]
    #3 require(/home/spmini5/public_html/store/includes/templates/custom_responsive/common/tpl_main_page.php) called at [/home/spmini5/public_html/store/index.php:94]
    --> PHP Warning: Use of undefined constant ASK_A_QUESTION - assumed 'ASK_A_QUESTION' (this will throw an Error in a future version of PHP) in /home/spmini5/public_html/store/includes/templates/custom_responsive/templates/tpl_product_info_display.php on line 40.


    The "ask a question" was included in the latest ZC version.
    I'm also getting a ton of Debug deprecated files which I have to look at.

    Carol

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Generating a lot of debug files

    The define
    define('ASK_A_QUESTION', 'Ask a question about this item');

    should be in includes/languages/YOURTEMPLATE/english.php
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Re: Generating a lot of debug files

    Here's is the last I hope file I need advice on. I had to cut out a lot of text in order to post it. I think it's related to the same thing. Duplicate file maybe?

    Thanks again for your help.

    PHP Notice: Constant WARNING_COULD_NOT_LOCATE_LANG_FILE already defined in /public_html/store/includes/languages/english.php on line 305
    PHP Notice: Constant TEXT_CCVAL_ERROR_INVALID_DATE already defined in /public_html/store/includes/languages/english.php on line 307
    PHP Notice: Constant TEXT_CCVAL_ERROR_INVALID_NUMBER already defined in /public_html/store/includes/languages/english.php on line 308
    PHP Notice: Constant TEXT_CCVAL_ERROR_UNKNOWN_CARD already defined in /public_html/store/includes/languages/english.php on line 309
    PHP Notice: Constant BOX_INFORMATION_DISCOUNT_COUPONS already defined in /public_html/store/includes/languages/english.php on line 311
    PHP Notice: Constant BOX_INFORMATION_GV already defined in /public_html/store/includes/languages/english.php on line 312
    PHP Notice: Constant VOUCHER_BALANCE already defined in /public_html/store/includes/languages/english.php on line 313
    PHP Notice: Constant BOX_HEADING_GIFT_VOUCHER already defined in /public_html/store/includes/languages/english.php on line 314
    PHP Notice: Constant GV_FAQ already defined in /public_html/store/includes/languages/english.php on line 315
    PHP Notice: Constant ERROR_REDEEMED_AMOUNT already defined in /public_html/store/includes/languages/english.php on line 316
    PHP Notice: Constant ERROR_NO_REDEEM_CODE already defined in /public_html/store/includes/languages/english.php on line 317
    PHP Notice: Constant ERROR_NO_INVALID_REDEEM_GV already defined in /public_html/store/includes/languages/english.php on line 318
    PHP Notice: Constant TABLE_HEADING_CREDIT already defined in /public_html/store/includes/languages/english.php on line 319
    PHP Notice: Constant TEXT_SEND_OR_SPEND already defined in /public_html/store/includes/languages/english.php on line 330
    PHP Notice: Constant TEXT_BALANCE_IS already defined in /public_html/store/includes/languages/english.php on line 331
    PHP Notice: Constant TEXT_AVAILABLE_BALANCE already defined in /public_html/store/includes/languages/english.php on line 332
    PHP Notice: Constant PAYMENT_METHOD_GV already defined in /public_html/store/includes/languages/english.php on line 335
    PHP Notice: Constant PAYMENT_MODULE_GV already defined in /public_html/store/includes/languages/english.php on line 336
    PHP Notice: Constant TABLE_HEADING_CREDIT_PAYMENT already defined in /public_html/store/includes/languages/english.php on line 338
    PHP Notice: Constant TEXT_INVALID_REDEEM_COUPON already defined in /public_html/store/includes/languages/english.php on line 340
    PHP Notice: Constant TEXT_INVALID_REDEEM_COUPON_MINIMUM already defined in /public_html/store/includes/languages/english.php on line 341
    PHP Notice: Constant TEXT_INVALID_STARTDATE_COUPON already defined in /public_html/store/includes/languages/english.php on line 342
    PHP Notice: Constant TEXT_INVALID_FINISHDATE_COUPON already defined in /public_html/store/includes/languages/english.php on line 343
    PHP Notice: Constant TEXT_INVALID_USES_COUPON already defined in /public_html/store/includes/languages/english.php on line 344
    PHP Notice: Constant TEXT_INVALID_USES_USER_COUPON already defined in /public_html/store/includes/languages/english.php on line 347
    PHP Notice: Constant TEXT_ERROR already defined in /public_html/store/includes/languages/english.php on line 351
    PHP Notice: Constant TEXT_INVALID_COUPON_PRODUCT already defined in /public_html/store/includes/languages/english.php on line 352
    PHP Notice: Constant TEXT_VALID_COUPON already defined in /public_html/store/includes/languages/english.php on line 353
    PHP Notice: Constant TEXT_REMOVE_REDEEM_COUPON_ZONE already defined in /public_html/store/includes/languages/english.php on line 354
    PHP Notice: Constant MORE_INFO_TEXT already defined in /public_html/store/includes/languages/english.php on line 357
    PHP Notice: Constant TEXT_YOUR_IP_ADDRESS already defined in /public_html/store/includes/languages/english.php on line 360
    PHP Notice: Constant HEADING_ADDRESS_INFORMATION already defined in /public_html/store/includes/languages/english.php on line 363
    PHP Notice: Constant PRODUCTS_ORDER_QTY_TEXT_IN_CART already defined in /public_html/store/includes/languages/english.php on line 366
    PHP Notice: Constant PRODUCTS_ORDER_QTY_TEXT already defined in /public_html/store/includes/languages/english.php on line 367
    PHP Notice: Constant SUCCESS_ADDED_TO_CART_PRODUCT already defined in /public_html/store/includes/languages/english.php on line 372
    PHP Notice: Constant SUCCESS_ADDED_TO_CART_PRODUCTS already defined in /public_html/store/includes/languages/english.php on line 374
    PHP Notice: Constant TEXT_PRODUCT_WEIGHT_UNIT already defined in /public_html/store/includes/languages/english.php on line 376
    PHP Notice: Constant TEXT_SHIPPING_WEIGHT already defined in /public_html/store/includes/languages/english.php on line 379
    PHP Notice: Constant TEXT_SHIPPING_BOXES already defined in /public_html/store/includes/languages/english.php on line 380
    PHP Notice: Constant PRODUCT_PRICE_DISCOUNT_PREFIX already defined in /public_html/store/includes/languages/english.php on line 383
    PHP Notice: Constant PRODUCT_PRICE_DISCOUNT_PERCENTAGE already defined in /public_html/store/includes/languages/english.php on line 384
    PHP Notice: Constant PRODUCT_PRICE_DISCOUNT_AMOUNT already defined in /public_html/store/includes/languages/english.php on line 385
    PHP Notice: Constant PRODUCT_PRICE_SALE already defined in /public_html/store/includes/languages/english.php on line 388
    PHP Notice: Constant TEXT_NUMBER_SYMBOL already defined in /public_html/store/includes/languages/english.php on line 391
    PHP Notice: Constant BOX_HEADING_BANNER_BOX already defined in /public_html/store/includes/languages/english.php on line 394
    PHP Notice: Constant TEXT_BANNER_BOX already defined in /public_html/store/includes/languages/english.php on line 395
    PHP Notice: Constant BOX_HEADING_BANNER_BOX2 already defined in /public_html/store/includes/languages/english.php on line 398
    PHP Notice: Constant TEXT_BANNER_BOX2 already defined in /public_html/store/includes/languages/english.php on line 399
    PHP Notice: Constant BOX_HEADING_BANNER_BOX_ALL already defined in /public_html/store/includes/languages/english.php on line 402
    PHP Notice: Constant TEXT_BANNER_BOX_ALL already defined in /public_html/store/includes/languages/english.php on line 403
    PHP Notice: Constant PULL_DOWN_ALL already defined in /public_html/store/includes/languages/english.php on line 406
    PHP Notice: Constant PULL_DOWN_MANUFACTURERS already defined in /public_html/store/includes/languages/english.php on line 407
    PHP Notice: Constant PULL_DOWN_SHIPPING_ESTIMATOR_SELECT already defined in /public_html/store/includes/languages/english.php on line 409
    PHP Notice: Constant TEXT_INFO_SORT_BY already defined in /public_html/store/includes/languages/english.php on line 412
    PHP Notice: Constant TEXT_CLOSE_WINDOW already defined in /public_html/store/includes/languages/english.php on line 415
    PHP Notice: Constant TEXT_CURRENT_CLOSE_WINDOW already defined in /public_html/store/includes/languages/english.php on line 417
    PHP Notice: Constant ERROR_FILETYPE_NOT_ALLOWED already defined in /public_html/store/includes/languages/english.php on line 420
    PHP Notice: Constant WARNING_NO_FILE_UPLOADED already defined in /public_html/store/includes/languages/english.php on line 421
    PHP Notice: Constant SUCCESS_FILE_SAVED_SUCCESSFULLY already defined in /public_html/store/includes/languages/english.php on line 422
    PHP Notice: Constant ERROR_FILE_NOT_SAVED already defined in /public_html/store/includes/languages/english.php on line 423
    PHP Notice: Constant ERROR_DESTINATION_NOT_WRITEABLE already defined in /public_html/store/includes/languages/english.php on line 424
    PHP Notice: Constant ERROR_DESTINATION_DOES_NOT_EXIST already defined in /public_html/store/includes/languages/english.php on line 425
    PHP Notice: Constant ERROR_FILE_TOO_BIG already defined in /public_html/store/includes/languages/english.php on line 426
    PHP Notice: Constant TEXT_BEFORE_DOWN_FOR_MAINTENANCE already defined in /public_html/store/includes/languages/english.php on line 429
    PHP Notice: Constant TEXT_ADMIN_DOWN_FOR_MAINTENANCE already defined in /public_html/store/includes/languages/english.php on line 430
    PHP Notice: Constant PRODUCTS_PRICE_IS_FREE_TEXT already defined in /public_html/store/includes/languages/english.php on line 432
    PHP Notice: Constant PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT already defined in /public_html/store/includes/languages/english.php on line 433
    PHP Notice: Constant TEXT_CALL_FOR_PRICE already defined in /public_html/store/includes/languages/english.php on line 434
    PHP Notice: Constant TEXT_INVALID_SELECTION already defined in /public_html/store/includes/languages/english.php on line 436
    PHP Notice: Constant TEXT_ERROR_OPTION_FOR already defined in /public_html/store/includes/languages/english.php on line 437
    PHP Notice: Constant TEXT_INVALID_USER_INPUT already defined in /public_html/store/includes/languages/english.php on line 438
    PHP Notice: Constant PRODUCTS_QUANTITY_MIN_TEXT_LISTING already defined in /public_html/store/includes/languages/english.php on line 441
    PHP Notice: Constant PRODUCTS_QUANTITY_UNIT_TEXT_LISTING already defined in /public_html/store/includes/languages/english.php on line 442
    PHP Notice: Constant PRODUCTS_QUANTITY_MAX_TEXT_LISTING already defined in /public_html/store/includes/languages/english.php on line 446
    PHP Notice: Constant TEXT_PRODUCTS_MIX_OFF already defined in /public_html/store/includes/languages/english.php on line 448
    PHP Notice: Constant TEXT_PRODUCTS_MIX_ON already defined in /public_html/store/includes/languages/english.php on line 449
    PHP Notice: Constant TEXT_PRODUCTS_MIX_OFF_SHOPPING_CART already defined in /public_html/store/includes/languages/english.php on line 451
    PHP Notice: Constant TEXT_PRODUCTS_MIX_ON_SHOPPING_CART already defined in /public_html/store/includes/languages/english.php on line 452
    PHP Notice: Constant ERROR_MAXIMUM_QTY already defined in /public_html/store/includes/languages/english.php on line 454
    PHP Notice: Constant ERROR_CORRECTIONS_HEADING already defined in /public_html/store/includes/languages/english.php on line 455
    PHP Notice: Constant ERROR_QUANTITY_ADJUSTED already defined in /public_html/store/includes/languages/english.php on line 456
    PHP Notice: Constant ERROR_QUANTITY_CHANGED_FROM already defined in /public_html/store/includes/languages/english.php on line 457
    PHP Notice: Constant ERROR_QUANTITY_CHANGED_TO already defined in /public_html/store/includes/languages/english.php on line 458
    PHP Notice: Constant DOWNLOADS_CONTROLLER_ON_HOLD_MSG already defined in /public_html/store/includes/languages/english.php on line 461
    PHP Notice: Constant TEXT_FILESIZE_BYTES already defined in /public_html/store/includes/languages/english.php on line 462
    PHP Notice: Constant TEXT_FILESIZE_KBS already defined in /public_html/store/includes/languages/english.php on line 463
    PHP Notice: Constant TEXT_FILESIZE_MEGS already defined in /public_html/store/includes/languages/english.php on line 464
    PHP Notice: Constant TEXT_FILESIZE_UNKNOWN already defined in /public_html/store/includes/languages/english.php on line 465
    PHP Notice: Constant ERROR_PRODUCT already defined in /public_html/store/includes/languages/english.php on line 468
    PHP Notice: Constant ERROR_PRODUCT_STATUS_SHOPPING_CART already defined in /public_html/store/includes/languages/english.php on line 469
    PHP Notice: Constant ERROR_PRODUCT_ATTRIBUTES already defined in /public_html/store/includes/languages/english.php on line 470
    PHP Notice: Constant ERROR_PRODUCT_STATUS_SHOPPING_CART_ATTRIBUTES already defined in /public_html/store/includes/languages/english.php on line 471
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_MIN already defined in /public_html/store/includes/languages/english.php on line 472
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_UNITS already defined in /public_html/store/includes/languages/english.php on line 473
    PHP Notice: Constant ERROR_PRODUCT_OPTION_SELECTION already defined in /public_html/store/includes/languages/english.php on line 474
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_ORDERED already defined in /public_html/store/includes/languages/english.php on line 475
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_MAX already defined in /public_html/store/includes/languages/english.php on line 476
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_MIN_SHOPPING_CART already defined in /public_html/store/includes/languages/english.php on line 477
    PHP Notice: Constant ERROR_PRODUCT_QUANTITY_UNITS_SHOPPING_CART already defined in /public_html/store/includes/languages/english.php on line 478

    PHP Notice: Constant ZEN_LIGHTBOX_VERSION already defined in /public_html/store/includes/languages/english/extra_definitions/custom_responsive/zen_lightbox.php on line 12
    PHP Notice: Constant TABLE_HEADING_MODEL already defined in /public_html/store/includes/languages/english/custom_responsive/index.php on line 34
    PHP Notice: Constant TABLE_HEADING_PRODUCTS already defined in /public_html/store/includes/languages/english/custom_responsive/index.php on line 35
    PHP Notice: Constant TABLE_HEADING_QUANTITY already defined in /public_html/store/includes/languages/english/custom_responsive/index.php on line 37
    PHP Notice: Constant TEXT_MAIN already defined in /public_html/store/includes/languages/english/index.php on line 9
    PHP Notice: Constant TEXT_GREETING_GUEST already defined in /public_html/store/includes/languages/english/index.php on line 13
    PHP Notice: Constant TEXT_GREETING_PERSONAL already defined in /public_html/store/includes/languages/english/index.php on line 18
    PHP Notice: Constant TEXT_INFORMATION already defined in /public_html/store/includes/languages/english/index.php on line 20
    PHP Notice: Constant HEADING_TITLE already defined in /public_html/store/includes/languages/english/index.php on line 31
    PHP Notice: Constant TABLE_HEADING_IMAGE already defined in /public_html/store/includes/languages/english/index.php on line 32
    PHP Notice: Constant TABLE_HEADING_PRODUCTS already defined in /public_html/store/includes/languages/english/index.php on line 33
    PHP Notice: Constant TABLE_HEADING_MANUFACTURER already defined in /public_html/store/includes/languages/english/index.php on line 34
    PHP Notice: Constant TABLE_HEADING_PRICE already defined in /public_html/store/includes/languages/english/index.php on line 35
    PHP Notice: Constant TABLE_HEADING_WEIGHT already defined in /public_html/store/includes/languages/english/index.php on line 36
    PHP Notice: Constant TABLE_HEADING_BUY_NOW already defined in /public_html/store/includes/languages/english/index.php on line 37
    PHP Notice: Constant TEXT_NO_PRODUCTS already defined in /public_html/store/includes/languages/english/index.php on line 38
    PHP Notice: Constant TEXT_NO_PRODUCTS2 already defined in /public_html/store/includes/languages/english/index.php on line 39
    PHP Notice: Constant TEXT_NUMBER_OF_PRODUCTS already defined in /public_html/store/includes/languages/english/index.php on line 40
    PHP Notice: Constant TEXT_SHOW already defined in /public_html/store/includes/languages/english/index.php on line 41
    PHP Notice: Constant TEXT_BUY already defined in /public_html/store/includes/languages/english/index.php on line 42
    PHP Notice: Constant TEXT_NOW already defined in /public_html/store/includes/languages/english/index.php on line 43
    PHP Notice: Constant TEXT_ALL_CATEGORIES already defined in /public_html/store/includes/languages/english/index.php on line 44
    PHP Notice: Constant TEXT_ALL_MANUFACTURERS already defined in /public_html/store/includes/languages/english/index.php on line 45

    Carol

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

    Default Re: Generating a lot of debug files

    @spminis, those 'duplicate constant' notices are normally as-expected due the the methods used by Zen Cart's language-loading.

    If you've got, for instance, a template-override of /includes/languages/english.php, your template-override is loaded first but the base english.php file's still loaded just in case there are additional definitions not included in your override file.

    Since you're running zc157 (which has "Report All Errors" built-in), you can request that those Duplicate-Constant warnings not be reported. See Configuration :: Logging :: Report All Errors (Store)? and change its value to IgnoreDups.

  9. #9
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Re: Generating a lot of debug files

    Thanks!

    Carol

 

 

Similar Threads

  1. Show Debug Files Automatically
    By torvista in forum Addon Admin Tools
    Replies: 23
    Last Post: 22 Jun 2019, 04:12 PM
  2. v153 Google Merchant Center and Sitemap SML not generating files, popups blank
    By BlackOrchidCouture in forum General Questions
    Replies: 0
    Last Post: 13 Sep 2014, 08:05 PM
  3. Sure seems like a lot of $ for a lot of work...
    By runfrombears in forum General Questions
    Replies: 9
    Last Post: 15 Mar 2013, 08:13 AM
  4. Authorize.net AIM still generating debug logs even with debug disabled
    By llynix in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 11 May 2010, 01:03 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