Welcome Guest, Not a member yet? Register   Sign In
Blank Screen of Death on New Server

I've been working on a couple different dev servers while coding up a new site and I've had no problems on 2 separate servers. Once I copy the install to the staging server (just a tick away from production), nothing works... I just get a blank screen.

I've verified the following:
1. PHP is working (any errors in my config files etc. will trigger an error message).
2. My .htaccess file is being parsed. If there are typos in it, I do get a server error.

The big difference on the staging server is that we're connecting to an oracle database, whereas in dev we were using MySQL. I don't see exactly how I edit the database config file to handle all of the Oracle login details (e.g. "Service"), but it is blowing my mind that a bad database login is causing the whole site to fail WITHOUT ERRORS!!! As soon as I include:

The site goes blank.

What else can I check?

Found it... 2 stupid things:

1. I specified the wrong driver. I needed to edit my config to include this:
$db['default']['dbdriver'] = "oci8";

2. I needed to include the service in the hostname:
$db['default']['hostname'] = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbhost.example.com)(PORT=1521))(CONNECT_DATA=(SID=dbsid)))';

as per http://codeigniter.com/wiki/Oracle:Known_Issues/

Theme © iAndrew 2016 - Forum software by © MyBB