Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Call to undefined function mcrypt_encrypt() in
Author « Topic »  

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 12/16/2018 :  02:10:40  
Hello

My host has recently updated the PHP version and I now get the following error when customers go to the sagepay cart. I'd really appreciate any help you can offer.

I have checked the dbcon file and the includes.php file for old syntax and this is all correct. I think it works with the paypal processor but not sagepay.

Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php:3363 Stack trace: #0 /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php(3367): encryptAes('VendorTxCode=42...', 'kAuEnycVhi9r4NL...') #1 /customers/0/b/d/1st-take.com/httpd.www/cart.php(9): include('/customers/0/b/...') #2 {main} thrown in /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php on line 3363

Andy
ECT Moderator

95440 Posts

Posted - 12/16/2018 :  02:16:44  
Hi

First thing I would do is download the latest Sagepay files from https://www.ecommercetemplates.com/free_downloads.asp and try those.

Andy

Please feel free to review / rate our software

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 12/16/2018 :  02:38:30  
Thanks for getting back to me on a Sunday Andy, much appreciated.

I've just tried that but unfortunately I still receive the following error.

Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php:3363 Stack trace: #0 /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php(3367): encryptAes('VendorTxCode=42...', NULL) #1 /customers/0/b/d/1st-take.com/httpd.www/cart.php(9): include('/customers/0/b/...') #2 {main} thrown in /customers/0/b/d/1st-take.com/httpd.www/vsadmin/inc/inccart.php on line 3363

Any ideas?

Andy
ECT Moderator

95440 Posts

Posted - 12/16/2018 :  02:49:15  
What version is the store running as many be worth updating particularly of it's out of date.

Andy

Please feel free to review / rate our software

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 12/16/2018 :  05:46:50  
Hi Andy

It's on version 7.0.1.

I updated it quite recently.

Any other ideas?

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 12/16/2018 :  06:20:59  
Hi Alan,
That error shouldn't be occurring on that version, can you let us know what you have on line 3363 of vsadmin/inc/inccart.php please?





* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000