Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Clearing inserted code that shows up on reload

Clearing inserted code that shows up on reload

Locked

Views: 1,064

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Nov 2008, 5:09 AM
#1
jcountryman avatar

jcountryman

New Zenner

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

Clearing inserted code that shows up on reload

Hi all,

I've got another puzzling problem--I had added some code into my define_main_page to include streaming audio. I removed it from the page, and on first load, it doesn't show up, if you reload 2 or 3 times, there it is...

My website is https://www.chakrachack.com

Any ideas on how to get rid of this seemingly phantom code? I suspect it's somewhere in a cache since it only shows up on reload. But, as y'all can see, I'm still a newbie at this.

21 Nov 2008, 5:50 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Clearing inserted code that shows up on reload

Visited site..then refreashed page several times...
no phantom code appearing..try clearing your browser
cache, history, cookies etc.

21 Nov 2008, 6:15 AM
#3
jcountryman avatar

jcountryman

New Zenner

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

Re: Clearing inserted code that shows up on reload

Thanks for looking Misty...
I think I need to restate the problem--there is a volume control that is persisting at the very bottom of the page, below the footer--did you see that?

I cleared my cache, reloaded--not there, reloaded again there, cleared cache, reopened browser window (Firefox) and it's there again.

21 Nov 2008, 6:23 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Clearing inserted code that shows up on reload

jcountryman:

Thanks for looking Misty...
I think I need to restate the problem--there is a volume control that is persisting at the very bottom of the page, below the footer--did you see that?

I cleared my cache, reloaded--not there, reloaded again there, cleared cache, reopened browser window (Firefox) and it's there again.
No did not see it on first visit because you mentioned you had cleared code from define main page.. not footer..
Code at foot of your page relates to banner6 i.e.

<!--bof- banner #6 display -->
<div id="bannerSix" class="banners"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0[/URL]" width="200" height="150" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="FlashVars" value="SIDOn=http://75.41.47.250:8000/live4&SID=         Sacred Sounds Radio" /><param name="movie" value="[URL]http://www.radioc2.com/radioc2portable.swf[/URL]" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="[URL]http://www.radioc2.com/radioc2portable.swf[/URL]" 
FlashVars="SIDOn=http://75.41.47.250:8000/live4&SID=Sacred Sounds Radio" quality="high" bgcolor="#ffffff" width="200" height="150" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="[URL]http://www.macromedia.com/go/getflashplayer[/URL]" /></object></div>
<!--eof- banner #6 display -->

So have you removed that banner as well?

21 Nov 2008, 4:54 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Clearing inserted code that shows up on reload

Looks to me like a bad banner definition ... :unsure:

21 Nov 2008, 6:52 PM
#6
jcountryman avatar

jcountryman

New Zenner

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

Re: Clearing inserted code that shows up on reload

Doh! The bad banner definition would explain it! I had created a banner and forgotten that I'd done it... (did I mention that I have the flu?--yeah that's the ticket!). :oops:

Thanks so much!

21 Nov 2008, 7:56 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Clearing inserted code that shows up on reload

snicker ...

Good thing I never do anything silly like that ... :lamo:

Thanks for the update that the mysterious appearing and disappearing code was actually a bad banner that was attempting to display with invalid code ... :smile:

21 Nov 2008, 8:02 PM
#8
jcountryman avatar

jcountryman

New Zenner

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

Re: Clearing inserted code that shows up on reload

Oh yeah, rub it in! :D