View Full Version : /galleries? OH SHOOT!
ssimmonsphoto
Aug-28-2009, 09:31 AM
Last time I checked out my site, I had all the proper code in to get the /galleries ability. But, now that I go in and click on my Galleries & Portfolios link in the upper right hand corner, it goes no where. Ummm... can anyone tell me what I'm doing wrong??? :scratch
jfriend
Aug-28-2009, 09:42 AM
You have introduced an error in your bottom javascript that is preventing your scripts from working. To fix that, you need to remove this code from your bottom javascript and put it in your custom footer.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10400994-1");
pageTracker._trackPageview();
} catch(err) {} </script>
I would suggest testing your galleries page, every time you do anything to the top or bottom javascript to make sure you haven't introduced a script error with your latest change.
ssimmonsphoto
Aug-28-2009, 11:46 AM
You have introduced an error in your bottom javascript that is preventing your scripts from working. To fix that, you need to remove this code from your bottom javascript and put it in your custom footer.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10400994-1");
pageTracker._trackPageview();
} catch(err) {} </script>
I would suggest testing your galleries page, every time you do anything to the top or bottom javascript to make sure you haven't introduced a script error with your latest change.
Ah, you are a genius. That fixed it. The code was for google tracker, but I use another site, so I just took that out. And now it works. PHEW! I don't believe I lost any clients from the day long snafu. Or at least it didn't stop someone from booking me today for 2010. :barb
Thanks for your help!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.