Thread: Westminster New

Results 1 to 10 of 1865

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Westminster New

    Add it to this section, begins at line 366 in responsive_default.css

    Code:
    @media (min-width:980px)
    {
    #mobile-nav1{display:none;}
    #menu {display:none;}
    }
    and if it works you can collapse that to
    Code:
    @media (min-width:980px)
    {
    #mobile-nav1, #menu{display:none;}
    }
    Last edited by barco57; 31 Oct 2019 at 05:48 AM.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

    bug Re: Westminster New

    Okay, so 1.5.6c, PHP latest version, New install
    Mods: This template, Captcha, Bank Deposit


    This seems to be the only debug I have left... which is popping up every minute... any suggestions on how I fix it... read earlier parts of this thread but I couldn't work out what the solution was...

    [04-Nov-2019 09:09:40 UTC] Request URI: /index.php?main_page=product_info&products_id=187, IP address: 66.220.149.19
    #1 require(/home/sentialz/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
    #2 require(/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
    #3 require(/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php:177]
    #4 require(/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php:216]
    #5 require(/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/sentialz/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant LARGE_IMAGE_WIDTH - assumed 'LARGE_IMAGE_WIDTH' (this will throw an Error in a future version of PHP) in /home/sentialz/public_html/includes/modules/westminster_new/additional_images.php on line 205.

    [04-Nov-2019 09:09:40 UTC] Request URI: /index.php?main_page=product_info&products_id=187, IP address: 66.220.149.19
    #1 require(/home/sentialz/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
    #2 require(/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
    #3 require(/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php:177]
    #4 require(/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php:216]
    #5 require(/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/sentialz/public_html/index.php:97]
    --> 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 /home/sentialz/public_html/includes/modules/westminster_new/additional_images.php on line 205.

    I'll donate a coffee for the person who can fix this for me :-)
    Elemi

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

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,716
    Plugin Contributions
    13

    Default Re: Westminster New

    Neither of those variables are in a standard 1.5.6c load. Have you used the Developer's tool kit to search for them?

    You may have a hold over from an earlier version or a mod you did not list. Earlier version or mod may be in YOUR_ADMIN/includes/modules/update_product.php
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    245
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    Neither of those variables are in a standard 1.5.6c load. Have you used the Developer's tool kit to search for them?

    You may have a hold over from an earlier version or a mod you did not list. Earlier version or mod may be in YOUR_ADMIN/includes/modules/update_product.php
    Brand new website, brand new CPanel, brand new install so definitely no carry over.

    By variable I assume you mean LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT? If so, they are both in the Westminster New template only.

    As for the rest of what is written up there, I don't actually understand it :-(
    Elemi

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

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,716
    Plugin Contributions
    13

    Default Re: Westminster New

    Quote Originally Posted by Elemi View Post
    By variable I assume you mean LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT? If so, they are both in the Westminster New template only.
    Correct. Don't use the template so I'm flying a little blind here.
    The error is telling you that some part of the cart needs to know how wide and how tall to make an image. If the request is part of the Westminster New template, then it should also have a define for those values as part of the template.
    When you search with the Developer' toolkit, you should find at least two places where the variables show up. The most important should look something like
    Code:
    Line #28 : define('LARGE_IMAGE_WIDTH','500');
    The line # and 500 may be different but, the link will tell you where the file is located.
    If you don't see a define for each of these variables, that's the main problem. They may need to be added.
    If you do see a define for them, you need to check that they have the single quotes (') correctly placed, that there's a number between the single quotes, and that there is nothing like PX or EM after the number.

    If there is no define there, you may need to add them to your extra_definitions folder. To do this:
    1. Create a file called westminster_images.php.
    2. Add the text below to the file and set the defines of each. Might want to use 300 as a starting point.
    3. Save the file to your site in the includes/languages/english/extra_definitions/westminster_new/ folder of the shop, NOT the admin.
    4. You may need to add the westminster_new folder to the extra_definitions folder if it is not already there.


    Code:
    <?php
    define('LARGE_IMAGE_WIDTH','300');
    define('LARGE_IMAGE_HEIGHT','300');
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Westminster New

    I am building a new 1.5.6c version of an existing site (I am hopeless at upgrading so I use the rebuild method). The existing site uses westminster_new (original version).

    Q: can I utilize the existing stylesheet.css and any other modified .css template files on the old site, in this version 2.0 ? ... i.e. copy them across, without conflict?

    cheers,
    Mike

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,716
    Plugin Contributions
    13

    Default Re: Westminster New

    You can put a Volkswagen engine in a Dodge Ram 2500 but, is the time spend building the adapter kit really worth the effort?

    Maybe, just maybe, the newer version is meant to be used with a newer ZC.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #8
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    245
    Plugin Contributions
    0

    Have a Drink Re: Westminster New

    Thank you soooo much dbltoe... there was nothing defined, so I created the file as per your instructions above, and have made the image size 450 x 450 to match my images... and that error log has stopped (I've checked every product I have loaded to date).

    I can now delete about a hundred debug issues and see what's remaining :-)

    How do I get that coffee to you?

    Hugs
    Tania :-)
    Elemi

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

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,716
    Plugin Contributions
    13

    Default Re: Westminster New

    Glad you were able to get it going. We're all volunteers here on the forum. Personally, I am not able to support the project as well as I'd like financially. That's my reasoning for time spent on the forum. If I can answer questions and keep the dev team focused on development, I feel I am paying it forward.

    For those who wish to support the project and keep the devs in coffee, you can do so at https://www.zen-cart.com/content.php?6-donate

    They will appreciate it. Thanks for your willingness to help.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

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

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