Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,039

Results 821 to 840 of 953
19 Nov 2018, 7:31 PM
#821
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Winchester Responsive

I am using zen cart v1.5.5f I upgraded, many times since long ago. I did it using filezilla sftp.
I am using your great template v1.4
I have only 1 plugin for creating sitemap.
PHP Version: 7.0.32 (Zend: 3.0.0)
PHP File Uploads: On
Upload Max Size: 64M
PHP Memory Limit: 90M
POST Max Size: 65M
Database: MySQL 5.6.34-log
MySQL Slow Query Log Status: On
MySQL Slow Query Log File: /dh/mysql/logs/mysql.oesterle.slow
MySQL Mode: NO_ENGINE_SUBSTITUTION

Something is wrong with doing search.
https://www.videoseconds.com/shop/ is the url for the shop.
When trying a search it gets and error and gives a login/register page instead. I tried this will 3 different themes, including the original theme, and they all do the same thing. Driving me nuts.
Here is the error from log file:

[28-Aug-2018 04:10:33 America/Los_Angeles] Request URI: /shop/index.php?main_page=advanced_search_result&search_in_description=1&keyword=david, IP address: 83.42.74.216
#1  trigger_error() called at [/home/**** domain name ****/shop/includes/classes/db/mysql/query_factory.php:171]
#2  queryFactory->show_error() called at [/home/**** domain name ****/shop/includes/classes/db/mysql/query_factory.php:143]
#3  queryFactory->set_error() called at [/home/**** domain name ****/shop/includes/classes/db/mysql/query_factory.php:270]
#4  queryFactory->Execute() called at [/home/**** domain name ****/shop/includes/classes/split_page_results.php:78]
#5  splitPageResults->__construct() called at [/home/**** domain name ****/shop/includes/modules/winchester_responsive/product_listing.php:35]
#6  include(/home/**** domain name ****/shop/includes/modules/winchester_responsive/product_listing.php) called at [/home/**** domain name ****/shop/includes/templates/winchester_responsive/templates/tpl_modules_product_listing.php:14]
#7  require(/home/**** domain name ****/shop/includes/templates/winchester_responsive/templates/tpl_modules_product_listing.php) called at [/home/**** domain name ****/shop/includes/templates/winchester_responsive/templates/tpl_advanced_search_result_default.php:49]
#8  require(/home/**** domain name ****/shop/includes/templates/winchester_responsive/templates/tpl_advanced_search_result_default.php) called at [/home/**** domain name ****/shop/includes/templates/winchester_responsive/common/tpl_main_page.php:252]
#9  require(/home/**** domain name ****/shop/includes/templates/winchester_responsive/common/tpl_main_page.php) called at [/home/**** domain name ****/shop/index.php:97]

[28-Aug-2018 04:10:33 America/Los_Angeles] PHP Fatal error:  1109:Unknown table 'p' in field list :: select count(p.products_id) as total  ==> (as called by) /home/**** domain name ****/shop/includes/classes/split_page_results.php on line 78 <== in /home/**** domain name ****/shop/includes/classes/db/mysql/query_factory.php on line 171

I somehow do not thing this is to do with the theme as trying other themes does not make the search work.
PLEASE HELP???

19 Nov 2018, 9:12 PM
#822
drm1963 avatar

drm1963

New Zenner

Join Date:
Feb 2018
Location:
Tennessee
Posts:
48
Plugin Contributions:
0

Re: Winchester Responsive

Check

Configuration / Customer Details

Look under: Customer Shop Status - View Shop and Prices

We have ours set to 0:

See what you have checked?

Customer must be approved to shop
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only

19 Nov 2018, 11:14 PM
#823
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

It is set to 0

Thank you, but it is not the fix. I think it will be more difficult.

19 Nov 2018, 11:36 PM
#824
drm1963 avatar

drm1963

New Zenner

Join Date:
Feb 2018
Location:
Tennessee
Posts:
48
Plugin Contributions:
0

Re: Winchester Responsive

So you only have Zen Cart 155f installed, 1 Sitemap plugin and 1 Template Winchester Responsive Version 1.4

Server set ups are almost identical " I also run a test server on a local pc for testing purposes but identical to my Real Shop!

Our Server
PHP Version: 7.0.32 (Zend: 3.0.0)
PHP File Uploads: On
Upload Max Size: 128M
PHP Memory Limit: 768M
POST Max Size: 128M
Database: MySQL 5.6.40-84.0-log
MySQL Slow Query Log Status: On
MySQL Slow Query Log File: /var/lib/mysql/mysql-slow.log
MySQL Mode: NO_ENGINE_SUBSTITUTION

Your server
PHP Version: 7.0.32 (Zend: 3.0.0)
PHP File Uploads: On
Upload Max Size: 64M
PHP Memory Limit: 90M
POST Max Size: 65M
Database: MySQL 5.6.34-log
MySQL Slow Query Log Status: On
MySQL Slow Query Log File: /dh/mysql/logs/mysql.oesterle.slow
MySQL Mode: NO_ENGINE_SUBSTITUTION

When was the last time you did a fresh install of Zen Cart 155f not an update or anything but a full fresh install?

20 Nov 2018, 1:11 PM
#825
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

drm1963:

So you only have Zen Cart 155f installed, 1 Sitemap plugin and 1 Template Winchester Responsive Version 1.4

When was the last time you did a fresh install of Zen Cart 155f not an update or anything but a full fresh install?

Maybe 2015?

Now you are talking the other extreme. So much work. I have started it making a secondary store and, of course, it is a lot of work and will take at least a day if not more. But, of course, it is worth it if it solves the issue. I wish it was as simple as the first response, but it never is so easy. Over the years of upgrades it just may be a file missed on upgrade. I had that thought but the fear of all the time to recreate a zen installation kept me from trying this. I guess as I wait for any other solution I will create a second store from a fresh copy of zen. I am just confused if I can use the old database and upgrade, make a new one and restore the old into it, or what? I guess I may be beyond the remit of the theme remit at this point.

20 Nov 2018, 1:35 PM
#826
drm1963 avatar

drm1963

New Zenner

Join Date:
Feb 2018
Location:
Tennessee
Posts:
48
Plugin Contributions:
0

Re: Winchester Responsive

I think I sent you a PM. PM me back to let me know you did get it or let me know here if you did not and I will do what i can to assist you with an easy test installation.

20 Nov 2018, 1:39 PM
#827
swguy avatar

swguy

Administrator

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

Re: Winchester Responsive

videoseconds:

...

Something is wrong with doing search.

Check the file includes/modules/pages/advanced_search_result/header_php.php

against a fresh download of 1.5.5f.

20 Nov 2018, 2:38 PM
#828
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

swguy:

Check the file includes/modules/pages/advanced_search_result/header_php.php

against a fresh download of 1.5.5f.

You are a genius! Thank you so much! That solved the problem! Search now works. Guess I missed some upgrade file, try as I might to make them all work, long ago. Wonder what else I missed.

Thanks again! Very much!
Rick

20 Nov 2018, 7:41 PM
#829
swguy avatar

swguy

Administrator

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

Re: Winchester Responsive

videoseconds:

You are a genius!

Finally, someone with taste and discernment. :)

21 Nov 2018, 11:47 AM
#830
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

OK, thanks for the help on the search function to all!
Now the reason I came on to troubleshoot the site is really that google mobile reports that the site has three grave problems with the display. Clickables too close, incompatible plugins, and too wide for screen. Their mobile friendly test page shows the site very ugly and the links are all you see, piled up on one another. This is not what it should be like.
So,
I figure the template is fine and there must be some mobile detect issue or how zen responds to mobile that craps out the theme. ANY HELP PLEASE????

21 Nov 2018, 3:34 PM
#831
carlwhat avatar

carlwhat

zennedOut

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

Re: Winchester Responsive

swguy:

...against a fresh download of 1.5.5f.

so much in agreement....

videoseconds:

OK, thanks for the help on the search function to all!
Now the reason I came on to troubleshoot the site is really that google mobile reports that the site has three grave problems with the display. Clickables too close, incompatible plugins, and too wide for screen. Their mobile friendly test page shows the site very ugly and the links are all you see, piled up on one another. This is not what it should be like.
So,
I figure the template is fine and there must be some mobile detect issue or how zen responds to mobile that craps out the theme. ANY HELP PLEASE????

not really sure what google is complaining about... site looks ok on mobile...

i would fix this error:

Mixed Content: The page at 'https://www.videoseconds.com/shop/index.php?main_page=product_info&cPath=3_10&products_id=87&number_of_uploads=0' was loaded over HTTPS, but requested an insecure script 'http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'. This request has been blocked; the content must be served over HTTPS.

in includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php:98:

// CHANGE
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
// TO
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>

best.

22 Nov 2018, 4:41 PM
#832
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

carlwhat:

so much in agreement....

not really sure what google is complaining about... site looks ok on mobile...

i would fix this error:

Mixed Content: The page at 'https://www.videoseconds.com/shop/index.php?main_page=product_info&cPath=3_10&products_id=87&number_of_uploads=0' was loaded over HTTPS, but requested an insecure script 'http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'. This request has been blocked; the content must be served over HTTPS.

in includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php:98:

// CHANGE

<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>

// TO

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
> 
> best.

Interesting find. Did you use the firefox console to find this? I did the fix, thanks.

My problems were with google search. They have a whole different idea of what is mobile friendly and what is not. I have got to the bottom of their issues, at least most of them, and will share these since, as stupid as they are, there are probably others who have done the same.

Previously I was asked when I did the last full install. Truthfully I am not sure. I have been using the software over 9 years and it seems changes take place everywhere. So the first issue google took the pages down was over "bad plugin." Problem was it was their plug in. 9 years ago, when I uploaded the videos to googles youtube site we got code to embed. Well, that code is no longer good. It was once easy and the video was on the site. Now they want an iframe so they can count views on their site and give results to their analytics. So every page with a video, the most important ones actually, were removed from the search. I went through and fixed that.

Next was to do with links too close and content too wide. Why? ROBOTS.TXT! Again and old robots.txt kept search from the admin area as well as images. This broke the site. I went back down to the original supplied robots directives and that fix worked.

The site is now mobile friendly under rules of google. 

There still remains some issues of style sheets not loading and other things that might have other reasons, like server timeout or google being crippled. I am not sure it is important enough to warrant posting here because, other than a style sheet not loading from the winchester area, most of the problems were calls to other areas, 15 of them! But the pages load properly enough for google, and that is enough right now.

I have to go to a whole bunch of sites now to update the video embeds as they too have old pages. I am going to do a complete new rebuild using the latest from winchester and zen on a laptop and will do further testing over the weekend. Right now I have a lot of work just with replacing old embeds with the new versions.

Updates are beeachi.

Thanks to all for the help.:D
23 Feb 2019, 3:55 PM
#833
keithturner avatar

keithturner

New Zenner

Join Date:
Feb 2019
Location:
Bedford
Posts:
2
Plugin Contributions:
0

Re: Winchester Responsive

Hi Just upgraded to 1.56a the template works ok until i update box controller then all i get is the top 2 headings the bottom of the view source page show this:
<li><a href="http://waterways-direct.com/store_2019/index.php?main_page=unsubscribe">Newsletter Unsubscribe</a></li>
</ul>
</li>

<li><a href="javascript:void(0)">Useful Links</a> <ul> <div class="systemError">WARNING: An Error occurred, please refresh the page and try again.</div> i uploaded the latest template 155
14 May 2019, 11:44 AM
#834
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Winchester Responsive

This template has been working great for me but today clicking on Add to Cart is resulting in a blank page. I tried changing to zencart's basic template and it worked fine. I'm getting this problem with the Winchester New template.

I've checked my log files which says
Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/includes/languages/english/extra_definitions/westminster_new/winchester_responsive_defines.php:1)

There are no additional spaces on line 1. Really strange as I didn't touch this file.

I also read https://www.zen-cart.com/content.php?129, encoded winchester_responsive_defines.php as UTF-8-BOM and uploaded the file back to the server and I'm still getting a blank page.

You can see the problem at https://www.qbis.co.uk/ (temporary. Will remove when fixed)

Any advice would be much appreciated. Thank you!

15 May 2019, 2:33 PM
#837
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Winchester Responsive

dbltoe:

I'm seeing a 404 on the console for jquery.```
GET https://www.qbis.co.uk/includes/templates/westminster_new/jscript/jscript_jquery.easing.1.3.js net::ERR_ABORTED 404 (Not Found)


Thanks, I checked and found the file with a "_" at the end of the filename so I renamed it but it still doesn't seem to make any difference. Should I use the one on github? - <https://gist.github.com/gesheo/6194940>
Anne from Picaflor Azul upgraded the template so I know it was done right. I just can't understand why it's throwing up a blank page now when I click on the Add To Cart button as I haven't made any changes to the site. We had an order 2 weeks ago so it was working then.

The latest log file is still saying cannot modify header information.

[15-May-2019 14:19:24 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/qbiscouk/public_html/includes/languages/english/extra_definitions/westminster_new/winchester_responsive_defines.php:1) in /home/qbiscouk/public_html/includes/functions/functions_general.php on line 46

I checked winchester_responsive_defines.php and there are not spaces and syntax seems right.

I'm no expert so would be grateful if someone can point me in the right direction.
15 May 2019, 3:54 PM
#838
nl2dav avatar

nl2dav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Re: Winchester Responsive

Looks like a PHP error. What do the myDEBUG-*.log files tell @/logs?

edit: Oh for some reason I overlooked the last posting.

Something is going wrong with redirection. The image links on the mainpage also do not work. Clue might be functions_general.php

16 May 2019, 10:49 AM
#839
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Winchester Responsive

nl2dav:

Looks like a PHP error. What do the myDEBUG-*.log files tell @/logs?

edit: Oh for some reason I overlooked the last posting.

Something is going wrong with redirection. The image links on the mainpage also do not work. Clue might be functions_general.php

Thank you for checking, I found some spaces at the end of functions_general.php so I've deleted that. Refreshed the homepage and still getting blank page after clicking on Add to Cart button. Here is the contents of the log file after that action:

<?php
/**
 * functions_general.php
 * General functions used throughout Zen Cart
 *
 * @package functions
 * @copyright Copyright 2003-2016 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: Author: zcwilt  Fri Apr 22 22:16:43 2015 +0000 Modified in v1.5.5 $
 */
if (!defined('IS_ADMIN_FLAG')) {
  die('Illegal Access');
}
/**
 * Stop from parsing any further PHP code
*/
  function zen_exit() {
   session_write_close();
   exit();
  }

/**
 * Redirect to another page or site
 * @param string The url to redirect to
*/
  function zen_redirect($url, $httpResponseCode = '') {
    global $request_type;
    // Are we loading an SSL page?
    if ( (ENABLE_SSL == 'true') && ($request_type == 'SSL') ) {
      // yes, but a NONSSL url was supplied
      if (substr($url, 0, strlen(HTTP_SERVER . DIR_WS_CATALOG)) == HTTP_SERVER . DIR_WS_CATALOG) {
        // So, change it to SSL, based on site's configuration for SSL
        $url = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . substr($url, strlen(HTTP_SERVER . DIR_WS_CATALOG));
      }
    }

  // clean up URL before executing it
    $url = preg_replace('/&{2,}/', '&', $url);
    $url = preg_replace('/(&)+/', '&', $url);
    // header locates should not have the & in the address it breaks things
    $url = preg_replace('/(&)+/', '&', $url);

    if ($httpResponseCode == '') {
      session_write_close();
      header('Location: ' . $url);
    } else {
      session_write_close();
      header('Location: ' . $url, TRUE, (int)$httpResponseCode);
    }

    exit();
  }

/**
 * Parse the data used in the html tags to ensure the tags will not break.
 * Basically just an extension to the php strtr function
 * @param string The string to be parsed
 * @param string The needle to find
*/
  function zen_parse_input_field_data($data, $parse) {
    return strtr(trim($data), $parse);
  }

Also, the image links on the mainpage seem to work for me?

I hope I don't have to reinstall the template as I'd probably wreck the whole thing!

9 Aug 2019, 10:18 AM
#840
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

Hi Anne

On my website I have the product listings set to 4 columns per row. On the categories that only have 2-3 listings there is a space.

For example https://shaftdirect.com/sd2/the-manual-sit-to-stand-range-c-85_134_130/ Only lists 3 and there is a visible white space on the right.

Is there a way to make the product listings more fluid?

Thanks :)