Forums / General Questions / Product info squeezed into sidebar, and random empty pages until refresh

Product info squeezed into sidebar, and random empty pages until refresh

Locked

Views: 1,276

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Jan 2009, 8:19 PM
#1
si_vincent avatar

si_vincent

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Product info squeezed into sidebar, and random empty pages until refresh

Hi,
I've been twiddling with Zen Cart over the past few months trying to get it ready for the public and up until yesterday I've never seen this error.
(Backstory - I massively borked my database somehow so that downloads were never available without manually setting the order to delivered, even with the default order status set correctly. I cleared the database, and, having kept most of my customisation nicely separate, simply reinstalled ZC and resigned myself to adding all my products from scratch.)

Sometimes, in both Firefox and Internet Explorer, and not just for me but my partner in the US, a page will show partially blank, i.e. the sidebar and header are there but nothing else, until I've hit refresh a few times when it will then load correctly.
Occasionally, when viewing a product info page, the images and text will be shifted into the sidebar leaving the center blank. Again, this error seems to be random, not coinciding with an alteration to a product or template or layout or anything.

I'm really stumped, and I assume as this happens in both popular browsers, and not just to me, even after flushing the cache, then it would happen to customers as well. I wanted to open tomorrow!

I have tried both methods of the Debug Error logging, and so far no errors have actually been shown at all, which doesn't surprise me - the errors are not constant but seem to appear without rhyme or reason.

If anyone has any suggestions as to what's going wrong or how to fix it, it'd be most appreciated.


Vincent, Calida Productions

4 Jan 2009, 8:48 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product info squeezed into sidebar, and random empty pages until refresh

Post a link to your site

Zen-Venom Get Bitten

4 Jan 2009, 9:03 PM
#3
si_vincent avatar

si_vincent

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Product info squeezed into sidebar, and random empty pages until refresh

Whoops.

https://www.calida3d.com/calidastore

Turns out it happens in the default template too, so i don't think it's anything I've done in a modification to the mostlygrey template...

4 Jan 2009, 10:45 PM
#4
si_vincent avatar

si_vincent

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Product info squeezed into sidebar, and random empty pages until refresh

Ok, well, something I should have done earlier I guess was use FireBug (although I'm far from an expert so much of the output remains a mystery to me).

When the product info gets squeezed into the sidebar, it appears that it really IS getting loaded into the BannerBox.. maybe it is something to do with the new adverts I put in. Bah.

I have absolutely no idea how

<iframe id="daz_aff_frame" src="http://www.XXXXX.com/i/banner/aff_frame?rid=995281854&category_idx=2&dimension=120x90&_m=d" width="120" height="90" align="center" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"><a href="http://www.XXXXX.com/i/0/0?refid=995281854&_m=d"><img src="http://www.daz3d.com/images/banners/default_120x90.jpg" border="0"></a></iframe><script type="text/javascript">document.getElementById('daz_aff_frame').src=document.getElementById('daz_aff_frame').src;</script>

would cause this weirdness to occur, but then I'm no programmer. At least I've found out the problem and the fix..turn off the adverts! Dammit, one less source of income.

4 Jan 2009, 11:09 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product info squeezed into sidebar, and random empty pages until refresh

It is most probably the iframe causing issues

Zen-Venom Get Bitten

5 Jan 2009, 12:44 AM
#6
si_vincent avatar

si_vincent

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Product info squeezed into sidebar, and random empty pages until refresh

Neat, thanks. I'll avoid any ad's with iframes in from now on!
Cheers for the input.

Vincent