included c5touch now unable to connect to database

Permalink
I've followed the c5touch tutorial, but now when trying to access my site, I just get the message:

Unable to connect to database.
A database error occurred while processing this request.

I've spent most of the day trying to figure it out, but am totally stumped. Please can somebody help me see where I'm going wrong

 
jj0 replied on at Permalink Reply
apologies for being dumb, I had uploaded the incorrect site file.

now my next problem is:

Events::extend('on_start', 'ThemeSwitcher', 'checkForIphone', 'libraries/theme_switcher.php'); Warning: Cannot modify header information - headers already sent by (output started at /customers/b/4/a/xxxxx.co.uk/httpd.www/config/site_events.php:1) in /customers/b/4/a/xxxxxx.co.uk/httpd.www/concrete/libraries/view.php on line 834

I know that it relates to whitespace, but can't find it. The site_events file only has the one line:


Events::extend('on_start', 'ThemeSwitcher', 'checkForIphone', 'libraries/theme_switcher.php');

there is no whitespace, before or after