Post by Robyn on Nov 29, 2010 6:57:00 GMT -8
I am building a website for a client located here:
coldwar.robertcity.com/
I was trying to "convert" the html into separate PHP files which would be declared in the main index.php file, but then for whatever reason strange symbols replaced the text. Strange black diamonds with white question marks.
So I've decided to convert another time, and just clean up my mess, but for some reason now it redirects to the same url only blank. Google Chrome's Developer Tool complains about this:
Resource interpreted as image but transferred with MIME type text/html.
banner-blank.png:-1Resource interpreted as image but transferred with MIME type text/html.
timeline-bg.png:-1Resource interpreted as image but transferred with MIME type text/html.
navright.png:-1Resource interpreted as image but transferred with MIME type text/html.
valoverslogo.jpg:-1Resource interpreted as image but transferred with MIME type text/html.
chrome-extension://bhmmomiinigofkjcapegjjndpbikblnp/content/warning.js:1Uncaught TypeError: const 'WOT_WARNING_HTML' has already been declared
chrome-extension://bhmmomiinigofkjcapegjjndpbikblnp/content/popup.js:1Uncaught TypeError: const 'WOT_POPUP_HTML' has already been declared
chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/filehandler.js:27f: unknown method executeScript
chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/filehandler.js:27f: unknown method executeScript
And Firefox's Firebug is only showing
<script src='http://www.google-analytics.com/ga.js' type='text/javascript'></script>
in the source.
This is the original index.php file with all the files inside.
I did not code this, rather I am modifying it with other content and trying to fit the content into the template.
I figured I could have made it easier for myself as well as my client by converting the code into php files but it didn't work.
Please help me before 10:30 am central time, as then my client will view what I have done so far.
EDIT: Apparently
google-analytics.com/ga.js
is a google script that enforces the spiders to access the website. I don't know why or even if it is, but it may be the cause for the redirecting. I'm not sure how or why, if it is, though.
coldwar.robertcity.com/
I was trying to "convert" the html into separate PHP files which would be declared in the main index.php file, but then for whatever reason strange symbols replaced the text. Strange black diamonds with white question marks.
So I've decided to convert another time, and just clean up my mess, but for some reason now it redirects to the same url only blank. Google Chrome's Developer Tool complains about this:
Resource interpreted as image but transferred with MIME type text/html.
banner-blank.png:-1Resource interpreted as image but transferred with MIME type text/html.
timeline-bg.png:-1Resource interpreted as image but transferred with MIME type text/html.
navright.png:-1Resource interpreted as image but transferred with MIME type text/html.
valoverslogo.jpg:-1Resource interpreted as image but transferred with MIME type text/html.
chrome-extension://bhmmomiinigofkjcapegjjndpbikblnp/content/warning.js:1Uncaught TypeError: const 'WOT_WARNING_HTML' has already been declared
chrome-extension://bhmmomiinigofkjcapegjjndpbikblnp/content/popup.js:1Uncaught TypeError: const 'WOT_POPUP_HTML' has already been declared
chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/filehandler.js:27f: unknown method executeScript
chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/filehandler.js:27f: unknown method executeScript
And Firefox's Firebug is only showing
<script src='http://www.google-analytics.com/ga.js' type='text/javascript'></script>
in the source.
This is the original index.php file with all the files inside.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0023)http://www.coldwar.org/ -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cold War Museum</title>
<!--<base href="http://www.coldwar.org/">--><base href=".">
<script src="./Cold War Museum_files/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="./Cold War Museum_files/jquery.cookie.js"></script>
<script type="text/javascript" src="./Cold War Museum_files/jquery.json-2.2.min.js"></script>
<script type="text/javascript" src="./Cold War Museum_files/jquery.memory-menu.js"></script>
<link href="./Cold War Museum_files/auroramenu.css" rel="stylesheet" type="text/css">
<link rel="image_src" href="./Cold War Museum_files/cwm-logo.jpg" title="Cold War Museum logo">
<link type="text/css" rel="stylesheet" href="./Cold War Museum_files/cwm-style.css">
<link type="text/css" rel="stylesheet" href="./Cold War Museum_files/reset.css">
</head>
<body>
<div id="top"></div>
<div id="container">
<div id="header">
<a href="http://www.coldwar.org/index.asp" class="homebutton" title="Home"><img src="./Cold War Museum_files/cwm-logo.jpg" alt="Logo">
</a>
<a href="http://www.coldwar.org/index.asp"><img src="./Cold War Museum_files/banner-photos.png" alt="Array of historical wartime photos" title="Home" class="bannerphotos"></a>
<h1>The Cold War Museum</h1>
</div>
<div id="timeline">
<ul>
<li class="exploretimeline">Explore the Timeline:</li>
<li class="forties"><a href="http://www.coldwar.org/articles/40s/index.asp">1940s</a></li>
<li class="fifties"><a href="http://www.coldwar.org/articles/50s/index.asp">1950s</a></li>
<li class="sixties"><a href="http://www.coldwar.org/articles/60s/index.asp">1960s</a></li>
<li class="seventies"><a href="http://www.coldwar.org/articles/70s/index.asp">1970s</a></li>
<li class="eighties"><a href="http://www.coldwar.org/articles/80s/index.asp">1980s</a></li>
<li class="nineties"><a href="http://www.coldwar.org/articles/90s/index.asp">1990s</a></li>
</ul>
</div>
<div id="overflow-wrapper">
<div id="nav">
<ul class="auroramenu">
<li>
<a class="top-level">About the Museum</a>
<ul>
<li><a href="museum/museum_features.asp">Main Gallery</a></li>
<li><a href="museum/index.asp">Mission Statement</a></li>
<li><a href="museum/board_of_directors.asp">Board of Directors</a></li>
<li><a href="museum/background.asp">Background</a></li>
<li><a href="museum/physical_location.asp">Physical Location</a></li>
<li><a href="museum/contributions.asp">Contributions</a></li>
<li><a href="contributions/individual_support.asp">Individual Support</a></li>
<li><a href="contributions/institutional_support.asp">Institutional Support</a></li>
<li><a href="museum/affiliation.asp">Affiliations</a></li>
<li><a href="resources.asp">Resources</a></li>
<li><a href="museum/museum_chapters.asp">Museum Chapters</a></li>
</ul>
</li>
<li>
<a class="top-level">Exhibits</a>
<ul>
<li><a href="museum/exhibits.asp">Online Exhibits</a></li>
<li><a href="bcmt/splash.asp">BCMT Exhibit</a></li>
<li><a href="museum/berlin_wall_exhibit.asp">Berlin Wall</a></li>
<li><a href="museum/art_work_by_surab_tsereteli.asp">Cold War Artwork</a></li>
<li><a href="museum/coldwar_stories.asp">Cold War Stories</a></li>
<li><a href="museum/museum_collection.asp">Museum Collection</a></li>
<li><a href="museum/u_2_patches_1.asp">Patches Collection</a></li>
<li><a href="museum/photo_gallery.asp">Photo Gallery</a></li>
<li><a href="museum/recon_index.asp">Reconnaissance</a></li>
<li><a href="articles/60s/uss_liberty.asp">U.S.S. Liberty</a></li>
<li><a href="museum/virtual_exhibit_cia.asp">CIA - Virtual</a></li>
<li><a href="museum/virtual_exhibit_dia.asp">DIA - Virtual</a></li>
<li><a href="museum/stasi_index.asp">KGB/Stasi Prison</a></li>
</ul>
</li>
<li><a class="top-level" href="trivia/index.asp">Trivia Game</a></li>
<li>
<a class="top-level">Activities</a>
<ul>
<li><a href="education/coldwar_magazine.asp">Cold War Times</a></li>
<li><a href="http://coldwarpodcast.com/">Cold War Podcasts</a></li>
<li><a href="education/book_signings.asp">Book Signings</a></li>
<li><a href="education/spy_tour.asp">Spy Tour</a></li>
<li><a href="education/lectures_presentations.asp">Lectures</a></li>
<li><a href="education/traveling_museum.asp">Traveling Museum</a></li>
</ul>
</li>
<li><a class="top-level" href="museum/media_room.asp">Media Room</a></li>
<li><a class="top-level" href="museum/gift_store/index.asp">Gift Store</a></li>
<li><a class="top-level" href="museum/contact.asp">Contact Us</a></li>
<li><a class="top-level" href="search.asp">Search</a></li>
</ul>
</div>
<script type="text/javascript">
$('#nav').find('.top-level').before('<div class="menu-arrow menu-hide" />').end().memoryMenu({
hide: function() {
$(this).prev().removeClass('menu-show').addClass('menu-hide');
},
show: function() {
$(this).prev().removeClass('menu-hide').addClass('menu-show');
}
});
</script>
<div id="content"><table><tr><td width="50%"><img src="./pic2.png"></img><img src="./pic1.png"></img></td><td>
In the News<br>
Student Resources<br>
About the Midwest Chapter<br>
Nike Missle Base in Waukesha<br>
Take a Tour/Restoration Effort<br>
Support the Cold War Museum<br></td></tr></table><br>
<MARQUEE direction="left" loop="10" width="100%">Upcoming Programs, see calendar for more details. February 3rd, 2011: Permanent Cold War Exhibit Opening, New Berlin Library Veterans Room; April 2011, Cold War Flashpoints Program; May 2011, Memorial Day Cookout; Fundraising Support for Waukesha Veterans Building</MARQUEE>
<div class="ad"></div>
<script type="text/javascript">
$(function() {
$.get('ads/adlist.html', {}, function(response){
var picker = $('<div/>').html(response);
$('.ad').html($('a', picker).get(Math.floor(Math.random() * $('a', picker).length)));
}, 'html');
});
</script>
<div id="homegraphic">
<p style="margin-bottom: 0">This former US Army Security Agency Field Station is the new home of the Cold War Museum¡KVint Hill, Fauquier Co., Virginia, USA.</p>
</div>
</div>
</div>
<div id="footer">
<div id="logos">
<img src="sitegraphics/valoverslogo.jpg" />
</div>
<div id="contact">
<p>The Cold War Museum</p>
<p>Midwest Chapter</p>
<p>P.O. Box 1112</p>
<p>Waukesha, WI 53187-112</p>
<p>(262)-389-1157</p>
<p>Email: <a href="mailto:csturdev@hotmail.com">csturdev@hotmail.com</a></p>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscr" + "ipt src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/scr" + "ipt%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3293288-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>
I did not code this, rather I am modifying it with other content and trying to fit the content into the template.
I figured I could have made it easier for myself as well as my client by converting the code into php files but it didn't work.
Please help me before 10:30 am central time, as then my client will view what I have done so far.
EDIT: Apparently
google-analytics.com/ga.js
is a google script that enforces the spiders to access the website. I don't know why or even if it is, but it may be the cause for the redirecting. I'm not sure how or why, if it is, though.