livetech Posted July 24, 2015 Share Posted July 24, 2015 Hi All,Just upgraded to the latest Cubecart. Was on 5.2.2 and now the latest version 6.When we choose Pay by credit card and then Continue, the page goes white and nothing happens. It hangs at http://www.storeurl.com/store/index.php?_a=gatewayWhat could be wrong, and how do we fix it?CheersGrant Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 24, 2015 Share Posted July 24, 2015 Please check the PHP error log. The most likely reason is that PHP hasn't been compiled with mcrypt which is required for AES encryption in SagePay. Quote Link to comment Share on other sites More sharing options...
livetech Posted July 24, 2015 Author Share Posted July 24, 2015 Hi Al,Where would I find that?The Error log in cPanel is blank.In the Cubecart admin area there is a section for Error Log, but nothing in there relating to this?CheersGrant If I search for "mycrypt" in the PHPInfo section in the admin area no results are returned...Is this something that needs to be enabled for Cubecart Sagepay to work? Quote Link to comment Share on other sites More sharing options...
livetech Posted July 24, 2015 Author Share Posted July 24, 2015 Hi All, Found the MyCrypt stuff on php info - It says it is enabled... mcrypt supportenabledmcrypt_filter supportenabledVersion2.5.8Api No20021217Supported cipherscast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledesSupported modescbc cfb ctr ecb ncfb nofb ofb stream Quote Link to comment Share on other sites More sharing options...
livetech Posted July 24, 2015 Author Share Posted July 24, 2015 Ok, battling away with this.I found another post that said I should create a ini-custom.inc.php file and that this would then log the errors.It seems to have worked and this is the single error that is logged.[24-Jul-2015 13:37:49 UTC] PHP Fatal error: Call to undefined function randomPass() in /xxxxxx/cxxxxxx/public_html/store/modules/gateway/SagePay/gateway.class.php on line 15Means not a lot to me, what does it mean and how do we fix it?CheersGrant Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 24, 2015 Share Posted July 24, 2015 Looks like you are using a SagePay module from an incompatibe version of CubeCart.Use this one: https://www.cubecart.com/extensions/payment-gateways/sagepay-form (1.0.2) Quote Link to comment Share on other sites More sharing options...
livetech Posted July 24, 2015 Author Share Posted July 24, 2015 Hi Al,OK, so the auto upgrade process does not upgrade the Sagepay module Which was the starting point for upgrading so the V3 Sagepay works.But - clicked on the link you have posted - installed via the Token system and things seem to be working now. Excellent - many thanks Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 24, 2015 Share Posted July 24, 2015 The upgrade instructions tell you to delete the modules folder completely. After upgrade modules need to be reinstalled. Quote Link to comment Share on other sites More sharing options...
livetech Posted July 24, 2015 Author Share Posted July 24, 2015 Sorry, must have missed that. I just hit the Upgrade Button and clicked Continue a few times Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 24, 2015 Share Posted July 24, 2015 No need to be sorry. The process can't be clear. If it were issues like this wouldn't arise. Always room for improvement. 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.