<p>Whenever I've had a completely white screen from Craft I've traced it to a syntax error in one of the files in <code>craft/config</code>, so I'd double-check your <code>db.php</code> and <code>general.php</code> if they've been edited.</p>

CC BY-SA 3.0
2016-03-03T13:30:19.670Z
I had looked at these files again and again, the syntax seemed completely correct. Until I noticed a single `'` in my randomly generated database-password. Sigh.
Florian
CC BY-SA 3.0
2016-03-03T12:17:32.037Z
2016-03-03T12:17:32.037Z
Mike Pepper
<p>I am trying to get Craft running on the Digital Ocean/ Serverpilot combination I've seen recommended here. Serverpilot is installed on the droplet and running fine. I created an app, uploaded the most recent version of Craft and unzipped it on the server. I renamed htaccess to .htaccess and put the db credentials in db.php.  </p>

<p>I get a white screen on example.com and example.com/admin.<br>
So I tried the alternate URLs recommended in Crafts installation guide, still white screen.  </p>

<p>I also tried playing around with the <code>omitScriptNameInUrls</code> setting. No luck.  </p>

<p>I also tried adding <code>RewriteBase /</code> to my .htaccess file. </p>

<p>I get this in the Apache access log: <code>82.156.127.145 - - [03/Mar/2016:01:45:59 -0500] "GET /admin HTTP/1.0" 500 -
82.156.127.145 - - [03/Mar/2016:01:46:00 -0500] "GET /admin HTTP/1.0" 500 -</code></p>

<p>This is in the Nginx access log: <code>82.156.127.145 - - [03/Mar/2016:01:46:00 -0500] "GET /admin HTTP/1.1" 500 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4" "-" 1072 0.014 "0" "0.014" "museumrotterdam.nl"</code></p>

<p>This is in the PHP access log: <code>82.156.127.145 - [03/Mar/2016:01:45:59 -0500] "GET /index.php?p=admin" 500 0 - 14106 17679 0.013 3407872 154.23% 0.00% "/admin"
82.156.127.145 - [03/Mar/2016:01:46:00 -0500] "GET /index.php?p=admin" 500 0 - 14106 17679 0.012 3407872 82.35% 0.00% "/admin"</code></p>

<p>There's nothing in the server's error logs.</p>

<p>When I add <code>'devMode' =&gt; true,</code> to the config Craft does not log any errors.</p>

<p>What else could I try?</p>

CC BY-SA 3.0
2016-03-03T06:41:23.907Z
Anything useful in your web server's errors logs?  Or if you enable devMode in Craft's logs?
Brad Bell
CC BY-SA 3.0
2016-03-03T06:42:34.923Z
I see a 500 error in the logs when trying to access /admin
Florian
CC BY-SA 3.0
2016-03-03T06:43:40.140Z
Craft's logs or your web servers? Regardless, what's the error message being logged?
Brad Bell
CC BY-SA 3.0
2016-03-03T07:00:43.790Z
Hrm... nothing in the Apache (or nginx) error logs (not the access log)?
Brad Bell
CC BY-SA 3.0
2016-03-03T07:01:07.320Z
Nope, white as the driven snow.
Florian
CC BY-SA 3.0
2016-03-03T09:46:06.420Z
Did you simply try to ad a index.html so at least you can be sure your not in the wrong folder.
KSPR
CC BY-SA 3.0
2016-03-03T09:46:49.203Z
My phpinfo.php displays fine.
Florian
<error><server><installation>
White screen during installation
# White screen during installation

(Asked by: username_0 on 2016-03-03)

I am trying to get Craft running on the Digital Ocean/ Serverpilot combination I've seen recommended here. Serverpilot is installed on the droplet and running fine. I created an app, uploaded the most recent version of Craft and unzipped it on the server. I renamed htaccess to .htaccess and put the db credentials in db.php.

I get a white screen on example.com and example.com/admin.  
So I tried the alternate URLs recommended in Crafts installation guide, still white screen.

I also tried playing around with the `omitScriptNameInUrls` setting. No luck.

I also tried adding `RewriteBase /` to my .htaccess file.

I get this in the Apache access log: `82.156.127.145 - - [03/Mar/2016:01:45:59 -0500] "GET /admin HTTP/1.0" 500 -
82.156.127.145 - - [03/Mar/2016:01:46:00 -0500] "GET /admin HTTP/1.0" 500 -`

This is in the Nginx access log: `82.156.127.145 - - [03/Mar/2016:01:46:00 -0500] "GET /admin HTTP/1.1" 500 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4" "-" 1072 0.014 "0" "0.014" "museumrotterdam.nl"`

This is in the PHP access log: `82.156.127.145 - [03/Mar/2016:01:45:59 -0500] "GET /index.php?p=admin" 500 0 - 14106 17679 0.013 3407872 154.23% 0.00% "/admin"
82.156.127.145 - [03/Mar/2016:01:46:00 -0500] "GET /index.php?p=admin" 500 0 - 14106 17679 0.012 3407872 82.35% 0.00% "/admin"`

There's nothing in the server's error logs.

When I add `'devMode' => true,` to the config Craft does not log any errors.

What else could I try?

**Tags:** error, server, installation
> **Comments:**
> **username_1**: Anything useful in your web server's errors logs?  Or if you enable devMode in Craft's logs?  
> **username_0**: I see a 500 error in the logs when trying to access /admin  
> **username_1**: Craft's logs or your web servers? Regardless, what's the error message being logged?  
> **username_1**: Hrm... nothing in the Apache (or nginx) error logs (not the access log)?  
> **username_0**: Nope, white as the driven snow.  
> **username_2**: Did you simply try to ad a index.html so at least you can be sure your not in the wrong folder.  
> **username_0**: My phpinfo.php displays fine.  

---

## 1 answers

### Answer by username_3 on 2016-03-03. Score: 3 | Accepted answer

Whenever I've had a completely white screen from Craft I've traced it to a syntax error in one of the files in `craft/config`, so I'd double-check your `db.php` and `general.php` if they've been edited.

> **Comments:**
> **username_0**: I had looked at these files again and again, the syntax seemed completely correct. Until I noticed a single `'` in my randomly generated database-password. Sigh.  

---

