ckl Posted April 17, 2018 Share Posted April 17, 2018 (edited) Hi A client has an old Cubecart installation V4.4.2 I believe, and he can no longer login here: https://zaknic.com.au/admin.php . See attached image. What do I need do to get the client back up and running again? Cheers & Thanks Mike Edited April 17, 2018 by ckl Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 17, 2018 Share Posted April 17, 2018 Download CubeCart 4.4.8 from https://www.cubecart.com/download. Extract and replace just the index.php and admin.php files. CubeCart has a new licensing model in which enforcement of that license by "phoning home" is no longer performed. Replacing those files will bypass the phone home code. Do not try to actually remove the license, because third-party modules, if any are installed, may be using it. Quote Link to comment Share on other sites More sharing options...
ckl Posted April 17, 2018 Author Share Posted April 17, 2018 (edited) Thanks so much for the assist. I now need to see if malicious files have be uploaded. The site has been sending out 1000's of spam mail the past 24 hours. Despite the replacement files, the following error appears on admin page: Strict Standards: Redefining already defined constructor for class admin_session in /var/www/vhosts/zaknic.com.au/httpdocs/classes/session/cc_admin_session.php on line 41 Also, when I go to any page other than the homepage at www.zaknic.com.au the following message appears: Deprecated: Function eregi() is deprecated in /var/www/vhosts/zaknic.com.au/httpdocs/includes/functions.inc.php on line 406 Any ideas about those? Edited April 17, 2018 by ckl Failure to include other error messages Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 17, 2018 Share Posted April 17, 2018 These errors are a result of the version of PHP being 5.3 or higher (but not PHP7). The ereg() family of functions are removed from PHP7, and warnings about it (deprecated) will be displayed as of PHP5.3. Fortunately, you can tell PHP's error_reporting() function to suppress deprecated messages. Next, please consider if this CC4 installation has any customizations to the code. If not, think about upgrading to the latest version of CC4. These problems and others will be solved. (Give some thought to going all the way to CC6.) Quote Link to comment Share on other sites More sharing options...
ckl Posted April 17, 2018 Author Share Posted April 17, 2018 Again, a big thank you for your help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.