title: My website is entirely blank, tips to diagnose?
body: <p>I have an ecommerce site built on OpenCart (1.5.0 i believe), which after inserting tracking code from Alexa.com and a block of code for redirecting to another site went entirely blank. Initially it worked, so I felt it was safe to save over my backups. But after refreshing the pages it was blank, and the 'view source' option in all my browsers (firefox, chrome, safari) revealed that there was no code reaching them. I then began to follow a series of debugging steps:</p>
  
  <ol>
  <li>As my text editor was still open I undid all changes and reuploaded with no changes</li>
  <li>I scanned the documents to be sure there were no issues in the text, with no discoveries</li>
  <li>I ran it through W3C validation, with 2 warnings which are 1- no character encoding and 2- unable to determine parse mode.</li>
  <li>contacted host for a server side restore though their earliest backup was a day after the problem began (it took 3 days of arguing to get them to initiate a restore)</li>
  </ol>
  
  <p>In regards to these validation warnings, I am not sure what encoding should be used for OpenCart, ASCII or UTF-8 (which the validator resorted to) or what, in addition I am not sure if the template used with OpenCart would conflict with it if I were to declare encoding. In addition, I find it hard to believe that such a widely distributed product would have something this simple causing such a huge mistake because then all users would have this issue.</p>
  
  <p>In regards to parse mode, the index page does declare parse mode (in the included header file).</p>
  
  <p>In addition to all this, the validator is also claiming that it is not receiving code at all, which disables any chance of determining problems through that route.</p>
  
  <p>The header and footer were both edited for these additions but are relatively long to include in this. The code used to edit were, for alexa <code>&lt;!-- tracking code here --&gt;</code> inserted into the head section of the header file, and the code for the footer was:</p>
  
  <pre><code>     &lt;span style="display:inline-block;width:160px;height:30px;text-align:center;border:#000 1px dotted;font-family:Arial,Helvetica,sans-serif;font-size:11px;background-color:#FFFFFF;"&gt;&lt;strong style="display:block;padding:0px;margin:0px;"&gt;Reputation Management&lt;/strong&gt;&lt;a href="http://www.submitexpress.com/" title="Submit Express - Search Engine Optimization Services" style="font-family:Arial,Helvetica,sans-serif;font-size:11px;"&gt;Submit Express&lt;/a&gt;&lt;/span&gt;
  </code></pre>
  
  <p>If anymore code is needed to help then please let me know, I am not looking for someone to fix my problem but to give me relevant tips to help figure it out myself or if they do provide a fix to educate me as how they managed it so I may be able to use the same debugging method. Thanks!</p>
  
  <p><strong>EDIT:</strong> The issue, as discovered thanks to Jay, is "PHP Notice:  Undefined index:  HTTP_HOST in <em>*</em>*/public_html/graphic-shack.com/index.php on line 40" and a google search has not revealed any effective results. This, to my untrained mind is jibberish, clarification would be greatly appreciated as line 40 is in fact a blank line, where as the text around it I can not post for some reason but will be viewable at <a href="http://graphic-shack.com/example.html" rel="nofollow">http://graphic-shack.com/example.html</a> </p>