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

ZCA Bootstrap 4 Template [Support Thread]

Views: 546,157

Results 81 to 100 of 1,686
16 Dec 2018, 1:33 AM
#81
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

ZCA Bootstrap 4 Template [Support Thread]

keneso:

Yes, using 155e.
The query in includes/modules/sideboxes/ezpages.php was this:

// query modified for multi-language support
$page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.sidebox_sort_order, 
                           e.footer_sort_order, e.toc_sort_order, e.toc_chapter, e.page_open_new_window, 
						   e.page_is_ssl, et.pages_title 
						   from  " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et  
						   where e.pages_id = et.pages_id 
                           and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'  
					       and status_sidebox = 1 
						   and sidebox_sort_order > 0 
						   order by sidebox_sort_order, pages_title");
> I tried both of the following, and yet same error
> ```php
    $page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.sidebox_sort_order, 
	                           e.footer_sort_order, e.toc_sort_order, e.toc_chapter, e.page_open_new_window, 
							   e.page_is_ssl, et.pages_title 
							   FROM " . TABLE_EZPAGES . " e,
                                     " . TABLE_EZPAGES_CONTENT . " ec
                                WHERE e.pages_id = ec.pages_id
                                AND ec.languages_id = " . (int)$_SESSION['languages_id'] . "
                                AND e.status_sidebox = 1
                                AND e.sidebox_sort_order > 0
                                ORDER BY e.sidebox_sort_order, ec.pages_title");
$pages_query = $db->Execute("SELECT e.*, ec.*
                            FROM " . TABLE_EZPAGES . " e,
                                 " . TABLE_EZPAGES_CONTENT . " ec
                            WHERE e.pages_id = ec.pages_id
                            AND ec.languages_id = " . (int)$_SESSION['languages_id'] . "
                            AND e.status_sidebox = 1
                            AND e.sidebox_sort_order > 0
                            ORDER BY e.sidebox_sort_order, ec.pages_title");

Sounds like you may have set this up with a database prefix bsnew.table_

check your 
/includes/configure.php
/admin/includes/configure.php
16 Dec 2018, 10:54 AM
#82
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you for your patience.

Both configure files:

define('DB_TYPE', 'mysql'); // always 'mysql'
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
define('DB_SERVER', 'localhost'); // address of your db server
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', 'mypassword');
define('DB_DATABASE', 'bsnew');

16 Dec 2018, 3:19 PM
#83
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

keneso:

Thank you for your patience.

I don't think this has anything to do with this template but could be wrong

in /includes/templates/bootstrap/common/tpl_header.php'

find:

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

comment it out

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

We'll see if the rest of the site loads. Try to eliminate the issue first

16 Dec 2018, 8:47 PM
#84
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: ZCA Bootstrap 4 Template [Support Thread]

keneso:

Thank you.
Did as suggested, but no joy, still blank page after the login button in the top navbar, and this error:

[15-Dec-2018 23:21:18 Europe/Rome] Request URI: /bsnew/, IP address: ::1
#1 trigger_error() called at [C:\htdocs\bsnew\includes\classes\db\mysql\query_factory.php:167]
#2 queryFactory->show_error() called at [C:\htdocs\bsnew\includes\classes\db\mysql\query_factory.php:139]
#3 queryFactory->set_error() called at [C:\htdocs\bsnew\includes\classes\db\mysql\query_factory.php:266]
#4 queryFactory->Execute() called at [C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_offcanvas_menu.php:160]
#5 require(C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_offcanvas_menu.php) called at [C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_header.php:84]
#6 require(C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_header.php) called at [C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_main_page.php:120]
#7 require(C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_main_page.php) called at [C:\htdocs\bsnew\index.php:97]

[15-Dec-2018 23:21:18 Europe/Rome] PHP Fatal error: 1146:Table 'bsnew.table_ezpages_content' doesn't exist :: SELECT e., ec.
FROM ezpages e,
TABLE_EZPAGES_CONTENT ec
WHERE e.pages_id = ec.pages_id
AND ec.languages_id = 2
AND e.status_sidebox = 1
AND e.sidebox_sort_order > 0
ORDER BY e.sidebox_sort_order, ec.pages_title ==> (as called by) C:\htdocs\bsnew\includes\templates\bootstrap\common\tpl_offcanvas_menu.php on line 160 <== in C:\htdocs\bsnew\includes\classes\db\mysql\query_factory.php on line 167

Keneso, 
Your error is: "[15-Dec-2018 23:21:18 Europe/Rome] PHP Fatal error:  1146:Table 'bsnew.table_ezpages_content' doesn't exist"
NOTE: That's telling me that the constant for TABLE_EZPAGES_CONTENT is not defined, because if it were defined it would be to 'ezpages_content', not 'table_ezpages_content'.
So, if you're expecting multilingual ezpages, then you need to have that constant defined. In v1.5.6 it's in /includes/filenames.php, but if you're still using v1.5.x then it'll be in whatever file that plugin put those defines. Do what matches your environment. 
Or, if you're not using multilingual ezpages, then you shouldn't have any of the code for it in your template in the first place.

.
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.

16 Dec 2018, 10:52 PM
#85
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

I took a look at this plugin or (complete 1.5.5e install with language package) and in:
includes/extra_datafiles/ezpages_multilangauge_database_names.php

it reads:

define('TABLE_EZPAGES_TEXT', DB_PREFIX . 'ezpages_content');

so the edit provided in post #77 should work with 1 minor edit, changing TABLE_EZPAGES_CONTENT to TABLE_EZPAGES_TEXT

// BOE - Bootstrap for 1.5.6     
    $page_query = $db->Execute("SELECT e.*, ec.*
                                FROM " . TABLE_EZPAGES . " e,
                                     " . TABLE_EZPAGES_CONTENT  . " ec
                                WHERE e.pages_id = ec.pages_id
                                AND ec.languages_id = " . (int)$_SESSION['languages_id'] . "
                                AND e.status_sidebox = 1
                                AND e.sidebox_sort_order > 0
                                ORDER BY e.sidebox_sort_order, ec.pages_title");   
    
// old code for 1.5.5:
//    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_sidebox = 1 and sidebox_sort_order > 0 order by sidebox_sort_order, pages_title");
// EOE - Bootstrap for 1.5.6 
16 Dec 2018, 11:00 PM
#86
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Thank you DrByte

There are only four differences between the 1.5.5 and 1.5.6 includes/filenames.php at the following lines

29
define('FILENAME_AJAX', 'ajax');
41
define('FILENAME_CATEGORY_PRODUCT_LISTING', 'category_product_listing');
56
define('FILENAME_COUPON_ADMIN_EXPORT', 'coupon_admin_export');
162
define('FILENAME_STATS_SALES_REPORT_GRAPHS', 'stats_sales_report_graphs');

The ezpages are these two, and are present in both versions
82
define('FILENAME_EZPAGES', 'page');
83
define('FILENAME_EZPAGES_ADMIN', 'ezpages');

Am I missing something?

We'll see if the rest of the site loads. Try to eliminate the issue first

By commenting it out the site loads fine.

16 Dec 2018, 11:08 PM
#87
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

rbarbour:

I took a look at this plugin or (complete 1.5.5e install with language package) and in:
includes/extra_datafiles/ezpages_multilangauge_database_names.php

it reads:

define('TABLE_EZPAGES_TEXT', DB_PREFIX . 'ezpages_content');

> 
> so the edit provided in post #77 should work with 1 minor edit, changing TABLE_EZPAGES_CONTENT  to TABLE_EZPAGES_TEXT 
> ```php
// BOE - Bootstrap for 1.5.6     
    $page_query = $db->Execute("SELECT e.*, ec.*
                                FROM " . TABLE_EZPAGES . " e,
                                     " . TABLE_EZPAGES_CONTENT  . " ec
                                WHERE e.pages_id = ec.pages_id
                                AND ec.languages_id = " . (int)$_SESSION['languages_id'] . "
                                AND e.status_sidebox = 1
                                AND e.sidebox_sort_order > 0
                                ORDER BY e.sidebox_sort_order, ec.pages_title");   
    
// old code for 1.5.5:
//    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_sidebox = 1 and sidebox_sort_order > 0 order by sidebox_sort_order, pages_title");
// EOE - Bootstrap for 1.5.6 

Sorry I had not refreshed the page.
Indeed that fixes it.

16 Dec 2018, 11:21 PM
#88
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

New error, navigating to "catalog (all products)", does not load after the filter listing; same with product listing of specific category, i.e. hardware>graphic-cards

PHP Fatal error: Class 'zca_splitPageResults' not found in C:\bsnew\includes\modules\bootstrap\product_listing.php on line 32

16 Dec 2018, 11:30 PM
#89
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

keneso:

New error, navigating to "catalog (all products)", does not load after the filter listing; same with product listing of specific category, i.e. hardware>graphic-cards

PHP Fatal error: Class 'zca_splitPageResults' not found in C:\bsnew\includes\modules\bootstrap\product_listing.php on line 32

Check to make sure it was uploaded correctly or uncorrupted

includes/classes/zca/zca_split_page_results.php

original can be found here:
https://github.com/zcadditions/ZCA-Bootstrap-Template/blob/master/includes/classes/zca/zca_split_page_results.php

16 Dec 2018, 11:33 PM
#90
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

Sounds like you don't have includes/classes/zca/zca_split_page_results.php.


Zen Cart and it's community are the best!!

18 Dec 2018, 10:55 PM
#92
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

keneso:

Thank you.

File is there, and had already reloaded.
Same error.

were the following files installed

includes/auto_loaders/config.zca_bootstrap.php
includes/init_includes/init_zca_bootstrap.php

19 Dec 2018, 2:56 PM
#93
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

rbarbour:

were the following files installed

includes/auto_loaders/config.zca_bootstrap.php
includes/init_includes/init_zca_bootstrap.php

Yes, and I performed the sql patch step, which was successful.

Don't want you to go crazy trying to troubleshoot this, in the next days I will try a fresh install of zc (same 155e_ita package), and template, and will report back.

23 Dec 2018, 11:38 PM
#94
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Tried new fresh install, and same error.

Actually there was another error that had not come up previously, and it was this

PHP Parse error:  syntax error, unexpected '}' in C:\bsnew-2\includes\templates\bootstrap\common\tpl_offcanvas_menu.php on line 216

I commented the line, and worked fine till the error on comment #88 of this thread

23 Dec 2018, 11:55 PM
#95
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

I am working on a parallel installation, this time using 156, and it seems to be working fine.

I have a couple questions:

1 - I am missing where to add slider, and manage its images

2 - How would I have next-previous controls on the product image modal when there are additional images; I am aware of the slider (carousel) option, and think would be good to have the option to have navigation on the "simple" modal; as of now to trigger the slider you have to click the "additional image" button, and if you click the main image you only see the main image, whereas if you click on the additional image you will see both the additional images and the main image; another reason for it is to see the thumbnails of the additional images instead of the button.

28 Dec 2018, 6:04 PM
#96
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

zc156

I didn't catch the core file edits being made but

includes/functions/functions_prices.php is one which is causing myDEBUG files to be generated.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

7 Jan 2019, 2:20 AM
#97
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

I'll be submitting 2.0.0 today

Version: 2.0.0 06 January 2019:
1.) This version incorporates changes for 1.5.6 and 1.5.6a
2.) Does not include updates for Optional-OPC-Template-Overrides

Files Changed for 1.5.6 and 1.5.6a

  • includes/templates/bootstrap/common/tpl_offcanvas_menu.php
  • includes/templates/bootstrap/templates/tpl_site_map_default.php
  • includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php
  • includes/templates/bootstrap/templates/tpl_index_product_list.php
  • includes/templates/bootstrap/templates/tpl_ezpages_bar_header.php
  • includes/templates/bootstrap/templates/tpl_ezpages_bar_footer.php
  • includes/modules/sideboxes/bootstrap/information.php
  • includes/classes/order.php
  • includes/modules/pages/specials/main_template_vars.php
  • includes/modules/pages/create_account/jscript_addr_pulldowns_zca_bootstrap.php
  • includes/modules/pages/checkout_payment_address/jscript_addr_pulldowns_zca_bootstrap.php
  • includes/modules/pages/address_book_process/jscript_addr_pulldowns_zca_bootstrap.php
  • includes/templates/bootstrap/modalboxes/tpl_coupon_help.php
  • includes/templates/bootstrap/sideboxes/tpl_best_sellers.php
  • includes/templates/bootstrap/sideboxes/tpl_categories.php
  • includes/templates/bootstrap/sideboxes/tpl_document_categories.php
  • includes/templates/bootstrap/sideboxes/tpl_information.php
  • includes/templates/bootstrap/sideboxes/tpl_languages.php
  • includes/templates/bootstrap/sideboxes/tpl_more_information.php
  • includes/templates/bootstrap/sideboxes/tpl_order_history.php
  • includes/templates/bootstrap/sideboxes/tpl_search.php
  • includes/templates/bootstrap/sideboxes/tpl_search_header.php
  • includes/templates/bootstrap/sideboxes/tpl_whos_online.php
  • includes/templates/bootstrap/common/html_header.php
  • includes/templates/bootstrap/common/tpl_columnar_display.php
  • includes/templates/bootstrap/templates/tpl_account_newsletters_default.php
  • includes/templates/bootstrap/templates/tpl_checkout_payment_default.php
  • includes/templates/bootstrap/templates/tpl_checkout_success_default.php
  • includes/templates/bootstrap/templates/tpl_document_general_info_display.php
  • includes/templates/bootstrap/templates/tpl_document_product_info_display.php
  • includes/templates/bootstrap/templates/tpl_modules_attributes.php
  • includes/templates/bootstrap/templates/tpl_modules_create_account.php
  • includes/templates/bootstrap/templates/tpl_modules_downloads.php
  • includes/templates/bootstrap/templates/tpl_modules_media_manager.php
  • includes/templates/bootstrap/templates/tpl_product_free_shipping_info_display.php
  • includes/templates/bootstrap/templates/tpl_product_info_display.php
  • includes/templates/bootstrap/templates/tpl_product_music_info_display.php
  • includes/templates/bootstrap/templates/tpl_time_out_default.php
  • includes/templates/bootstrap/templates/tpl_shopping_cart_default.php
  • includes/templates/bootstrap/centerboxes/tpl_modules_upcoming_products.php
  • includes/templates/bootstrap/templates/tpl_zc_install_suggested_default.php
  • includes/modules/centerboxes/specials_index.php
  • includes/modules/centerboxes/specials_index.php
  • includes/modules/centerboxes/upcoming_products.php
  • includes/modules/centerboxes/featured_products.php
  • includes/modules/bootstrap/categories_tabs.php
  • includes/modules/bootstrap/attributes.php
  • includes/modules/order_total/ot_gv.php
  • includes/modules/order_total/ot_coupon.php
  • includes/classes/site_map.php
  • includes/classes/zca/zca_message_stack.php
  • includes/classes/order.php
  • includes/classes/observers/ZcaBootstrapObserver.php

Files Deleted for 1.5.6 and 1.5.6a

  • includes/modules/bootstrap/shipping_estimator.php
  • includes/modules/bootstrap/product_prev_next.php
  • includes/modules/bootstrap/additional_images.php
  • includes/functions/html_output.php
  • includes/functions/functions_prices.php
9 Jan 2019, 2:54 AM
#98
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

zc156a vanilla install w/demo data
drop db tables
import existing db
rerun zc install to upgrade db
install ZCA bootstrap files from github. Run the mysql as listed in first zcaDEBUG.
Edit some zca colors.
Remove/reinstall USPS and FEDEX shipping modules

Shipping related DEBUG file contents.
ZCA Bootstrap. No shipping quotes displayed. DEBUG files generated.
**Switch to Classic_Responsive and no error files generated. Shipping quotes appear as expected
**

[07-Jan-2019 11:58:19 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy#1  include_once() called at [/home/CpanelID/public_html/156/includes/classes/shipping.php:63]
#2  shipping->__construct() called at [/home/CpanelID/public_html/156/includes/modules/shipping_estimator.php:123]
#3  require(/home/CpanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#4  require(/home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5  require(/home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/CpanelID/public_html/156/index.php:97]
--> PHP Warning: include_once(includes/modules/shipping/usps.php): failed to open stream: No such file or directory in /home/CpanelID/public_html/156/includes/classes/shipping.php on line 63.


[07-Jan-2019 11:58:19 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  include_once() called at [/home/CpanelID/public_html/156/includes/classes/shipping.php:63]
#2  shipping->__construct() called at [/home/CpanelID/public_html/156/includes/modules/shipping_estimator.php:123]
#3  require(/home/CpanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#4  require(/home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5  require(/home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/CpanelID/public_html/156/index.php:97]
--> PHP Warning: include_once(): Failed opening 'includes/modules/shipping/usps.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/CpanelID/public_html/156/includes/classes/shipping.php on line 63.


[07-Jan-2019 11:58:19 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Class 'usps' not found in /home/CpanelID/public_html/156/includes/classes/shipping.php:64
Stack trace:
#0 /home/CpanelID/public_html/156/includes/modules/shipping_estimator.php(123): shipping->__construct()
#1 /home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php(169): require('/home/CpanelID/...')
#2 /home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php(188): require('/home/CpanelID/...')
#3 /home/CpanelID/public_html/156/index.php(97): require('/home/CpanelID/...')
#4 {main}
  thrown in /home/CpanelID/public_html/156/includes/classes/shipping.php on line 64


[07-Jan-2019 11:58:19 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
--> PHP Fatal error: Uncaught Error: Class 'usps' not found in /home/CpanelID/public_html/156/includes/classes/shipping.php:64
Stack trace:
#0 /home/CpanelID/public_html/156/includes/modules/shipping_estimator.php(123): shipping->__construct()
#1 /home/CpanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php(169): require('/home/CpanelID/...')
#2 /home/CpanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php(188): require('/home/CpanelID/...')
#3 /home/CpanelID/public_html/156/index.php(97): require('/home/CpanelID/...')
#4 {main}
  thrown in /home/CpanelID/public_html/156/includes/classes/shipping.php on line 64.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

10 Jan 2019, 6:52 PM
#99
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

Some #id's are required by PA-DSS Ajax Checkout on the checkout_payment page while using the payment module Authorize.net (AIM), this bootstrap template renames (2) of those #id's to create consistency across all template files, by doing so, submitting the payment forms returns false and does not process. :censored::rant::frusty::bangin:

This also causes the breadcrumbs to lose it's current styling in both this bootstrap template and the responsive_classic template.

An issue has been created on github to fix this.

11 Jan 2019, 3:52 PM
#100
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I understand other paying jobs should take priority over other issues.

zca_bootstrap
Shipping estimator does not function if customer is not logged in.
Customer logs in and shipping estimator is functional.

Switch to classic responsive
shipping estimator functions as expected and no debug files generated
regardless of customer login status.

The debug file changes after running the zca_mySQL.
The first debug references bootstrap shipping/shipping estimator
The second debug references Fedex

Switch back to zca_bootstrap
zca_bootstrap DEBUG with the mySQL script to run

prior to running the mySQL, the error file generated is

[11-Jan-2019 07:20:31 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  sizeof() called at [/home/cPanelID/public_html/156/includes/classes/shipping.php:186]
#2  shipping->cheapest() called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:210]
#3  require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#4  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/cPanelID/public_html/156/includes/classes/shipping.php on line 186.

[11-Jan-2019 07:20:31 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  sizeof() called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php:153]
#2  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:256]
#3  require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#4  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php on line 153.

After running the zca_bootstrap mySQL, the logfile changes to

[11-Jan-2019 07:26:39 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  fedexwebservices->build_request() called at [/home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php:540]
#2  fedexwebservices->quote() called at [/home/cPanelID/public_html/156/includes/classes/shipping.php:169]
#3  shipping->quote() called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:124]
#4  require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#5  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#6  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: Use of undefined constant MODULE_SHIPPING_BOXES_MANAGER_STATUS - assumed 'MODULE_SHIPPING_BOXES_MANAGER_STATUS' (this will throw an Error in a future version of PHP) in /home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php on line 106.

[11-Jan-2019 07:26:40 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  fedexwebservices->build_request() called at [/home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php:540]
#2  fedexwebservices->quote() called at [/home/cPanelID/public_html/156/includes/classes/shipping.php:169]
#3  shipping->quote() called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:124]
#4  require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#5  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#6  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: Use of undefined constant MODULE_SHIPPING_BOXES_MANAGER_STATUS - assumed 'MODULE_SHIPPING_BOXES_MANAGER_STATUS' (this will throw an Error in a future version of PHP) in /home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php on line 324.

[11-Jan-2019 07:26:40 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 98.146.xxx.yyy
#1  fedexwebservices->build_request() called at [/home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php:540]
#2  fedexwebservices->quote() called at [/home/cPanelID/public_html/156/includes/classes/shipping.php:169]
#3  shipping->quote() called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:124]
#4  require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:169]
#5  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#6  require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: Use of undefined constant MODULE_SHIPPING_BOXES_MANAGER_STATUS - assumed 'MODULE_SHIPPING_BOXES_MANAGER_STATUS' (this will throw an Error in a future version of PHP) in /home/cPanelID/public_html/156/includes/modules/shipping/fedexwebservices.php on line 329.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com