alixaxel/ArrestDB

getting service unavailable error

tbarmann opened this issue · 1 comments

ArrestDB is giving the error message "Service Unavailable" and I can't figure out what I might be doing wrong.

My config:
PHP 5.5 on LAMP (Ubuntu)
PDO enabled
$dsn = 'mysql://root:vertrigo@]localhost:443/viewfind/';
.htaccess just as presented in the example, in arrestDB directory
I can see the db (viewfind) and table (stories) using a mysql client with same credentials

trying a simple get:
http://localhost/php/arrestDB/stories/

I get:
{
"error": {
"code": 503,
"status": "Service Unavailable"
}
}

I would appreciate any help in troubleshooting. Thanks!

Never mind! After re-reading my post, I see a syntax error in my $dsn string - I left in one of the brackets. Problem solved. Fantastic code!