• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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