Forums / General Questions / Website loads halfway down the front page

Website loads halfway down the front page

Views: 7,157

Results 1 to 18 of 18
27 Oct 2014, 4:16 PM
#1
rich_thomas avatar

rich_thomas

New Zenner

Join Date:
Oct 2014
Location:
Springfield, Vermont, United States
Posts:
2
Plugin Contributions:
0

Website loads halfway down the front page

Any ideas on how to track the issue down? Works fine on IE and FF..but on chrome it jumps to halfway down the page on loading.

https://www.vermontindustries.com

27 Oct 2014, 4:47 PM
#2
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Website loads halfway down the front page

Rich Thomas:

Any ideas on how to track the issue down? Works fine on IE and FF..but on chrome it jumps to halfway down the page on loading.

https://www.vermontindustries.com

I just spent time trouble shooting this for a client. It must be something that has changed in the new version of chrome. I narrowed the problem down to the manufacturers sidebox. When you turn off the box the problem is fixed, but I have no idea why the browser is having a problem with this particular sidebox.

Thanks,

Anne

27 Oct 2014, 4:53 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Website loads halfway down the front page

Rich Thomas:

Any ideas on how to track the issue down? Works fine on IE and FF..but on chrome it jumps to halfway down the page on loading.

www.vermontindustries.com
If you temporarily switch your store to use the Classic template, does the problem continue? Of course, switch it back to your current template once you've tested it in a few browsers.
If the symptoms don't occur on all templates, then it could be related to your custom template's CSS or javascript, including things done to it specifically for mobile.

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

27 Oct 2014, 5:01 PM
#4
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Website loads halfway down the front page

DrByte:

If you temporarily switch your store to use the Classic template, does the problem continue? Of course, switch it back to your current template once you've tested it in a few browsers.
If the symptoms don't occur on all templates, then it could be related to your custom template's CSS or javascript, including things done to it specifically for mobile.

I can confirm that the problem is present in the classic template. The particular site that I was working on was not a responsive design.
And it also happens when clicking through to other pages.

Here is an example 1.5.3 with the classic template:

http://weblyweb.com/fresh/

I am seeing the problem in chrome Version 38.0.2125.104 (64-bit)

Thanks,

Anne

27 Oct 2014, 5:20 PM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Website loads halfway down the front page

picaflor-azul:

I can confirm that the problem is present in the classic template. The particular site that I was working on was not a responsive design.

Here is an example 1.5.3 with the classic template:

http://weblyweb.com/fresh/

I am seeing the problem in chrome Version 38.0.2125.104 (64-bit)

Thanks,

Anne

Just to keep things interesting, I'm using chrome
Version 38.0.2125.104 (64-bit)

but I'm NOT seeing any problem with this site (or the vermontindustries site).

Possibly its related to a chrome plugin/extension rather than chrome itself?

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

27 Oct 2014, 5:23 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Website loads halfway down the front page

I am ... I will have to play later with various servers and see if there are differences ... :lookaroun

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Oct 2014, 5:25 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Website loads halfway down the front page

RodG:

Just to keep things interesting, I'm using chrome
Version 38.0.2125.104 (64-bit)

but I'm NOT seeing any problem with this site (or the vermontindustries site).

Possibly its related to a chrome plugin/extension rather than chrome itself?

Cheers
RodG
I tried, using the same version, and I did see it initially on the vermont site, and then after a few refreshes it no longer jumped. Then I opened it again in another tab, and it happened again there.

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

27 Oct 2014, 5:31 PM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Website loads halfway down the front page

DrByte:

I tried, using the same version, and I did see it initially on the vermont site, and then after a few refreshes it no longer jumped. Then I opened it again in another tab, and it happened again there.

Alas, I still can't replicate the issue. If I were to take a wild guess I'd say this looks/sounds like a caching issue?

Regardless what the cause, this is probably going to be a pig to debug.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

27 Oct 2014, 5:50 PM
#9
rich_thomas avatar

rich_thomas

New Zenner

Join Date:
Oct 2014
Location:
Springfield, Vermont, United States
Posts:
2
Plugin Contributions:
0

Re: Website loads halfway down the front page

picaflor-azul:

I just spent time trouble shooting this for a client. It must be something that has changed in the new version of chrome. I narrowed the problem down to the manufacturers sidebox. When you turn off the box the problem is fixed, but I have no idea why the browser is having a problem with this particular sidebox.

Thanks,

Anne

I turned the manufacturer sidebox off and it works great. Ty Ty Ty!!!

27 Oct 2014, 6:17 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Website loads halfway down the front page

It seems to be that Chrome (and Opera) is repositioning the bottom of the viewport (visible area in the browser) to the top of the first form on the page that contains a SELECT field which has a pre-"selected" entry set in it.
Open bug discussion on Chrome at: https://code.google.com/p/chromium/issues/detail?id=423155
Chime in there to let them know you are also affected .. the more the merrier, and the sooner they'll fix it.

The temporary workaround until the browsers are fixed is to turn off any sideboxes that display a pulldown which contains a "default" option in it.
Or for the advanced coder, you could disable the code that sets the selected attribute in the corresponding option tag in the html.

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

6 Nov 2014, 2:39 AM
#12
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Website loads halfway down the front page

I believe there is an anchor tag missing in the reviews sidebox code.

The one and only product showing in my reviews sidebox has its link bleeding over into the manufacturers, genre, and manufacturers info sidebox heading titles.

If I figure out where it is missing, I'll post a fix here.

6 Nov 2014, 4:50 AM
#13
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Website loads halfway down the front page

I am still not convinced it is just a Chrome issue.

There are 2 issues with my Manufacturers, Manufacturers Info, and Music Genre Sideboxes.

1 - The link bleed-over from the Reviews Sidebox is Chrome, IE, and FireFox related.

2 - Manufacturers Sidebox is causing Google Chrome to jump to the middle of the page whenever the scrollbox is turned on.

The link bleed-over is happening on page refresh, when using the back button or mouse back link in the browser, and when opening a page that was viewed during the current session (cached?).

In tpl_reviews_random.php, I moved the </a> tag to every potential location and could not make the bleed-over stop...now I'm thinking single and double quote problems.

So, I changed this . '</a><br /><br />' . to ```
. "'</a><br /><br />'" .


That helped some but I'm still getting the link bleed-over from **cached pages** (back and refresh). I also tried using different combinations of single and double quotes but nothing fixed it.

That long code string is giving me a headache and crossing my eyes...lol.

It's late and I'm tired. I think I'll let one of you experts decipher this one.
6 Nov 2014, 5:08 AM
#14
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Website loads halfway down the front page

If I turn off the Reviews Sidebox, everything works fine in IE and FireFox...no bleed-over links and the Manufacturers Scroll Box works.

Chrome isn't jumping as far down the page as it was but at least it is jumping just below the EZPages Header Box...and there is no bleed-over.

I am convinced that this is a bug in ZenCart code...and it is somewhere in the tpl_reviews_random.php code. I'm just not advanced enough to figure it out.

6 Nov 2014, 5:28 AM
#15
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Website loads halfway down the front page

Here is another tid-bit...the review_id on mouse-over on my page says 12, the source code for the page says 13, but when you click on the link it takes you to 12?

Opening and closing anchor brackets appear to be good in the source code, yet link bleed-over is still happening.

<!--// bof: reviews //-->
<div class="leftBoxContainer" id="reviews" style="width: 250px">
<h3 class="leftBoxHeading" id="reviewsHeading">[B]<a[/B] href="http://jestcountrystuff.com/zencart153/index.php?main_page=reviews">Reviews  [more][B]</a>[/B]</h3>
<div class="reviewsContent sideBoxContent centeredContent">[B]<a[/B] href="http://jestcountrystuff.com/zencart153/index.php?main_page=product_reviews_info&products_id=59294&[B]reviews_id=13[/B]"><img src="images/images_products/apparel/performance_wear/athletic_wear/1081-AkademaTeamHoody.jpg" alt="Team Akadema Hoody Color Gry Size XL" title=" Team Akadema Hoody Color Gry Size XL " width="120" height="59" /><br />Wow! This arrived, well packaged, in 2 days. The 39%...[B]</a>[/B]<br /><br /><img src="includes/templates/template_default/images/stars_5.gif" alt="5 of 5 Stars!" title=" 5 of 5 Stars! " width="90" height="20" /></div></div>
<!--// eof: reviews //-->
6 Nov 2014, 5:41 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: Website loads halfway down the front page

  1. This appears to have strayed a long way from the original topic of this thread.
  2. If you have a verifiable bug, then post a bug report containing exact steps one can take to recreate the symptoms using a fresh brand new install of the latest published version of Zen Cart, without any plugins or addons or 3rd party templates, etc. If the development team can duplicate the bug then they will fix it.
  3. Also, try to keep separate issues separate. The spillover is different from the jumping-down-the-screen thing.

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

7 Nov 2014, 2:28 AM
#17
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Website loads halfway down the front page

May be separate...may be not. I'll start a new bug report and link it to this post as well. Thanks.