Thread: Westminster New

Page 181 of 187 FirstFirst ... 81131171179180181182183 ... LastLast
Results 1,801 to 1,810 of 1865
  1. #1801
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: 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
    .

    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.

  2. #1802
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by DrByte View Post
    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
    Last edited by shags38; 14 Dec 2020 at 06:08 AM.

  3. #1803
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default 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?

  4. #1804
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

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

  5. #1805
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    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.

  6. #1806
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Westminster New

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

  7. #1807
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    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_mod ules_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_p age.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_mob ile_categories_tabs.php on line 82.

    ... and further

  8. #1808
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    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?

  9. #1809
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: Westminster New

    Quote Originally Posted by Gimondi View Post
    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.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #1810
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by carlwhat View Post
    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_wes tminster_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."

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR