Welcome Guest, Not a member yet? Register   Sign In
Encryption Library and Migrating Servers

I recently migrated a client's website to a new server. I use the Encryption library to encrypt data that's stored in a MySQL database. After the migration to the new server, the decryption of the data now fails, returning garbage characters. I use the encryption key stored in the config.php file, so the key hasn't arbitrarily changed. Has anyone encountered a situation like this?

I haven't encountered such a problem before but check for mcrypt library in php installed in new server, check for phpinfo of the server. by default if mcrypt is not available than encrypt class id CI uses base decoding.

Yep. That was it. The old server had mcrypt installed and the new one doesn't. Another thing I have to look for now Smile Thanks.

Theme © iAndrew 2016 - Forum software by © MyBB