Page 1 of 2 12 LastLast
Results 1 to 10 of 1677

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    UK
    Posts
    400
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I have resolved the issue and the site is now back up and running.

    However, I am still missing prices on the product page for my products.

    Also, when i got Admin > Configuration > BootStrap Configuration i can see my page etc but no information about the configuration etc

  2. #2
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by amebb View Post
    I have resolved the issue and the site is now back up and running.

    However, I am still missing prices on the product page for my products.

    Also, when i got Admin > Configuration > BootStrap Configuration i can see my page etc but no information about the configuration etc
    I run the SQL query on my site and notice the same issue.

    The template's configuration settings are recreated under a new configuration group ID, but the ID under the admin page still points to the old configuration group ID number. If you have the database backup, restore it and you'll be fine.

    Not sure if it could be a clue for lat9, but if your site is fine with v3.6.5, stay with it until more info.
    Last edited by siliconbug; 16 Jul 2024 at 09:41 AM.

  3. #3
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

    My site is running ZC v1.5.8a w/ PHP v7.4
    After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
    It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

    Maybe a note can be added to remind people who still use PHP v7.4?

  4. #4
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Keep your software up-to-date.
    PHP 7.4 is obsolete for a long time.
    Even PHP 8.0 has reached EOL last year.

    https://www.php.net/supported-versions.php

    The absolute minimum you should run your E-Commerce is PHP 8.1
    Last edited by Shop Suey; 16 Jul 2024 at 12:16 PM.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  5. #5
    Join Date
    May 2008
    Location
    UK
    Posts
    400
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Hi, very inresting what you say about Php...

    On my site i am using PHP 7.4.33. If i was to update that version to php 8.1 would it cause any issues too my site?

    My site version is V.1.5.8a

    Thank you

  6. #6
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Every Zen Cart version has a README with recommended PHP settings.

    If you can't find a README you could look at github and search for older releases. There always is a README. Zen Cart is well documented.

    I looked it up for you.
    -> https://github.com/zencart/zencart/releases
    -> https://github.com/zencart/zencart/blob/v158/README.md
    Last edited by Shop Suey; 16 Jul 2024 at 12:46 PM.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

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

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by Shop Suey View Post
    Every Zen Cart version has a README with recommended PHP settings.

    If you can't find a README you could look at github and search for older releases. There always is a README. Zen Cart is well documented.

    I looked it up for you.
    -> https://github.com/zencart/zencart/releases
    -> https://github.com/zencart/zencart/blob/v158/README.md
    Even quicker is to go to https://docs.zen-cart.com/ and click on Server Requirements. The docs are your friend.
    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
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by amebb View Post
    Hi, very inresting what you say about Php...

    On my site i am using PHP 7.4.33. If i was to update that version to php 8.1 would it cause any issues too my site?

    My site version is V.1.5.8a

    Thank you
    Zencart itself would run better at 8.1 is the recomended php. Your plugins could be a whole different story. You would have to look at each one and see what php version it supports, and then do upgrades and testing. Many plugins list an old supported php, but just kept working so there was no update. Some you have to dig through the forum to find the correct tweak for. Some you can fix using the php update doc: https://docs.zen-cart.com/dev/plugins/php_updating/
    And some are just broken

    OR you can just hire someone like lat9 to figure it all out for you.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  9. #9
    Join Date
    May 2008
    Location
    UK
    Posts
    400
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by siliconbug View Post
    I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

    My site is running ZC v1.5.8a w/ PHP v7.4
    After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
    It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

    Maybe a note can be added to remind people who still use PHP v7.4?
    Thank you for pointing this out

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,938
    Plugin Contributions
    96

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by siliconbug View Post
    I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

    My site is running ZC v1.5.8a w/ PHP v7.4
    After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
    It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

    Maybe a note can be added to remind people who still use PHP v7.4?
    Nice sleuthing! With that information, I am able to recreate the issue under PHP 7.4.

    The root-cause is the additional check on lines 192
    Code:
        if ($display_price_top === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {
    and line 241
    Code:
    if ($display_price_bottom === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {
    The zen_get_products_display_price function returns a string similar to
    Code:
    <span class="mx-auto w-100 p-1 productBasePrice">$35.99</span>
    which fails the > 0 test on PHP 7.4 but passes on PHP 8.0+. Go figure. I'll get that worthless clause removed from v3.7.2 of the template.

    See this GitHub issue for resolution: https://github.com/lat9/ZCA-Bootstra...ate/issues/414

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 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