Bug Report - can’t use more than one user category on a weblog
Posted: 15 September 2008 09:57 AM   [ Ignore ]
Newbie
Rank
Total Posts:  19
Joined  2005-11-30

Hi,

Let you know… came across a bug.  Environment is MSM EE 1.6.4

When more than one user category group is assigned to a weblog, it causes an error:

Notice: unserialize() [function.unserialize]: Error at offset 185 of 20480 bytes in /home/htmladd/public_html/system/db/db.mysql.php on line 548

With debugging turned on, it seems error happens here

/** --------------------------------------- /** Retreive a cached query /** ---------------------------------------*/ function get_cache() { if ( ! @is_dir($this->cache_path)) return false; if ( ! file_exists($this->cache_path.$this->cache_file)) return false; if ( ! $fp = @fopen($this->cache_path.$this->cache_file, 'rb')) return false; flock($fp, LOCK_SH); $cachedata = @fread($fp, filesize($this->cache_path.$this->cache_file)); flock($fp, LOCK_UN); fclose($fp); if ( ! is_string($cachedata)) return FALSE; return unserialize($cachedata); } /* END */

When clearing cache it’s fine but when you run the page again, error comes back.

Profile
 
 
Posted: 15 September 2008 12:19 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  19
Joined  2005-11-30

Never mind, disregard my earlier post - problem started again.  It’s something else.  : -(

Profile