Thread: Westminster New

Page 180 of 187 FirstFirst ... 80130170178179180181182 ... LastLast
Results 1,791 to 1,800 of 1865
  1. #1791
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Just to let you know I'm following your progress as I have exactly the same issue on my fresh new install of 1.5.7 :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  2. #1792
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    V1.5.7 - Fresh Install

    I'm constantly getting this debug log and don't understand why.

    Debug Log
    [07-Oct-2020 02:04:12 UTC] Request URI: /, IP address: 209.17.96.122
    #1 require(/includes/templates/westminster_new/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Use of undefined constant DISPLAY_PAGE_PARSE_TIME - assumed 'DISPLAY_PAGE_PARSE_TIME' (this will throw an Error in a future version of PHP) in /includes/templates/westminster_new/common/tpl_main_page.php on line 279.

    Here is the coding from the file it relates to - Line 279 is "if (DISPLAY_PAGE_PARSE_TIME == 'true') {"

    <!--bof- parse time display -->
    <?php
    if (DISPLAY_PAGE_PARSE_TIME == 'true') {
    ?>
    <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
    <?php
    }
    ?>
    <!--eof- parse time display -->


    Can anyone tell me how to fix this?

    There's a coffee in it for you as I'm so over it! :-)
    Thanks
    Tania :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  3. #1793
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by Elemi View Post
    V1.5.7 - Fresh Install

    I'm constantly getting this debug log and don't understand why.

    Debug Log
    [07-Oct-2020 02:04:12 UTC] Request URI: /, IP address: 209.17.96.122
    #1 require(/includes/templates/westminster_new/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Use of undefined constant DISPLAY_PAGE_PARSE_TIME - assumed 'DISPLAY_PAGE_PARSE_TIME' (this will throw an Error in a future version of PHP) in /includes/templates/westminster_new/common/tpl_main_page.php on line 279.
    And here is the coding for /index.php:94

    require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php');
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  4. #1794
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,744
    Plugin Contributions
    0

    Default Re: Westminster New

    This
    Code:
    <!--bof- parse time display -->
    <?php
    if (DISPLAY_PAGE_PARSE_TIME == 'true') {
    ?>
    <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
    <?php
    }
    ?>
    <!--eof- parse time display -->
    was removed from 1.5.7 so remove it from the westminster new template files.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #1795
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Thank you soooo much Mike!

    Do you know anything about the sideboxes issue?

    07-Oct-2020 04:08:29 UTC] Request URI: /, IP address: 66.102.8.61
    #1 each() called at [/includes/templates/westminster_new/sideboxes/tpl_languages_header.php:15]

    while (list($key, $value) = each($lng->catalog_languages)) {

    #2 require(/includes/templates/westminster_new/sideboxes/tpl_languages_header.php) called at [/includes/modules/sideboxes/languages_header.php:22]

    require($template->get_template_dir('tpl_languages_header.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_languages_header.php');


    #3 require(/includes/modules/sideboxes/languages_header.php) called at [/includes/templates/westminster_new/common/tpl_header_mobile.php:56]

    if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes _on_here,separated_by_commas,and_no_spaces')) ) {

    #4 require(/includes/templates/westminster_new/common/tpl_header_mobile.php) called at [/includes/templates/westminster_new/common/tpl_main_page.php:133]

    require($template->get_template_dir('tpl_header_mobile.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header_mobile.php');

    #5 require(/includes/templates/westminster_new/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /includes/templates/westminster_new/sideboxes/tpl_languages_header.php on line 15.


    [/index.php:94]

    require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php');

    /includes/templates/westminster_new/sideboxes/tpl_languages_header.php on line 15

    while (list($key, $value) = each($lng->catalog_languages)) {
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  6. #1796
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    And another question - and hopefully an easier one although I can't find it in the .css files - where is the line that makes everything in uppercase? It is sooooo hard to read, and I would prefer the product names to be in either Small Caps or Titlecase, not ALLCAPS.

    Other's may find it easy to read, however I'm cross-eyed and it is hard for me to see what I'm proofing on the web page if there is differentiation. :-(

    Thanking you in advance xo
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  7. #1797
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Next debug logs annoying me in 1.5.7 - these are in relation to the mobile app, they pop up every time I look at the website on my phone, so there are undoubtedly some from prospective customers looking too. I've had a look at the standard Responsive Template files for1.5.7 - there is no tpl_modules_mobile_categories_tabs.php to compare it with.

    Code:
    [28-Oct-2020 19:31:56 UTC] PHP Notice: Undefined index: customer_id in /includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php on line 47
    Line 47:
    <?php if ($_SESSION['customer_id']) { ?>


    Code:
    [28-Oct-2020 19:31:56 UTC] PHP Notice: Undefined index: display_mode in /includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php on line 121
    Line 121:
    <?php } else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){ ?>


    Any suggestions out there?
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  8. #1798
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by Elemi View Post
    Next debug logs annoying me in 1.5.7 - these are in relation to the mobile app, they pop up every time I look at the website on my phone, so there are undoubtedly some from prospective customers looking too. I've had a look at the standard Responsive Template files for1.5.7 - there is no tpl_modules_mobile_categories_tabs.php to compare it with.

    Code:
    [28-Oct-2020 19:31:56 UTC] PHP Notice: Undefined index: customer_id in /includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php on line 47
    Line 47:
    <?php if ($_SESSION['customer_id']) { ?>


    Code:
    [28-Oct-2020 19:31:56 UTC] PHP Notice: Undefined index: display_mode in /includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php on line 121
    Line 121:
    <?php } else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){ ?>


    Any suggestions out there?
    Not sure that I have anything to offer other than a stab in the dark but just wondered does changing PHP versions make any difference??

    Is this error log causing any malfunctions of the operation of the site itself, i.e. no issues with display, order processing etc??? I am yet to move to 1.5.7 but do want to use this template - aside from this error log how is the template performing for you?

    cheers, Mike

  9. #1799
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    I am re-addressing the issue of trying to get rid of the drop down menu (slimmenu) from the home page - refer a line of posts and responses beginning here https://www.zen-cart.com/showthread....26#post1363026

    I have recently spent a number of hours trying to get to the bottom of this without luck.

    I do have a site that does not have the drop down menu on the home page - cannot remember how this was achieved a few years back now. The site is www.treeoflifejewellery.com.au and it is v1.5.5f using this template - same zc version as the site I am trying to remove the drop down from.

    I have used WinMerge to compare the a range of .css files of both sites and the jquery.slimmenu.js - all are identical !! (other than a couple of text / spacing items in stylesheet.css) - .css files compared responsive.css, responsive_default.css, responsive_mobile.css, stylesheet.css, stylesheet_responsive_tabs.css

    So I started working through some template files that I thought may have been altered in the case of the site that the menu was successfully removed from - no luck there either.

    I spent a couple of hours scrolling through this forum looking for clues, again to no avail.

    I compared the Page Source of the two sites and of course found the difference, see below;
    HTML Code:
    /Treeoflifejewellery.com.au/
    <!--eof-header logo and navigation display-->
    
    <!--bof-optional categories tabs navigation display-->
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-necklaces-c-2">Tree of Life Necklaces</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/chiming-tree-of-life-necklaces-c-11">Chiming Tree of Life Necklaces</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-bracelets-c-3">Tree of Life Bracelets</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-earrings-c-8">Tree of Life Earrings</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-rings-c-4">Tree of Life Rings</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/silver-chains-c-6">Silver Chains & Necklace Cords</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-pendants-c-1">Tree of Life Pendants</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/wooden-tree-of-life-necklaces">Wooden Tree Of Life Necklaces</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/gemstone-pendants">Gemstone Pendants</a> </li>
      <li><a class="category-top" href="https://www.treeoflifejewellery.com.au/tree-of-life-key-rings-c-10">Tree of Life Key Rings</a> </li>
    </ul></div></div>
    
    ....................................
    /dazzlerscliponearrings.com.au/
    <!--eof-header logo and navigation display-->
    
    
    <!--bof handheld menu display-->
    
    
    
    <div id="menu">
    <ul class="slimmenu">
    
        <li class="test"><a href="" class="mshop">Categories</a>
    <ul class="level2"><li>
    <a href="https://www.dazzlerscliponearrings.com.au/all-clip-on-earrings-c-1"><b>ALL</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/artisan-crafted-clip-on-earrings-c-5"><b>ARTISAN CRAFTED</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/sterling-silver-clip-on-earrings-c-3"><b>STERLING SILVER</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/button-style-clip-on-earrings"><b>BUTTON style</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/dangle-clip-on-earrings"><b>DANGLE</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/gemstone-clip-on-earrings-c-4"><b>GEMSTONE</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/glamorous-clip-on-earrings"><b>GLAMOROUS</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/hoop-half-hoop-clip-ons">Half Hoop & <b>HOOP</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/pearl-clip-on-earrings-c-6"><b>PEARL</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/retro-vintage-style-clip-ons"><b>RETRO & VINTAGE</b> Style Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/chandelier-clip-on-earrings-c-8"><b>CHANDELIER</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/fashion-clip-on-earrings-c-2"><b>FASHION</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/tassel-clip-on-earrings-c-10"><b>TASSEL</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/rose-gold-clip-on-earrings"><b>ROSE GOLD</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/gold-clip-on-earrings"><b>GOLD</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/crystal-clip-on-earrings"><b>CRYSTAL</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/statement-clip-on-earrings"><b>STATEMENT</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/bridal-clip-on-earrings"><b>BRIDAL</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/silver-clip-on-earrings"><b>SILVER</b> Clip On Earrings</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/earrings-necklace-sets"><b>SETS</b> Earrings & Necklace</a></li><li>
    <a href="https://www.dazzlerscliponearrings.com.au/soft-pads-for-clip-on-earrings"><b>SOFT PADS</b> for Clip On Earrings</a></li></ul>                        
    </li>
    
    
    
    <li class="minfo-links"><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=site_map" class="minfo">Information</a>
        <ul class="level2">
        <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=site_map">Customer Service</a>
        <ul>
        <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=about_us">About Us</a></li>
          <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=login">Log In</a></li>
       <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=create_account">Create Account</a></li>
         <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=shippinginfo">Shipping &amp; Returns</a></li>
          <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=privacy">Privacy Notice</a></li>
      <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=conditions">Conditions of Use</a></li>
             </ul>
        </li>
        <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=site_map">General Info</a>
        <ul>
         <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=site_map">Site Map</a></li>
            <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=gv_faq">Gift Certificate FAQ</a></li>
      <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=discount_coupon">Discount Coupons</a></li>
                 <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=unsubscribe">Newsletter Unsubscribe</a></li>
              </ul>
        </li>
            <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=site_map">Useful Links</a>
        <ul>
          </ul>
        </li>
        </ul>
        </li>
        <li><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=contact_us" class="mcontact">Contact Us</a></li>
    
    </ul>
    
    </div>
    
    <script src="includes/templates/westminster_new/jscript/jquery.slimmenu.min.js" type="text/javascript"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script> 
    
      
    <script type="text/javascript">
        $('ul.slimmenu').slimmenu(
    			      {
    			      resizeWidth: '800',
    				  collapserTitle: '',
    				  animSpeed: 'medium',
    				  easingEffect: null,
    				  indentChildren: false,
    				  childrenIndenter: '&nbsp;'
    				  });
    </script>
    
      
    <!--eof handheld menu display-->
    
    <div id="mobile-nav1">
    <a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=account"><i class="fa fa-user" title="My Account"></i></a>
    
    <a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=advanced_search"><i class="fa fa-search" title="Search"></i></a>
    
    <div id="header-cart">
       <a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=shopping_cart">0  - $0.00</a>
       </div>
    </div>
    
    
    
    
    <br class="clearBoth" />
    <!--eof-branding display-->
    <!--eof-header logo and navigation display-->
    </div>
    </div>
    
    
    
    
    
    <!--bof-optional categories tabs navigation display-->
    <!--eof-optional categories tabs navigation display-->
    
    I have used the admin/tools/developer to find instances of <div id="menu">, <ul class="slimmenu"> and <li class="test"><a href="" class="mshop"> and the only result has been tpl_modules_mobile_categories_tabs.php ... and the file again is the same on both sites.

    So needless to say I am stumped - it will likely be something simple or something I missed - any further advice or assistance will be greatly appreciated.

    cheers,
    Mike

  10. #1800
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Westminster New

    @shags38 ... note that your full-width logo header, and some product images, don't show up on Safari, because you're using an unsupported .webp image for it:
    https://share.getcloudapp.com/o0uqepG2
    https://share.getcloudapp.com/OAuWQzjd
    https://share.getcloudapp.com/GGu2Wvzw
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v155 Getting ajax error in v155 with v154 Westminster template
    By godt in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2016, 12:41 AM
  2. v155 Getting ajax error in v155 with v154 Westminster template
    By MCS_Computers in forum General Questions
    Replies: 10
    Last Post: 21 Mar 2016, 03:58 PM
  3. v154 Modifying Top Menu - Westminster New
    By chelseaneedshelp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2015, 04:28 PM
  4. Westminster New doesn't work on mobile phone
    By Pompidompie in forum Addon Templates
    Replies: 3
    Last Post: 26 Mar 2015, 10:34 PM
  5. v151 westminster new Share and Connect
    By Larry0652 in forum Addon Templates
    Replies: 8
    Last Post: 24 Oct 2014, 03:30 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