Notice: unserialize()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swatipatil05
    New Member
    • Jan 2012
    • 3

    Notice: unserialize()

    The question is related to drupal webform encryption/decryption.

    I am using drupal 7 to set my site.Doing one form to collect information from user.Where i am using web form for this and one of the field or component i want to encrypt and save in to database and in web form results in submission section it has to show original value to show prevailed user.I used webform encrypt module and it did the job for encrypting and saving string in to DB but in the results i did not see the orignal values.

    After that issue i searched and there i find one solution in form of function and it requested to replace that function in module file of webform_encrypt and i did that.

    Replacement results in output that in webform results showing me the original value. But on the Results page there are notices occurred about the Universalize() function. And that notices related to the encrypt module which is required module for webform_encrypt .

    Notices are like:Notice: unserialize() [function.unseri alize]: Error at offset 0 of 3 bytes in _encrypt_decryp t() (line 177 of C:\xampp\...... .........sites\ all\modules\enc rypt\includes\e ncrypt.crypt.in c).

    The function that i replaced to alter render last function in module file...i attached here.

    These are more than 5 or 6 times occurred in the page.
    So what is solution for this problem........ ..anyone??

    I will thankful for that..
    Attached Files
Working...