Error on Login

Permalink
I have installed Concrete5 on my local machine for testing but when I try to log in to the admin area I get the following error:

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/designsinglass cms/concrete/models/config.php:60) in /Applications/MAMP/htdocs/designsinglass cms/concrete/libraries/controller.php on line 210

I am running it on Max OS X 10.4.11, with PHP 5.1.6. Am I getting this error because I am not using PHP 5.2?

View Replies:
andrew replied on at Permalink Reply
andrew
It happens when notice errors are on. Try editing

index.php

and right before "require('concrete/dispatcher.php'); add

error_reporting(E_ALL ^ E_NOTICE);


This should turn off notice errors. We're doing this in C5 but unfortunately there's a notice error BEFORE we turn them off (sigh).

Let me know if this helps.
chestercat replied on at Permalink Reply
Thanks, that got rid of the error message.