When I go to the admin of my site, I get a blank page with these errors:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/sessions.php on line 100
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/sessions.php on line 100
Warning: Cannot modify header information - headers already sent by (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/general.php on line 22
I know that there is nothing wrong with the sessions.php or the general.php because I have replaced both files with new ones and still get these errors. The error must be with the /tmp directory. I've gone into the root directory and looked at the /tmp directory and there is nothing there that says .tmp.err:2. I do see a file with .tmp.err but there's nothing in it. I have searched and searched all over google for a solution to this but can't find anyone with the exact same problem. If anyone knows what to do about this, please let me know. I need step by step instructions cause I'm not really good at all this stuff.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/sessions.php on line 100
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/sessions.php on line 100
Warning: Cannot modify header information - headers already sent by (output started at /tmp/.tmp.err:2) in /var/www/vhosts/sparklespot.com/httpdocs/catalog/admin_new/includes/functions/general.php on line 22
I know that there is nothing wrong with the sessions.php or the general.php because I have replaced both files with new ones and still get these errors. The error must be with the /tmp directory. I've gone into the root directory and looked at the /tmp directory and there is nothing there that says .tmp.err:2. I do see a file with .tmp.err but there's nothing in it. I have searched and searched all over google for a solution to this but can't find anyone with the exact same problem. If anyone knows what to do about this, please let me know. I need step by step instructions cause I'm not really good at all this stuff.