Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    L'Aquila
    Posts
    113
    Plugin Contributions
    1

    Default CATEGORIES_TABS_STATUS Error

    Hello everyone, I always have this error that appears in the logs, I can't understand where some idea comes from?
    -> PHP Warning: Use of undefined constant CATEGORIES_TABS_STATUS - assumed 'CATEGORIES_TABS_STATUS' (this will throw an Error in a future version of PHP) inincludes / templates / responsive_classic / templates / tpl_modules_categories_tabs.php on line 16.
    Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
    Golden Eagle Herbal - https://www.erboristeriabio.it
    Giraspiga - https://www.giraspiga.com

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

    Default Re: CATEGORIES_TABS_STATUS Error

    It's an entry in your database. Perhaps it got deleted? You can search for it in phpMyAdmin

    SELECT * FROM configuration WHERE configuration_key='CATEGORIES_TABS_STATUS';

    If necessary, you can recreate it with

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Category Header Menu ON/OFF', 'CATEGORIES_TABS_STATUS', '1', 'Category Header Nav<br />This enables the display of your store\'s categories as a menu across the top of your header. There are many potential creative uses for this.<br />0= Hide Categories Tabs<br />1= Show Categories Tabs', '19', '112', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());

    (Add the your prefix to "configuration" if you have one.)
    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
    Jul 2010
    Location
    L'Aquila
    Posts
    113
    Plugin Contributions
    1

    Default Re: CATEGORIES_TABS_STATUS Error

    Thanks as always exhaustive,
    I have other errors:
    -> PHP warning: use of undefined constant SHOW_ACCOUNT_LINKS_ON_SITE_MAP - assumed 'SHOW_ACCOUNT_LINKS_ON_SITE_MAP' (this will throw an error in a future version of PHP) in /includes/templates/template_default/templatesfa/tpl_page_not_default/templatesfa/tpl_page_not_default. 29.

    -> 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 / includes / templates / responsive_classic / templates / tpl_modules_main_product_image.php on line 23.

    [11-Apr-2022 11:46:19 Europe / Rome] PHP deprecated: methods with the same name as their class will not be constructors in a future version of PHP; RewardPoints has a deprecated constructor in includes / classes / observers / class.reward_points.php on line 6
    Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
    Golden Eagle Herbal - https://www.erboristeriabio.it
    Giraspiga - https://www.giraspiga.com

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

    Default Re: CATEGORIES_TABS_STATUS Error

    a) SHOW_ACCOUNT_LINKS_ON_SITE_MAP - this is another built in define. It somehow got clobbered; add it back.

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Site Map - include My Account Links?', 'SHOW_ACCOUNT_LINKS_ON_SITE_MAP', 'No', 'Should the links to My Account show up on the site-map?<br />Note: Spiders will try to index this page, and likely should not be sent to secure pages, since there is no benefit in indexing a login page.<br /><br />Default: false', 19, 115, 'zen_cfg_select_option(array(\'Yes\', \'No\'), ', now());


    b) LARGE_IMAGE_HEIGHT - this is *not* a built-in define, you have to add it. Same with _WIDTH.
    Use this in Admin > Tools > Install SQL Patches:

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Large Image Width', 'LARGE_IMAGE_WIDTH', '600', 'The pixel width of large images', '4', '80', now());
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Large Image Height', 'LARGE_IMAGE_HEIGHT', '600', 'The pixel height of large images', '4', '81', now());

    c) Rewards: here's how to fix issues like this:
    https://docs.zen-cart.com/user/upgra...s-their-class-
    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
    Jul 2010
    Location
    L'Aquila
    Posts
    113
    Plugin Contributions
    1

    Default Re: CATEGORIES_TABS_STATUS Error

    c) Rewards: here's how to fix issues like this:
    https://docs.zen-cart.com/user/upgra...s-their-class-[/QUOTE]

    Thanks as always very kind, then the two queries work and have solved, most likely when I made the update to the Italian language of the DB some pieces got lost along the way.
    As for the error
    PHP deprecated: methods with the same name as their class will not be constructors in a future version of PHP; RewardPoints has a deprecated constructor in includes / classes / observers / class.reward_points.php on line 6
    I've seen the instructions,
    but on line 6 there's just this:
    class RewardPoints extends base
    I don't find what to correct
    Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
    Golden Eagle Herbal - https://www.erboristeriabio.it
    Giraspiga - https://www.giraspiga.com

  6. #6
    Join Date
    Jul 2010
    Location
    L'Aquila
    Posts
    113
    Plugin Contributions
    1

    Default Re: CATEGORIES_TABS_STATUS Error

    I can't find the solution of this:
    I know but slowly I learn
    -> PHP warning: use of undefined constant none - assumption 'none' (this will generate an error in a future version of PHP) in /includes/templates/responsive_classic/common/tpl_language_header.php on line 22.

    -> PHP warning: use of undefined constant none - assumption 'none' (this will generate an error in a future version of PHP) in /includes/templates/responsive_classic/common/tpl_currency_header.php on line 69.
    Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
    Golden Eagle Herbal - https://www.erboristeriabio.it
    Giraspiga - https://www.giraspiga.com

 

 

Similar Threads

  1. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  2. v139f Shopping Cart error: HTTP Error 500 (Internal Server Error)
    By Tulameen in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2012, 01:48 AM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  5. Replies: 9
    Last Post: 30 Mar 2009, 06:50 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