PHP Classes

Uninitialized string offset

Recommend this page to a friend!

      Secure hash based encryption  >  All threads  >  Uninitialized string offset  >  (Un) Subscribe thread alerts  
Subject:Uninitialized string offset
Summary:decrypt throws error 'Uninitialized string offset...'
Messages:2
Author:Terry Herckenrath
Date:2007-04-16 12:09:40
Update:2007-06-22 01:20:41
 

  1. Uninitialized string offset   Reply   Report abuse  
Picture of Terry Herckenrath Terry Herckenrath - 2007-04-16 12:09:40
I'm using this class to encrypt RPC data.

Each time the decrypt function is called, it throws this error:

[client 69.59.195.7] PHP Notice: Uninitialized string offset: 0 in /var/www/vhosts/shopshootsmarter.com/subdomains/rpc/httpdocs/include/class.hash_crypt.php on line 117

The decrypted string appears to be fine.

What causes this and what can I do to fix it?

The encrypt function is called using PHP Version 4.4.4.
The decrypt function is called using PHP Version 5.0.4.

Thanks,
Terry

  2. Re: Uninitialized string offset   Reply   Report abuse  
Picture of Marc Wöhlken Marc Wöhlken - 2007-06-22 01:20:41 - In reply to message 1 from Terry Herckenrath
Can you provide some sample script to reproduce this error?

Regards
Marc