Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    application error Use of undefined constant TEXT_ALL_MANUFACTURERS

    Hi All, :)

    Just hoping someone could help me cure the following log error please.

    Thanking you in advance.


    --> PHP Warning: Use of undefined constant TEXT_ALL_MANUFACTURERS - assumed 'TEXT_ALL_MANUFACTURERS' (this will throw an Error in a future version of PHP) in /includes/index_filters/default_filter.php on line 155.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    What version of Zen Cart and what template is in use?

  3. #3
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Hi Lat9,

    Thank you for your reply, my apologies for the delay getting back to you.

    I am using v1.5.7b

    It's a clone of the Responsive_Classic template.

    Kind Regards,

    Les

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Would you post the full log of the issue? The topmost section of each log will identify what page was being processed when the PHP issue was logged; knowing that will help me help you.

  5. #5
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Hi Lat9,

    Sorry to take so long to reply but we have been on the road touring.

    Here is the full error log entry. Paths edited where necessary:

    [15-Mar-2024 15:53:42 Australia/Melbourne] Request URI: /ajax_process.php, IP address: xxxxxxx
    #1 require(/home/****/public_html/includes/index_filters/default_filter.php) called at [/home/*****/public_html/ajax_process.php:489]
    --> PHP Warning: Use of undefined constant TEXT_ALL_MANUFACTURERS - assumed 'TEXT_ALL_MANUFACTURERS' (this will throw an Error in a future version of PHP) in /home/***/public_html/includes/index_filters/default_filter.php on line 155.

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

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Quote Originally Posted by webmanstudios View Post
    Hi Lat9,

    Sorry to take so long to reply but we have been on the road touring.

    Here is the full error log entry. Paths edited where necessary:

    [15-Mar-2024 15:53:42 Australia/Melbourne] Request URI: /ajax_process.php, IP address: xxxxxxx
    #1 require(/home/****/public_html/includes/index_filters/default_filter.php) called at [/home/*****/public_html/ajax_process.php:489]
    --> PHP Warning: Use of undefined constant TEXT_ALL_MANUFACTURERS - assumed 'TEXT_ALL_MANUFACTURERS' (this will throw an Error in a future version of PHP) in /home/***/public_html/includes/index_filters/default_filter.php on line 155.
    That /ajax_process.php isn't part of the Zen Cart core; you'll need to check what plugin it came from.

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Quote Originally Posted by lat9 View Post
    That /ajax_process.php isn't part of the Zen Cart core; you'll need to check what plugin it came from.
    It's mine...

    Probably easiest workaround is to add the following line in includes/languages/english/extra_definitions/zxpos.php
    Code:
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

  8. #8
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    Default Re: Use of undefined constant TEXT_ALL_MANUFACTURERS

    Thank you both for all your help. :)

    Have now added the define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); and there are no more errors.

 

 

Similar Threads

  1. v156 Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_AIM_CURRENCY
    By RixStix in forum Upgrading to 1.5.x
    Replies: 15
    Last Post: 4 Dec 2023, 05:56 PM
  2. v157 Use of undefined constant TEXT_INFO_ADDRESS_BOOK_COUNT_SINGLE
    By himmon in forum General Questions
    Replies: 5
    Last Post: 16 Sep 2020, 07:05 PM
  3. v156 Use of undefined constant MODULE_PAYMENT_PAYFLOW_TRANSACTION_MODE
    By DigitalShadow in forum PayPal Website Payments Pro support
    Replies: 9
    Last Post: 15 Sep 2020, 04:56 PM
  4. v156 Use of undefined constant OFFICE_IP_TO_HOST_ADDRESS
    By jasonshanks in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 11 Apr 2020, 01:54 AM
  5. Undefined Notice: Use of undefined constant
    By TheOracle in forum Bug Reports
    Replies: 0
    Last Post: 6 May 2007, 06:33 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