• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't get into the admin of my site. Need help!

ShelbyM

New Pleskian
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.
 
I got it solved.

I went into /etc/httpd/conf and the httpd.conf file had been changed.

<FilesMatch "\.(php|php5|php4|htm|html|jsp|shtml|asp|aspx)$">
php_value auto_prepend_file "/tmp/.tmp.err"
</FilesMatch>

I changed the php_value auto_prepend_file to none. Then I did a restart with /etc/init.d/httpd restart.

This brought the site back up.

Does anyone know how that could have changed?
 
Back
Top