I was having difficulty with a Joomla! site and decided to move it to another server for testing. The Akeeba backup I had would not fully extract for some reason (a large backup file included in the backup), so I downloaded all 30k+ files manually via FTP and uploaded them directly to the new server. I, also, backed up the database via phpMyAdmin and restored it to the new server.
When I access the front-end of the website, everything loads and works as it should. However, when I access the administrator
, I receive the following message after logging in:
Failed to start the session because headers have already been sent by "/home/userfolder/public_html/plugins/system/statusindicator/statusindicator.php" at line 169.
I cannot access any administrator
pages after logging in. I've tried installing the Joomla! core over the top and that did not fix it. I've, also, tried resetting the db credentials and that did not fix it.
What could be the issue causing this error?
hosts
file.#__extensions
table and setenabled
to0
forplg_statusindicator
. Then try accessing the page again. If it works, re-enabled it.ob_start()
or similar output buffer technique to allow the header, then feel free to post an educational answer and mark that with the big green tick. However, I feel that the best solution is to manually shift the lines of code that precedesession_start()
to alleviate the issue...session_start()
is always recommended to be the first line of code (following<?php
) on any script that intends to use or maintain session data.