Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use this with the aes compatibility module and backup and migrate module with library (status page OKs it) and key installed. When making an AES encrypted backup I get this error.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2859510-2.patch | 899 bytes | rlhawk |
Comments
Comment #2
rlhawkThe module is trying to throw an exception from the PHP Encryption library, but the cause of the exception is that the PHP Encryption library isn't available. Here's a patch that changes the exception to a generic PHP Exception.
Comment #3
ñull CreditAttribution: ñull as a volunteer commentedYes, now it says:
I downloaded version 1.2.1 from github in a tar.gz file and installed its file tree in sites/all/libraries/php-encryption. Status page confirms that it is installed. So what am I doing wrong?
I tried different versions. The one referred to in README, this version 1.2.1 as referred to in one of the issues, and https://www.drupal.org/node/2727047#comment-11209741 I read that from 7.x-1.2 on version 2 should be compatible, so I tried 2.0.3 and now 2.0.0. All give the same error.
Comment #4
rlhawkThe PHP Encryption library that you need to use is not tagged. It is a very specific download, as mentioned in the Real AES documentation. Unfortunate, but that's how it is.
Comment #6
rlhawkSince the exception that gets thrown is now correct, I'm going to mark this issue as fixed. If you continue to have trouble, create a new support request issue.