Zen Cart Logo
Forums / Upgrading to 1.5.x / Pages scroll past bottom of content

Pages scroll past bottom of content

Views: 1,507

Results 1 to 12 of 12
13 Jul 2012, 2:52 AM
#1
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Pages scroll past bottom of content

Just upgraded to 1.5 from 1.39h.
Everything seems to be working except for this scrolling problem.
The pages just scroll past the bottom of the pages content except for a couple of pages with a lot of content i.e.. site map.

Checked the tpl.footer.php and CSS , couldn't find anything.

Any suggestions pointing me in a specific direction would be greatly appreciated.

13 Jul 2012, 5:32 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Pages scroll past bottom of content

Please reply with answers to the posting tips and a link to your site. hard to help otherwise.

13 Jul 2012, 7:19 AM
#3
26041988 avatar

26041988

New Zenner

Join Date:
Jul 2012
Location:
www.hosco.com.vn
Posts:
1
Plugin Contributions:
0

Re: Pages scroll past bottom of content

too hard to help . You can post some information again

13 Jul 2012, 4:54 PM
#4
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Hi:
**My Site**

Created a Temp folder and a new database and installed 1.5.
The Temp folder web pages were fine , no scrolling beyond the end of the content.

Transferred the same identical files to a new folder, and also a new database.
imported into this new database the original database from my 1.39h site. and updated the database to 1.5

Now I have the scrolling beyond the web pages content.

Thank you for any helpful info

13 Jul 2012, 6:50 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Go to that linked page. View Source. Down around line #1934 you'll see that you have a whole new page of code down there, starting with a new <html> tag and continuing with a <head> tag and a <body> tag and so on. I imagine that would displease some browsers! I predict that when you fix that issue, your problem will go away.

Rob

13 Jul 2012, 10:14 PM
#6
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Hi Rob:
Thanks for investigating.
That snippet of code including html, head, and body tags are for a popup window from a side box. That coding I have on other sites without the scrolling problem.
mike

14 Jul 2012, 1:20 AM
#7
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Pages scroll past bottom of content

You may well have gotten away with it on other sites, but the fact remains, no valid HTML document can have multiple html tags or multiple body or head tags. Period. Whenever someone has an odd problem with a page, I always check the validity of their code. Valid code displays properly in almost all browsers made in the last 10 years (though with some minor differences, mostly in IE.) Invalid code -- well, all bets are off. If it's invalid you really have no way of knowing what the browser will do with it.

Rob

14 Jul 2012, 1:52 AM
#8
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Hi Rob:
The test is easily exercised. Removed the side box and consequently all the involved code was also removed. Confirmed via the source code, the html, body, and head tags were removed.
These tags were for the new pop-up window that is generated.
Unfortunately the scrolling beyond the end of the content still persists.

14 Jul 2012, 9:39 AM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pages scroll past bottom of content

Not sure why, but some of it seems to becoming from this rule in index_home.css:

.centerBoxWrapper {display:none;}

Remove that and see what happens.

14 Jul 2012, 3:25 PM
#10
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Hi:
Thanks for the effort.
I did remove .centerBoxWrapper {display:none;} from index_home.css.
Unfortunately, nothing changed still scrolling past end of page
Mike

14 Jul 2012, 4:21 PM
#11
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Pages scroll past bottom of content

I Narrowed down the problem to the Database.

  1. Initially a **Temp site** and a new Temp Database was created to install 1.5.
    All add-on files were amended to comply with 1.5.
    Temp site works perfectly without the scrolling problem. (select Temp site above)

  2. A **NewStore site** and a NewStore database was created. All files from Temp site was copied to **NewStore site. **
    Old 1.39 database was imported into NewStore database and NewStore database was updated to 1.5
    NewStore site exhibits problem scrolling beyond web page content. (select NewStore site above)

  3. The Temp site, free of any problems, was then connected to the **NewStore site **database and low and behold the scrolling problem surfaced .

Conclusion: Database problem

***What Tables or data in the old imported database could cause this problem?? ***

15 Jul 2012, 10:05 AM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Pages scroll past bottom of content

Looks like you fixed it... I don't see any difference between the two sites...