Advance Permission Error
Permalink
I tried to enable the advance permissions however when I went back to my site this is what I got.
define('PERMISSIONS_MODEL', 'advanced');
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/38/d395821395/htdocs/concrete5.4.2.2/config/site.php:2) in /homepages/38/d395821395/htdocs/concrete5.4.2.2/concrete/startup/session.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /homepages/38/d395821395/htdocs/concrete5.4.2.2/config/site.php:2) in /homepages/38/d395821395/htdocs/concrete5.4.2.2/concrete/libraries/controller.php on line 360
I am not a coder, please can someone tell what does these mean and how to fix it?
define('PERMISSIONS_MODEL', 'advanced');
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/38/d395821395/htdocs/concrete5.4.2.2/config/site.php:2) in /homepages/38/d395821395/htdocs/concrete5.4.2.2/concrete/startup/session.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /homepages/38/d395821395/htdocs/concrete5.4.2.2/config/site.php:2) in /homepages/38/d395821395/htdocs/concrete5.4.2.2/concrete/libraries/controller.php on line 360
I am not a coder, please can someone tell what does these mean and how to fix it?
Sometimes this can be because of some white-space in a file like this, a few spaces before or after a PHP block.
But from what you have posted, I've got the feeling that you may have put the define line in the site.php file outside of a php block, so it's just being output to the page instead of being processed.
Make sure you put the permissions define line directly after the last define line in the file.