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 :-)
Printable View
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 :-)
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 :-)
Thiswas removed from 1.5.7 so remove it from the westminster new template files.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 -->
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)) {
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
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.
Line 47: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
<?php if ($_SESSION['customer_id']) { ?>
Line 121: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
<?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
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;
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.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 & 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: ' '
});
</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-->
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
@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