Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    263
    Plugin Contributions
    0

    Default popup_attributes_qty_prices page missing NAVBAR title

    Hi all,
    URL: still private unfortunately (regulation issue), if needed will create a separate empty site.
    ZC 1.5.6c
    PHP 7.3.8
    MariaDB 10.3.17

    Plugins:
    multi-language country names v1.1.0
    multi-language zone names v1.0.0
    sitemap XML 3.9.6
    Easy Populate v4.0
    Image Handle 5 v5.1.5
    Stripe v1.3.4
    Direct Bank Deposit v1.5.3
    Skinny About Us Page v1.0
    CKEditor v3.7s
    Structured Data Plugin (master from git)
    Google ReCaptcha 2 v3.4
    Flexible Footer Menu Multilingual v1.5
    Gift Wrap Module v2.14

    I've noticed an error for a missing NAVBAR title:
    [28-Aug-2019 08:17:35 Asia/Tokyo] Request URI: /shop/index.php?main_page=popup_attributes_qty_prices&products_id=159, IP address: *********
    #1 require(/******/shop/includes/modules/pages/popup_attributes_qty_prices/header_php.php) called at [/********/shop/index.php:36]
    --> PHP Warning: Use of undefined constant NAVBAR_TITLE_1 - assumed 'NAVBAR_TITLE_1' (this will throw an Error in a future version of PHP) in /*******/shop/includes/modules/pages/popup_attributes_qty_prices/header_php.php on line 12.
    There is no popup_attributes_qty_prices.php language definition file that I can see anywhere. I presume that would solve the issue, but am not sure if the error actually originates there.
    Zen Cart 1.5.6c modified to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  2. #2
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    263
    Plugin Contributions
    0

    Default Re: popup_attributes_qty_prices page missing NAVBAR title

    Hi all,
    I noticed I still have this error on 1.5.6c, and my site is now live, at
    https://www.proteawines.jp/shop/
    (selection between English and Japanese possible using flags).
    I cannot tell what this error is supposed to mean: is there really a file missing? Because this seems to be a core file, not related to any plugin or template?
    Zen Cart 1.5.6c modified to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: popup_attributes_qty_prices page missing NAVBAR title

    It's more a bug in that /includes/modules/pages/popup_attributes_qty_prices/header_php.php. The popup pages don't include breadcrumbs, so no breadcrumb 'name' should be submitted.

    You can safely change that file, commenting out that recording:
    Code:
    <?php
    /**
     * Pop Up for attributes qty prices
     *
     * @package page
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header_php.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    // $breadcrumb->add(NAVBAR_TITLE_1);
    ?>

  4. #4
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    263
    Plugin Contributions
    0

    Default Re: popup_attributes_qty_prices page missing NAVBAR title

    Hi lat9,
    Thank you very much! Hope it helps others too.
    Zen Cart 1.5.6c modified to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: popup_attributes_qty_prices page missing NAVBAR title

    Quote Originally Posted by gernot View Post
    Hi lat9,
    Thank you very much! Hope it helps others too.
    My pleasure; I've submitted a PR for zc157 for the change: https://github.com/zencart/zencart/pull/2953

 

 

Similar Threads

  1. Heading Title/NavBar Title Not displaying 'Welcome' message
    By Twaddle in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2009, 05:33 PM
  2. how to change a page title - e.g. gift cert page title
    By eminentonline in forum Basic Configuration
    Replies: 2
    Last Post: 30 Jun 2009, 07:04 PM
  3. Contact Us page Title missing
    By mlbracewell in forum General Questions
    Replies: 3
    Last Post: 31 May 2007, 04:42 PM
  4. popup_attributes_qty_prices
    By bbai2005 in forum Basic Configuration
    Replies: 1
    Last Post: 19 Jan 2007, 07:03 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