When I install Laravel 4, I get this error:
ErrorException unserialize(): Error at offset 0 of 32 bytes C:\xampp\htdocs\blog\laravel\bootstrap\compiled.php return unserialize($this->stripPadding($this->mcryptDecrypt($value, $iv)));
If I modify return as follows:
return unserialize(base64_decode($this->stripPadding($this->mcryptDecrypt($value, $iv))));
Then the error will disappear. But, of course, every time I launch an update for the composer, this change will be undone.
What is the cause of this problem?
I appreciate any help.
Update: This happens when I use Auth :: check ().
Update 2: Now it only works with remote base64_decode (). It looks like the xampp installation has become presumptuous. Jesus!
source share