Jump to content

back office HTTP 500 internal server error


Bassam45

Recommended Posts

Hi everyone

i unable to log in to my back office, only started this morning! i get blank screen, website works fine only the back office, i am hoping that with your knowledge you can help me

my website back office is https://www.cockpitsimparts.co.uk/cockpitadmin

i have contacted the host and they give me those errors

These are the errors coming from your site 
Deprecated: Function mcrypt_decrypt() is deprecated in /home/cockpits/public_html/classes/Rijndael.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /home/cockpits/public_html/classes/Rijndael.php:68) in /home/cockpits/public_html/classes/Cookie.php on line 343

Fatal error: Declaration of AdminLoginControllerCore::viewAccess() must be compatible with AdminControllerCore::viewAccess($disable = false) in /home/cockpits/public_html/controllers/admin/AdminLoginController.php on line 27

 

 

the debug is on on my website and its reporting this: 

 

Warning on line 539 in file /home/cockpits/public_html/classes/controller/AdminController.php
[2] count(): Parameter must be an array or an object that implements Countable

Warning on line 1813 in file /home/cockpits/public_html/classes/controller/AdminController.php
[2] Cannot modify header information - headers already sent by (output started at /home/cockpits/public_html/classes/Rijndael.php:68)

Warning on line 3258 in file /home/cockpits/public_html/classes/controller/AdminController.php
[2] count(): Parameter must be an array or an object that implements Countable
 

i was on php 5.6 and everything was working fine, however,  my host company upgraded me to php 7! this is when the issue of the back office stared! 

i am really stuck and hope someone can help.

 

many thanks

Sam. 

Edited by Bassam45 (see edit history)
Link to comment
Share on other sites

  • 7 months later...
On 10/2/2018 at 7:36 PM, tuk66 said:

What is your PS version? The latest 1.6.1.20 is compatible with PHP 7.0. Don't use anything newer (7.1 or 7.2).

this really saved my life, i changed the php version back from 7.3 to 7.0 and back office worked fine

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...