HTTP ERROR 500 can't access admin

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Gidget_NC
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jul 27, 2017 9:15 pm

HTTP ERROR 500 can't access admin

Post by Gidget_NC » Fri Oct 25, 2019 4:56 am

The site is working fine, but when I go to the admin I get an HTTP ERROR 500 message. My hosting company said the following errors are the cause -

25-Oct-2019 01:13:12 UTC] PHP Fatal error: Call to undefined method JAdministrator::setHeader() in /home/site/public_html/libraries/cms/html/behavior.php on line 778
[25-Oct-2019 01:13:18 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/site/public_html/plugins/system/jsecure/jsecure.php on line 19
[25-Oct-2019 01:13:18 UTC] PHP Strict Standards: Non-static method JPlugin::loadLanguage() should not be called statically in /home/site/public_html/plugins/system/jsecure/jsecure.php on line 23
[25-Oct-2019 01:13:18 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/site/public_html/plugins/system/jsecure/jsecure.php on line 40
[25-Oct-2019 01:13:18 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/site/public_html/plugins/system/jsecure/jsecure.php on line 48
[25-Oct-2019 01:13:18 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/site/public_html/plugins/system/jsecure/jsecure.php on line 58
[25-Oct-2019 01:13:18 UTC] PHP Fatal error: Call to undefined method JAdministrator::setHeader() in /home/site/public_html/libraries/cms/html/behavior.php on line 778

Please advise how I can fix this. Thank you!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17439
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: HTTP ERROR 500 can't access admin

Post by toivo » Fri Oct 25, 2019 5:24 am

Did your host happen to upgrade PHP to version 7 before the errors started appearing?

It looks like the website has an old version of jSecure that does not support PHP 7. More than likely you have to ask your host to downgrade PHP until you have an upgrade plan for the Joomla 2.5 site and its third party extensions.

Please post the results from the Forum Post Assistant (FPA) by following the instructions from https://forumpostassistant.github.io/docs/.
Toivo Talikka, Global Moderator


Locked

Return to “Administration Joomla! 2.5”