1

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

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

Any ideas?

1
  • 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 Sep 4 '14 at 5:30
1

Open up this file:

/craft/config/db.php

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

<?php

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.

1
  • 1
    100 monopoly dollars says this is it. – Brad Bell Sep 4 '14 at 1:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.