mcrypt: generic_init failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Our website uses mcrypt functions to encrypt and decrypt passwords
stored in the PostgreSQL database.  The website encrypted/decrypted
passwords flawlessly under PHP 4.0.4, however, we recently upgraded the
server that the website is stored on to PHP 4.2.3.

Since then, each time a password is encrypted/decrypted using any of the
mcrypt-functions, the following error displays even though the code was
untouched:

Fatal error: generic_init failed in
/home/httpd/html/domainsunderdevelop/include/class.databaseconnection.php on line 498

Line 498 on class.databaseconnection.php is:
$NewString = mcrypt_cbc( $this->CIPHER, $this->KEY, $RawString, $Mode,
$iv );

We installed libmcrypt 2.4.9 after upgrading PHP to 4.2.3.

If you have any suggestions or ideas, please let me know.


Thanks in advance,
Adelaide

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux