I am having a very strange mcrypt problem since I upgraded to PHP 4.1.2. When I try to log into my program looks like I get logged in but I get the following error over and over.
Warning: key size is 0 in /home/virginia/public_html/inc/generic.php on line 399
Warning: mcrypt_generic_init: Key length incorrect in /home/virginia/public_html/inc/generic.php on line 399
$td = mcrypt_module_open (MCRYPT_CAST_256, "", MCRYPT_MODE_ECB, "");
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
This the phpinfo to my server http://hdllc.net/tools/phpinfo.php
Any ideas what changed in 4.1.2