Sometimes you may get the following error in cPanel:
Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/3rdparty/lib/php/Log/file.php:202) in /usr/local/cpanel/base/horde/login.php on line 96
It can be due to one of following reasons:
1. If /tmp has wrong permissions
Make sure that /tmp has correct permissions,We can use following command to correct the permissions for /tmp .
chmod 1777 /tmp
2. The /tmp/horde_32001.log file has incorrect permissions or the group/owner user level is incorrectly assigned.
To correct this:
chown cpanel:cpanel /tmp/horde_32001.log chmod 0644 /tmp/horde_32001.log
Done.