Bassam45 Posted October 1, 2018 Share Posted October 1, 2018 (edited) 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 68Warning: 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 343Fatal 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 CountableWarning 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 October 1, 2018 by Bassam45 (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted October 2, 2018 Share Posted October 2, 2018 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). Link to comment Share on other sites More sharing options...
jetx Posted October 3, 2018 Share Posted October 3, 2018 Any hosting that doesn't offer multi php should be avoided. Link to comment Share on other sites More sharing options...
Linkarta Posted May 27, 2019 Share Posted May 27, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now