gzuncompress() ... Data error

Login or register to post comments
1 reply [Last post]
Offline
Joined: 12/30/2009

Hello,

I have been using proves with my application in the localhost and it works fine, but, when I try to publish the files at the server in internet it displays the next message-error:

gzuncompress() [function.gzuncompress]: data error

I have been looking some info about this error but I can't find anything. The code it shows to locate the error is:

if (array_key_exists('qform_' . $intStateIndex, $_SESSION)) {
Line 60:    $strSerializedForm = $_SESSION['qform_' . $intStateIndex];
Line 61:   
Line 62:    // Uncompress (if available)
Line 63:    if (function_exists('gzcompress'))
Line 64:    $strSerializedForm = gzuncompress($strSerializedForm);
Line 65:   
Line 66:    return $strSerializedForm;
Line 67:    } else
Line 68:    return null;

Do you know hhich can be the cause and the solution for this problem???

Offline
Joined: 03/31/2008

I believe that error is thrown when your data is corrupt. Perhaps the way the session works is corrupting the qform data?