From: tsdreddy at gmail dot com
Operating system: windows2003
PHP version: 4.4.4
PHP Bug Type: Apache2 related
Bug description: i am getting unserialize error on 64Bit.
Description:
------------
Hi
i am using php4.4.4/windows2003/64-bit os. i am getting unserialize()
error. the sam program and database is working fine in my old 32-bit
system. Pl. help me regarding this
thanks
reddy
Reproduce code:
---------------
if (!$perms) {
if ($group != -1) {
$data = $this->db->fetch("SELECT group_perms
FROM {$this->pre}groups
WHERE group_id={$group}");
$perms = $data['group_perms'];
} else {
$data = $this->db->fetch("SELECT user_perms,
user_group FROM
{$this->pre}users WHERE user_id={$user}");
$perms = $data['user_perms'];
$group = $data['user_group'];
}
}
$this->cube = unserialize($perms);
if (!$this->cube) {
$this->cube = $this->standard;
}
--
Edit bug report at http://bugs.php.net/?id=38928&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38928&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38928&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38928&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38928&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38928&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38928&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38928&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38928&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38928&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38928&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38928&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38928&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38928&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38928&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38928&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38928&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38928&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38928&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38928&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38928&r=mysqlcfg