Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,523

Results 761 to 780 of 1,686
26 Oct 2022, 2:50 AM
#761
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

ZCA Bootstrap 4 Template [Support Thread]

Zc -1.5.7
Bootstrap 3.3.0 with OPC
http://www.royal-fleurdotcom

Is there away to keep the "buy now" button align? ( see screenshot)

Attachment 20129

On my example, pictures are the same size. However, the "buy now" button is being push down because of the name of the product (4 line vs 3 line ).

Can the "buynow" be kept align no matter what s between the picture and button ( ie name, price, call for price...)?

Thank you

26 Oct 2022, 9:55 AM
#762
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Following on from my previous post #760 that was taken from the logs in the cpanel, this is what is showing up in my zencart admin

[22-Oct-2022 13:05:16 UTC] PHP Warning: mysqli_connect(): (HY000/1044): Access denied for user 'angiesar_admin'@'localhost' to database 'angiesar_admin' in /includes/classes/db/mysql/query_factory.php on line 130

Also if I change template back to the classic responsive template the footer is there. Have changed back to bootstrap no footer so not sure what to do?

26 Oct 2022, 4:16 PM
#763
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Has anyone any idea how I can fix this as I cannot move forward until then.

26 Oct 2022, 4:22 PM
#764
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Angiex1:

Following on from my previous post #760 that was taken from the logs in the cpanel, this is what is showing up in my zencart admin

[22-Oct-2022 13:05:16 UTC] PHP Warning: mysqli_connect(): (HY000/1044): Access denied for user 'angiesar_admin'@'localhost' to database 'angiesar_admin' in /includes/classes/db/mysql/query_factory.php on line 130

Also if I change template back to the classic responsive template the footer is there. Have changed back to bootstrap no footer so not sure what to do?
If there is no footer on the bootstrap template, then there's a PHP error logged in your site's /logs sub-directory identifying the source of the issue.

26 Oct 2022, 4:43 PM
#765
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you, this is showing for bootstrap?

[HTML]The ZCA "bootstrap" template (or a clone) was activated on 2022-10-23 09:26:23 and some of its default settings are different than those currently set. You can copy and paste the following SQL into your admin's Tools->Install SQL Patches to change those defaults:

UPDATE configuration SET configuration_value = '3', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_PAGE_LINKS' LIMIT 1;
UPDATE configuration SET configuration_value = '<li> / </li>', last_modified = now() WHERE configuration_key = 'BREAD_CRUMBS_SEPARATOR' LIMIT 1;
UPDATE configuration SET configuration_value = '⊢ ', last_modified = now() WHERE configuration_key = 'CATEGORIES_SEPARATOR_SUBS' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_PREFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_SUFFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_SHIPPING_ESTIMATOR_BUTTON' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SEARCH_RESULTS_FEATURED' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SPECIAL_PRODUCTS_INDEX' LIMIT 1;
UPDATE configuration SET configuration_value = '0', last_modified = now() WHERE configuration_key = 'PRODUCT_LISTING_MULTIPLE_ADD_TO_CART' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_RANDOM_SELECT_NEW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_CATEGORIES_PER_ROW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_FEATURED_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS' LIMIT 1;

26 Oct 2022, 4:45 PM
#766
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

There is only this other file

<?php /** * @copyright Copyright 2003-2022 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: DrByte 2020 Jul 10 Modified in v1.5.8-alpha $ */ // send to domain root session_write_close(); header('Location: ' . 'http://' . $_SERVER['HTTP_HOST']); exit();
26 Oct 2022, 5:49 PM
#767
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

Angiex1:

Thank you, this is showing for bootstrap?

[HTML]The ZCA "bootstrap" template (or a clone) was activated on 2022-10-23 09:26:23 and some of its default settings are different than those currently set. You can copy and paste the following SQL into your admin's Tools->Install SQL Patches to change those defaults:

UPDATE configuration SET configuration_value = '3', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_PAGE_LINKS' LIMIT 1;
UPDATE configuration SET configuration_value = '<li>##/##</li>', last_modified = now() WHERE configuration_key = 'BREAD_CRUMBS_SEPARATOR' LIMIT 1;
UPDATE configuration SET configuration_value = '⊢##', last_modified = now() WHERE configuration_key = 'CATEGORIES_SEPARATOR_SUBS' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_PREFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_SUFFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_SHIPPING_ESTIMATOR_BUTTON' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SEARCH_RESULTS_FEATURED' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SPECIAL_PRODUCTS_INDEX' LIMIT 1;
UPDATE configuration SET configuration_value = '0', last_modified = now() WHERE configuration_key = 'PRODUCT_LISTING_MULTIPLE_ADD_TO_CART' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_RANDOM_SELECT_NEW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_CATEGORIES_PER_ROW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_FEATURED_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS' LIMIT 1;

This is not a bootstrap error, it is information to let you know some of the settings are different to the default. You can use the details above to reset the setting as it says in the top of the file. Your issue is with access to the database as shown in > [22-Oct-2022 13:05:16 UTC] PHP Warning: mysqli_connect(): (HY000/1044): Access denied for user 'angiesar_admin'@'localhost' to database 'angiesar_admin' in /includes/classes/db/mysql/query_factory.php on line 130

This says that the user 'angiesar_admin'@'localhost' does not have access to the database this means that the database cannot be read. and is thus causing an error.

26 Oct 2022, 7:31 PM
#768
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you Mark, but how can I not have access to the database I set up from scratch? it is as though not all of the template uploaded when installing it? as it is only the footer that is missing?

26 Oct 2022, 7:37 PM
#769
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you Mark.

Regarding this log

[22-Oct-2022 13:05:16 UTC] PHP Warning: mysqli_connect(): (HY000/1044): Access denied for user 'angiesar_admin'@'localhost' to database 'angiesar_admin' in /includes/classes/db/mysql/query_factory.php on line 130

I set up that database when setting up the store and installing Zencart so have no idea why it says I wouldnt have access as have full privileges. but looking closer at it the database user is correct but the database name is incorrect and no idea how or why that would happen. How do I sort this out?

27 Oct 2022, 1:11 PM
#770
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

If you run the zen cart do you get any new log files generated?

27 Oct 2022, 1:34 PM
#771
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

That is the only log file generated.
Its fine in the responsive classic the footer is there, am wondering if just reinstalling the template will work or whether I didnt install the template correctly.

27 Oct 2022, 3:05 PM
#772
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

Do you see the copyright notice at the bottom of the page? If you do, then the footer is being displayed. The only difference I get between responsive classic and bootstrap is that a row with a link to home is not displayed.
Attachment 20130

Attachment 20131

27 Oct 2022, 3:11 PM
#773
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

@Angiex1 what you have looks ok to me. Now it's time to get cracking on the define pages!

27 Oct 2022, 3:42 PM
#774
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

@swguy Thats from the classic responsive template as I changed it back to that to check the footer was ok. But on the bootstrap 4 template there is no footer.
If you check now you will see the issue.

27 Oct 2022, 3:44 PM
#775
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

That's how it's supposed to look. It's fine.

27 Oct 2022, 3:52 PM
#776
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

@swguy Looking at Lat9's site with bootstrap there is a footer which mine does not have please see attached. Is that how it is supposed to be as Lat9 stated there should of been a footer? and to look at her site.

Attachment 20134

27 Oct 2022, 3:58 PM
#777
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

When you look at
https://vinosdefrutastropicales.com/zc157_bs4/

there is a bar at the bottom with My Account, Site Map, Privacy Notice, etc.
This just means she has EZ Pages configured to show links in the footer.

27 Oct 2022, 4:04 PM
#778
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you.

My ez pages footerbar status display is set to on so what am I missing to get it to show?
Ok erm I am wanting a bar across the bottom and under that with some of the links in the information side box in there plus my social media icons and links etc.
How would I do that ?

I also cannot find how to remove some of the links in the information side box, some I have removed others such as shop by brand I cant find how to remove and order status I want in the footer but not in the information side box?

27 Oct 2022, 4:19 PM
#779
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

My ez pages footerbar status display is set to on so what am I missing to get it to show?

You have to turn the entries in Tools > EZ-Pages that you want to show to green (display in footer = yes, sort order > 0) in the Footer column.
https://docs.zen-cart.com/user/ezpages/ezpages_display/

I also cannot find how to remove some of the links in the information side box ...

https://docs.zen-cart.com/user/admin_pages/configuration/configuration_definepagestatus/

Note that About Us and Brands links are different - see
https://docs.zen-cart.com/user/customizing/site_specific_overrides/

27 Oct 2022, 4:25 PM
#780
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Small bug in version 3.4.0 of the bootstrap template:
includes/modules/sideboxes/bootstrap/information.php
references FILENAME_ABOUT_US and FILENAME_BRANDS for checks as to whether to add these links to the sidebox; should follow the 1.5.8 release standard of checking the flags $flag_show_about_us_sidebox_link and $flag_show_brand_sidebox_link instead.