detectorman Posted January 15, 2019 Share Posted January 15, 2019 Hi All, Cubecart 6.2.2 I have updated server php from 5.6 to 7.2 Admin login now fails with ioncube PHP loader error so I ran the loader wizard and followed instructions to install new version (7.2) Now when trying to open admin page I get an error 500. php.ini is installed in home directory and ioncube folder namely: zend_extension=/kunden/homepages/16/d87654321/htdocs/folder_name/ioncube/ioncube_loader_lin_7.2.so Any suggestions would be most welcome. Dave Link to comment Share on other sites More sharing options...
bsmither Posted January 15, 2019 Share Posted January 15, 2019 Perhaps it is the case that for PHP 7.2, one needs to update the ionCube loader (which you have done), and also to have the author(s) of encoded module(s) issue updated version(s) that have been encoded for that version of the loader. Link to comment Share on other sites More sharing options...
detectorman Posted January 15, 2019 Author Share Posted January 15, 2019 Thanks bsmither for that quick response. Web page opens OK and unfortunately, as I cannot login to admin, I cannot disable modules. I am tempted to roll back to PHP 5.6 but 1&1 are withdrawing support for this at the end of the month. Dave Link to comment Share on other sites More sharing options...
detectorman Posted January 15, 2019 Author Share Posted January 15, 2019 Update: Reverted back to PHP 5.6 and admin/store now works again. Now to find the culprit. Dave Link to comment Share on other sites More sharing options...
bsmither Posted January 15, 2019 Share Posted January 15, 2019 There is a safe mode on CC620: https://github.com/cubecart/v6/commit/6e05d11bdada55e0d3bd7500e49e9dda7b8c7668 Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 16, 2019 Share Posted January 16, 2019 If you change what version of PHP your account uses (and it is a very good idea to move from PHP 5.6 and go to PHP 7.2 both for security and speed) then you will also need to get PHP 7.2 encoded versions of any plugins you are using. Ensure you download 7.2 encoded versions of all encoded plugins Switch your hosting account to PHP 7.2 Use FTP or other file upload method to overwrite the PHP 5.6 encoded versions of the plugins with the newly download 7.2 versions Ian Link to comment Share on other sites More sharing options...
detectorman Posted January 16, 2019 Author Share Posted January 16, 2019 Thank you both for your help. I disabled all plugins and switched to PHP 7.2. I then switched on each plugin and found that the problem seems to lie with the Multi Level Shipping module. I updated this from v1.03 to v1.04 but problems remained. Subsequently reverted to all-in-one v1.03 and PHP 5.6. Now everything seems to work (checkout etc). but I am not sure how to check compatibility of my plugins. Barclaycard / Paypal / Multi Level Shipping / Crafty Clicks / Print Order Form...and that's it. Dave Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 16, 2019 Share Posted January 16, 2019 33 minutes ago, detectorman said: I then switched on each plugin and found that the problem seems to lie with the Multi Level Shipping module. That might be the first one you came across but any purchased from @Noodleman or from us would be encoded and all would need to be replaced 33 minutes ago, detectorman said: I updated this from v1.03 to v1.04 but problems remained. Subsequently reverted to all-in-one v1.03 and PHP 5.6. It isnt the version of the plugin that is important but which PHP version the files have been encoded for. Unfortunately @Noodleman hasnt updated the marketplace with recent versions and the PHP 5.6 and above version available there wont work. Get the PHP 7.2 version instead from https://www.noodleman.co.uk/downloads.html#multilevel_shipping Link to comment Share on other sites More sharing options...
detectorman Posted January 16, 2019 Author Share Posted January 16, 2019 Thank you once again for your help. YES.....Uploaded PHP 7.2 version of Multi Level Shipping, updated server to PHP7.2 and no more errors. (hopefully) Thanks again Dave Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.