Get Paid to Participate - up to $1 per post!     Twitter     Facebook
Hosting Discussion

forgot password?



  Post #1 (permalink)   04-21-2002, 03:39 PM
HD Newbie
Join Date: Feb 2002
Location: Ashburn Va.
Posts: 28
Send a message via ICQ to HostingDirect Send a message via AIM to HostingDirect

Status: HostingDirect is offline
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

function crypt_init()
$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);
return $iv;

This the phpinfo to my server

Any ideas what changed in 4.1.2

Hosting Direct, LLC
Intelligent performance based web solutions!
Hosting & Reseller Services -

Last edited by HostingDirect : 04-21-2002 at 03:52 PM.

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: