Sometimes you may get the following error in cPanel:
[wpfmb type=’error’ theme=2]Warning: fopen(/tmp/horde_32001.log): failed to open stream: Permission denied in /usr/local/cpanel/3rdparty/lib/php/Log/file.php on line 202
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[/wpfmb]
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