<p>Open up this file:</p>

<pre><code>/craft/config/db.php
</code></pre>

<p>... and take a look at the very first line. The file <strong>should</strong> start with this:</p>

<pre><code>&lt;?php
</code></pre>

<p>It sounds like that may not be the case with your file. Make sure there is absolutely nothing before that <code>&lt;</code> character, not even a blank line.</p>

CC BY-SA 3.0
2014-09-04T01:31:28.173Z
100 monopoly dollars says this is it.
Brad Bell
CC BY-SA 3.0
2014-09-04T00:52:17.810Z
2014-09-04T00:52:17.810Z
Lindsey D
<p>I have installed Craft 2.2.2579 on my never-before-used website live rather than on my PC in a development environment. (I am not a developer.) Instructions were followed exactly (I believe), but when I point my browser to http://{mySiteName}/admin or the other alternatives, I get:
<img src="https://i.sstatic.net/wCzGQ.jpg" alt="Error Message"></p>

<p>The index page of the website itself loads just fine as http://{mySiteName}.</p>

<p>Any ideas?</p>

CC BY-SA 3.0
2014-09-04T05:30:07.960Z
Thank you so much, Lindsey D and Brad Bell. It looked right, but I re-copied from original file using Sublime Text, and the next thing you know, voila! Because it looked right (hidden characters? - what did I do?), I would have been a much longer time thinking to just redo it. Two thumbs up, especially for taking the time to answer such a simple question.
Lora at Two Sigma
<install>
Installation Fails on Live Website
# Installation Fails on Live Website

(Asked by: username_0 on 2014-09-04)

I have installed Craft 2.2.2579 on my never-before-used website live rather than on my PC in a development environment. (I am not a developer.) Instructions were followed exactly (I believe), but when I point my browser to http://{mySiteName}/admin or the other alternatives, I get:
![Error Message](https://i.sstatic.net/wCzGQ.jpg)

The index page of the website itself loads just fine as http://{mySiteName}.

Any ideas?

**Tags:** install

> **Comments:**
> **username_0**: Thank you so much, username_1 and username_2. It looked right, but I re-copied from original file using Sublime Text, and the next thing you know, voila! Because it looked right (hidden characters? - what did I do?), I would have been a much longer time thinking to just redo it. Two thumbs up, especially for taking the time to answer such a simple question.  

---

## 1 answers

### Answer by username_1 on 2014-09-04. Score: 1 | Accepted answer

Open up this file:
/craft/config/db.php

... and take a look at the very first line. The file should start with this:

It sounds like that may not be the case with your file. Make sure there is absolutely nothing before that < character, not even a blank line.

> **Comments:**
> **username_2**: 100 monopoly dollars says this is it.  

---

