Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,103

Results 1,801 to 1,820 of 1,865
13 Dec 2020, 2:25 PM
#1801
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Westminster New

I suspect the change you probably made to remove the dropdown-on-hover was either to tpl_main_page.php, which determines which header subtemplate to load if desktop vs mobile vs tablet is detected, or to tpl_header_mobile.php which in turn loads tpl_modules_mobile_categories_tabs.php

tpl_main_page https://share.getcloudapp.com/p9urAxev
tpl_header_mobile https://share.getcloudapp.com/rRu0jPzE

14 Dec 2020, 5:05 AM
#1802
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

DrByte:

I suspect the change you probably made to remove the dropdown-on-hover was either to tpl_main_page.php, which determines which header subtemplate to load if desktop vs mobile vs tablet is detected, or to tpl_header_mobile.php which in turn loads tpl_modules_mobile_categories_tabs.php

tpl_main_page https://share.getcloudapp.com/p9urAxev
tpl_header_mobile https://share.getcloudapp.com/rRu0jPzE

Many thanks DrByte,

it turned out not to be any of your suggestions above ...HOWEVER.... your suggestions set me to digging deeper into other templates so I did a comparison of tpl_header.php and BINGO !!

The culprit was that the tpl_header.php was a version 1.5.1 on a site that is 1.5.5f ........ absolutely no idea how that version of template ended up on a site that is a newer build than the comparison site, also 1.5.5f and the same template file set was used. Anyway, simply replacing that file with the 1.5.5 version fixed the issue.

Thanks for responding as quickly as you did.

cheers,
Mike

p.s. will look at reverting to .png or .jpg images - was trying to reduce page loading speed

22 Dec 2020, 1:50 AM
#1803
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

I installed zc v1.5.7 and wanted to use the Westminster New template. My PHP version is 7.3.25.

My Zen Cart admin area is now crashing right after starting.

Is there a solution for this or should I use a v1.5.6 instead?

22 Dec 2020, 11:13 AM
#1804
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

First of all, make sure you are at 1.5.7b.
Second, the template is not used on the admin side and is probably not your problem.
There should be an error file in your logs directory referencing the problem. Post it here using the # tag and make sure to X out your admin name.

22 Dec 2020, 12:18 PM
#1805
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

dbltoe:

First of all, make sure you are at 1.5.7b.
Second, the template is not used on the admin side and is probably not your problem.
There should be an error file in your logs directory referencing the problem. Post it here using the # tag and make sure to X out your admin name.

Thank you for your response. I reinstalled the files in my_admin folder (i.e. layout_controller.php) and deleted the files that came extra with the Westminster new template. Now I have access to my admin side again, but the website itself still crashes. I am using ZC1.5.7b and am testing the site on a XAMPP local host.

I wil try to find and read the log files.

22 Dec 2020, 12:28 PM
#1806
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

With 1.5.7#, go to Admin >> Modules >> Plugin Manager and install the Display Logs mod. That will help.

22 Dec 2020, 3:29 PM
#1807
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

dbltoe:

With 1.5.7#, go to Admin >> Modules >> Plugin Manager and install the Display Logs mod. That will help.

That's a nice tool. I made a Zencart webstore about 8 years ago and have a lot of catching up to do.

There is al lot of information in the error logs and it look like the template installation was not completely succesful.

[22-Dec-2020 16:12:31 Europe/Berlin] Request URI: /zen/, IP address: ::1
#1 require(C:\xampp\htdocs\zen\includes\templates\westminster_new\templates\tpl_modules_mobile_categories_tabs.php) called at [C:\xampp\htdocs\zen\includes\templates\westminster_new\common\tpl_header.php:123]
#2 require(C:\xampp\htdocs\zen\includes\templates\westminster_new\common\tpl_header.php) called at [C:\xampp\htdocs\zen\includes\templates\westminster_new\common\tpl_main_page.php:145]
#3 require(C:\xampp\htdocs\zen\includes\templates\westminster_new\common\tpl_main_page.php) called at [C:\xampp\htdocs\zen\index.php:94]
--> PHP Warning: Use of undefined constant SHOW_EZ_PAGES_MENU - assumed 'SHOW_EZ_PAGES_MENU' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\zen\includes\templates\westminster_new\templates\tpl_modules_mobile_categories_tabs.php on line 82.

... and further

25 Dec 2020, 4:19 PM
#1808
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

dbltoe:

With 1.5.7#, go to Admin >> Modules >> Plugin Manager and install the Display Logs mod. That will help.

I downgraded to ZC1.5.6c but get the same results. The admin area immediately crashes after selecting the Westminster New template. With the Responsive Classic Blue template I have got the same issue and I am totally out off clues for this one.

Is there someone who recognizes this problem and has a solution for it?

25 Dec 2020, 6:09 PM
#1809
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Westminster New

Gimondi:

I downgraded to ZC1.5.6c but get the same results. The admin area immediately crashes after selecting the Westminster New template. With the Responsive Classic Blue template I have got the same issue and I am totally out off clues for this one.

Is there someone who recognizes this problem and has a solution for it?

i am not sure what exactly your issue is. i can provide no support for the westminster template.

if you are using the responsive classic template, what is the issue? if the admin is crashing, we would need to see some log files indicating what the crash is.

the only log that i see refers to SHOW_EZ_PAGES_MENU which is a PHP notice and is not relevant to the admin crashing. and that constant is NOT part of a base 157 install, so it means it is part of the westminster template.

with regards to 156 v 157; always go with the latest if possible. currently i'm not seeing any reason to not be on the 157 branch.

best.

27 Dec 2020, 12:39 PM
#1810
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

carlwhat:

i am not sure what exactly your issue is. i can provide no support for the westminster template.

if you are using the responsive classic template, what is the issue? if the admin is crashing, we would need to see some log files indicating what the crash is.

the only log that i see refers to SHOW_EZ_PAGES_MENU which is a PHP notice and is not relevant to the admin crashing. and that constant is NOT part of a base 157 install, so it means it is part of the westminster template.

with regards to 156 v 157; always go with the latest if possible. currently i'm not seeing any reason to not be on the 157 branch.

best.

I made a ZC1.5.7b fresh install and copied the Westminster New template files. In my admin area I selected the Westminster New template. Immediately after that the Admin site crashes with "WARNING: An Error occurred, please refresh the page and try again. If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.".

I use XAMPP v3.2.4. There are no problems using other templates.

This is the content of the log file:

"[27-Dec-2020 13:24:02 Europe/Berlin] Request URI: /zencart/adminarea/index.php?cmd=template_select&page=1&tID=1, IP address: ::1
#1 trigger_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:170]
#2 queryFactory->show_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:142]
#3 queryFactory->set_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:269]
#4 queryFactory->Execute() called at [C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php:209]
#5 include_once(C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php) called at [C:\xampp\htdocs\zencart_adminarea_\includes\init_includes\init_westminster_new.php:21]
#6 require_once(C:\xampp\htdocs\zencart_adminarea_\includes\init_includes\init_westminster_new.php) called at [C:\xampp\htdocs\zencart\includes\autoload_func.php:37]
#7 require(C:\xampp\htdocs\zencart\includes\autoload_func.php) called at [C:\xampp\htdocs\zencart\my_admin\includes\application_top.php:37]
#8 require(C:\xampp\htdocs\zencart_adminarea_\includes\application_top.php) called at [C:\xampp\htdocs\zencart\my_admin\template_select.php:8]
#9 require(C:\xampp\htdocs\zencart_adminarea_\template_select.php) called at [C:\xampp\htdocs\zencart\my_admin\index.php:11]
--> PHP Fatal error: 1067:Invalid default value for 'date_added' :: CREATE TABLE IF NOT EXISTS flexible_footer_menu (
page_id int(11) NOT NULL AUTO_INCREMENT,
language_id int(11) NOT NULL DEFAULT '1',
page_title varchar(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
page_url varchar(255) CHARACTER SET utf8 DEFAULT NULL,
col_header varchar(64) CHARACTER SET utf8 DEFAULT NULL,
col_image varchar(254) CHARACTER SET utf8 NOT NULL DEFAULT '',
col_html_text text CHARACTER SET utf8,
status int(1) NOT NULL DEFAULT '0',
col_sort_order int(11) NOT NULL DEFAULT '0',
col_id int(11) NOT NULL DEFAULT '0',
date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
last_update datetime DEFAULT NULL,
PRIMARY KEY (page_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=29; ==> (as called by) C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php on line 209 <== in C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 170."

27 Dec 2020, 1:47 PM
#1811
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

​​> Gimondi:

I made a ZC1.5.7b fresh install and copied the Westminster New template files. In my admin area I selected the Westminster New template. Immediately after that the Admin site crashes with "WARNING: An Error occurred, please refresh the page and try again. If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.".

I use XAMPP v3.2.4. There are no problems using other templates.

This is the content of the log file:

*"[27-Dec-2020 13:24:02 Europe/Berlin] Request URI: /zencart/adminarea/index.php?cmd=template_select&page=1&tID=1, IP address: ::1
#1 trigger_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:170]
#2 queryFactory->show_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:142]
#3 queryFactory->set_error() called at [C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php:269]
#4 queryFactory->Execute() called at [C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php:209]
#5 include_once(C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php) called at [C:\xampp\htdocs\zencart_adminarea_\includes\init_includes\init_westminster_new.php:21]
#6 require_once(C:\xampp\htdocs\zencart_adminarea_\includes\init_includes\init_westminster_new.php) called at [C:\xampp\htdocs\zencart\includes\autoload_func.php:37]
#7 require(C:\xampp\htdocs\zencart\includes\autoload_func.php) called at [C:\xampp\htdocs\zencart\my_admin\includes\application_top.php:37]
#8 require(C:\xampp\htdocs\zencart_adminarea_\includes\application_top.php) called at [C:\xampp\htdocs\zencart\my_admin\template_select.php:8]
#9 require(C:\xampp\htdocs\zencart_adminarea_\template_select.php) called at [C:\xampp\htdocs\zencart\my_admin\index.php:11]
--> PHP Fatal error: 1067:Invalid default value for 'date_added' :: CREATE TABLE IF NOT EXISTS flexible_footer_menu (
page_id int(11) NOT NULL AUTO_INCREMENT,
language_id int(11) NOT NULL DEFAULT '1',
page_title varchar(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
page_url varchar(255) CHARACTER SET utf8 DEFAULT NULL,
col_header varchar(64) CHARACTER SET utf8 DEFAULT NULL,
col_image varchar(254) CHARACTER SET utf8 NOT NULL DEFAULT '',
col_html_text text CHARACTER SET utf8,
status int(1) NOT NULL DEFAULT '0',
col_sort_order int(11) NOT NULL DEFAULT '0',
col_id int(11) NOT NULL DEFAULT '0',
date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
last_update datetime DEFAULT NULL,
PRIMARY KEY (page_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=29; ==> (as called by) C:\xampp\htdocs\zencart_adminarea_\includes\installers\westminster_new\2_0.php on line 209 <== in C:\xampp\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 170."*For about four years, MySQL has failed at the use of the old null date 0f 0000-00-00.

https://docs.zen-cart.com/user/upgrading/date_standardization/

27 Dec 2020, 3:19 PM
#1812
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

Might not be able to update what doesn't exist. If it didn't create the table, change the 0000-00-00 to 0001-01-01 in the installation file.

27 Dec 2020, 8:23 PM
#1813
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

dbltoe:

Might not be able to update what doesn't exist. If it didn't create the table, change the 0000-00-00 to 0001-01-01 in the installation file.

I altered the date in the installation file and now I am able to select the Westminster New template file. Thank you all very much!

27 Dec 2020, 8:44 PM
#1814
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

This is just one of the problems you will continue to run into using old templates.

27 Dec 2020, 9:33 PM
#1815
gimondi avatar

gimondi

New Zenner

Join Date:
Jan 2012
Location:
The Netherlands
Posts:
21
Plugin Contributions:
0

Re: Westminster New

dbltoe:

This is just one of the problems you will continue to run into using old templates.

You're right, I've already noticed new issues with the flexible footer menu on my webpage. I thought Westminster New was one of the newer templates and it was a bit like the one I used about eight years ago. Do you know where I can download a great looking and solid working template?

27 Dec 2020, 10:03 PM
#1816
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

Gimondi:

Do you know where I can download a great looking and solid working template?If I were a betting man, I'd say the translation to this quote would be:

Where can I find a beautiful template that meets my requirements without having to do a lot of tweaking, adding, adjusting, etc.

They're getting fewer and farther between simply because of the rapidly changing Zen Cart. Not so easy now to drop in a store-bought template and make a few changes. The better Zen Cart gets, the harder it is for the store-boughts to keep up.

Responsive Classic is clean and meets a lot of the current standards. It is "plain Jane" and more of a blank canvas with which to work.

ZCA Bootstrap Template is based on Bootstrap 4 and may have many of your "wants" built in. It is also a blank canvas.

You are the painter and have to be willing to paint.

The decision always need to be made -- Do I want it or, does the customer need it? Most visits come from a search for an item. The search does not (we hope!) send the customer anywhere but to the product they were looking for. Did that customer need a specific category dropdown, a special slide show of other products, or even a look at the company banner?

What is the goal? Take away things that get in the way of the goal and add only those things that complete the goal. When someone comes to your site and is required to do a lot of clicking or scrolling to make a decision and purchase, you are giving them an opportunity to give up and go on. You can have the "Customers who bought this...", "Specials", "Best Sellers", etc. BUT, when they get in the way of an informed sale it's often the store owner "having to have" some feature that has nothing to do with the sale.

Responsive Classic results over three years with the biggest addition to goal being lat9's Multi-Ship. Adjustments to goal was the changing of the background, basic colors, and product info page to put as much of the information in the customer's face as possible.

SEO adjustments over the three years were to get better images and better descriptions.

Results:

[Attachment no longer available]
Another "Overnight Success"

6 Feb 2021, 5:51 AM
#1817
wolfderby avatar

wolfderby

Zen Follower

Join Date:
Dec 2008
Location:
Pittsburgh, PA
Posts:
241
Plugin Contributions:
0

Re: Westminster New

Has anyone successfully added "view all" to the pagination for this on 1.5.7?

6 Feb 2021, 5:42 PM
#1818
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

Re: Westminster New

I don't believe the Westminster New template is compatible with any ZC after 1.5.5x. Also, don't believe the Westminster template author is supporting their templates any longer!

4 Aug 2021, 6:36 PM
#1820
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Re: Westminster New

I am probably narrow sighted, but can't find how i can activate my hamburger menu in this template :(
my test site is on 1.5.7 and installed with fresh westminster responsive. I don't think Anne is anymore available for questions? but if someone could help me to activate this before i have to restart and redo the whole thing in a different template i would be so happy.
i just love this template... and it worked for me.. but now its leaving me tearing my hair :D
please help :D