Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.0

Bug #6905 _getCache() function return false
Submitted: 2006-02-23 13:45 UTC
From: fvailleau at sqli dot com Assigned: avb
Status: Closed Package: HTML_Template_Sigma (version 1.1.4)
PHP Version: 4.3.4 OS: Windows, Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-02-23 13:45 UTC] fvailleau at sqli dot com (Fred VAILLEAU)
Description: ------------ In the _getCache() method, you are using the unserialize function which had problem with the \r character. I placed the following ligne before the unserialize call and it works fine : $content = str_replace("\r", "", $content); Here is a post explain the bug : http://fr3.php.net/manual/fr/function.unserialize.php#45347

Comments

 [2006-02-26 18:15 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-05-30 21:37 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!