PDA

View Full Version : vB header showing error only in IE


SoHelpMe
05-03-2014, 11:37 AM
Hello,
When my page is loaded using IE users0 gets a header screen that looks like:
https://vborg.vbsupport.ru/external/2014/05/36.jpg
On Firefox and chrome the "web page can not be found" is just a blue section like the rest of the header background.
Looking at the header section via AdminCP styles I was wondering if you would expect it to be the google adsense bit listed below:
<div id="headerMain">
<div id="topBar">
<div class="loginBox">
<vb:if condition="$show['member']">
<div id="toplinks" class="toplinks">
<ul class="isuser">
<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
</vb:if>
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li>
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
<vb:if condition="$notifications_total">
<li class="popupmenu notifications" id="notifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
<ul class="popupbody popuphover">
{vb:raw notifications_menubits}
</ul>
</li>
<vb:else />
<li class="popupmenu nonotifications" id="nonotifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
<ul class="popupbody popuphover">
<li>{vb:rawphrase no_new_messages}</li>
<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
</ul>
</li>
</vb:if>
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
</ul>
{vb:raw template_hook.header_userinfo}
<vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>
</div>
<vb:else />
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>
<form action="login.php?{vb:raw session.sessionurl}do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
<ul>
<li>{vb:rawphrase log_in}:</li>
<li><div class="inputBox"><input type="text" class="loginInput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" onfocus="if (this.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'){this.value='';}" onblur="if (this.value == '') {this.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>';}"/></div></li>
<li><div class="inputBox"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /></div></li>
<li class="rememberMe"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> Save?</label></li>

<li class="loginButton"><input type="image" src="images/styles/ColorTheory/style/loginButton.gif" value="{vb:rawphrase log_in}" alt="Submit" tabindex="104" accesskey="s" /></li>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
</vb:if>
</div>
<div class="searchBox">
<div class="searchBoxBody">
<div class="searchBoxLeft"><div class="searchBoxRight">
<form action="search.php?do=process" method="post" id="navbar_search">
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<ul>
<li>Search our forums:</li>
<li><div class="searchInputBox"><input class="searchInput" type="text" name="query" tabindex="1004" value="" /></div></li>
<li><input type="image" src="images/styles/ColorTheory/style/searchButton.gif" value="{vb:rawphrase search}" alt="{vb:rawphrase search}" /></li>
</ul>
</form>
</div></div>
</div>
</div>
</div>
<div id="headerBox">
<div class="headerWrap">
<a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
<div class="bannerBox">
<script type="text/javascript"><!--
google_ad_client = "pub-9263831296728856";
/* 468x60, created 8/20/09 */
google_ad_slot = "0441202397";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>
</div>

Your help and suggestions are appreciated.
Thanks.

cellarius
05-03-2014, 12:58 PM
Yes, obviously it is the Google AdSense banner, no doubt. But there really is nothing we can do about a google ad not being found. You'd have to bring that up with Google Support.

SoHelpMe
05-03-2014, 02:16 PM
So if that is actually the case as I suspected how can I go about commenting out a line (or lines)of code in the screen capture so that it does not show this error? I do not need it working right now so I would gladly go without for the moment. Any suggestions?

cellarius
05-03-2014, 02:29 PM
Well, obviously you would remove the google adsense code. Since you already marked that code red in your first post, I don't not really know what to tell you. IIRC commenting out adsense blocks does not always work properly.

SoHelpMe
05-03-2014, 04:50 PM
I corrected it by modifying the row below
<!--src="http://pagead2.googlesyndication.com/pagead/show_ads.js">-->
I just wasn't sure exacly how to make comments and were not sure which row or block would need modified. I little trial and error and google got it done. :)