#38928 [NEW]: i am getting unserialize error on 64Bit.

2006-09-22 Thread tsdreddy at gmail dot com
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


#38928 [Fbk->Opn]: i am getting unserialize error on 64Bit.

2006-09-25 Thread tsdreddy at gmail dot com
 ID:   38928
 User updated by:  tsdreddy at gmail dot com
 Reported By:  tsdreddy at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Apache2 related
 Operating System: windows2003
 PHP Version:  4.4.4
 New Comment:

Hi

Pl. note that i am getting problem with unserialize with the data which
is mentioned previous post. it is not manually generated, my application
stores it in db. When i am working large POST/GET/Variables my system
gets hang(particularly my explorer.exe of windows2003).

pl. help me asap. if this problem doen't have any solution. i need to
go back to my 32 bit system.

if you want i can send my db backup.

thanks
reddy


Previous Comments:


[2006-09-25 07:08:07] [EMAIL PROTECTED]

Please provide SHORT but COMPLETE reproduce script.
Avoid posting huge scripts.



[2006-09-23 18:20:41] tsdreddy at gmail dot com

CONTINUITION OF PREVIOUS POST 
Code :
unserialize($perms);

Error :
unserialize(): Error at offset 24750 of 83074 bytes 

And php getting crash/hang when we are working with large data like
large imports/exports @ phpmyadmin.

i have checked it @
windows003/apache2/mysql-4.0.26-win32/IIS6.0/php-4.4.4

Pl. help me regarding this

thanks



[2006-09-22 17:10:55] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




[2006-09-22 16:50:44] tsdreddy at gmail dot com

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 this bug report at http://bugs.php.net/?id=38928&edit=1


#38928 [Fbk->Opn]: i am getting unserialize error on 64Bit.

2006-09-25 Thread tsdreddy at gmail dot com
 ID:   38928
 User updated by:  tsdreddy at gmail dot com
 Reported By:  tsdreddy at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Apache2 related
 Operating System: windows2003
 PHP Version:  4.4.4
 New Comment:

hi 
thanks for the quick feeback.
here i am trying to explain my problem indetails

1. i am using MercuryBoard(http://www.mercuryboard.com) which is
developed in php/mysql
2. It is working fine in 32Bit windows  and Linux based system.
3. Now i want to upgrade all my servers to new Pentinum Duo Core
processor /windows2003
4. When i was in trial drive of my website i am getting an error @
unserialize operation. and it is getting hang when there is any large
data operations POSTing/Saving/Regtrieving data.This is happening both
on IIS6 and Apache2.0

Below is the code where i was getting unserialize error:
unserialize($perms);
Error :
unserialize(): Error at offset 24750 of 83074 bytes

where $prems is a varibale retrieved from database.
i have mentioned $perms value in previous mail. $perms always have very
big string value.literally it has all settings of the board. 

thanks in advance
reddy


Previous Comments:


[2006-09-25 07:23:47] [EMAIL PROTECTED]

No, thank you, we don't need a DB backup.
Please provide a short but complete reproduce script instead.



[2006-09-25 07:20:22] tsdreddy at gmail dot com

Hi

Pl. note that i am getting problem with unserialize with the data which
is mentioned previous post. it is not manually generated, my application
stores it in db. When i am working large POST/GET/Variables my system
gets hang(particularly my explorer.exe of windows2003).

pl. help me asap. if this problem doen't have any solution. i need to
go back to my 32 bit system.

if you want i can send my db backup.

thanks
reddy



[2006-09-25 07:08:07] [EMAIL PROTECTED]

Please provide SHORT but COMPLETE reproduce script.
Avoid posting huge scripts.



[2006-09-23 18:20:41] tsdreddy at gmail dot com

CONTINUITION OF PREVIOUS POST 
Code :
unserialize($perms);

Error :
unserialize(): Error at offset 24750 of 83074 bytes 

And php getting crash/hang when we are working with large data like
large imports/exports @ phpmyadmin.

i have checked it @
windows003/apache2/mysql-4.0.26-win32/IIS6.0/php-4.4.4

Pl. help me regarding this

thanks



[2006-09-22 17:10:55] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38928

-- 
Edit this bug report at http://bugs.php.net/?id=38928&edit=1


#38928 [Bgs]: i am getting unserialize error on 64Bit.

2006-09-25 Thread tsdreddy at gmail dot com
 ID:   38928
 User updated by:  tsdreddy at gmail dot com
 Reported By:  tsdreddy at gmail dot com
 Status:   Bogus
 Bug Type: Apache2 related
 Operating System: windows2003
 PHP Version:  4.4.4
 New Comment:

This rediculus. what r u thing about a user of php.why do u set my post
as a bogus. i was given mercury board as an explample. i am getting the
problem with my same code. if you don't want to give any support good.
tell the same thing. don't play with any developed . i am sure i will
make a complaint on u.

thanks
reddy


Previous Comments:


[2006-09-25 07:42:41] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Please report the problem to MercuryBoard developers.



[2006-09-25 07:34:06] tsdreddy at gmail dot com

hi 
thanks for the quick feeback.
here i am trying to explain my problem indetails

1. i am using MercuryBoard(http://www.mercuryboard.com) which is
developed in php/mysql
2. It is working fine in 32Bit windows  and Linux based system.
3. Now i want to upgrade all my servers to new Pentinum Duo Core
processor /windows2003
4. When i was in trial drive of my website i am getting an error @
unserialize operation. and it is getting hang when there is any large
data operations POSTing/Saving/Regtrieving data.This is happening both
on IIS6 and Apache2.0

Below is the code where i was getting unserialize error:
unserialize($perms);
Error :
unserialize(): Error at offset 24750 of 83074 bytes

where $prems is a varibale retrieved from database.
i have mentioned $perms value in previous mail. $perms always have very
big string value.literally it has all settings of the board. 

thanks in advance
reddy



[2006-09-25 07:23:47] [EMAIL PROTECTED]

No, thank you, we don't need a DB backup.
Please provide a short but complete reproduce script instead.



[2006-09-25 07:20:22] tsdreddy at gmail dot com

Hi

Pl. note that i am getting problem with unserialize with the data which
is mentioned previous post. it is not manually generated, my application
stores it in db. When i am working large POST/GET/Variables my system
gets hang(particularly my explorer.exe of windows2003).

pl. help me asap. if this problem doen't have any solution. i need to
go back to my 32 bit system.

if you want i can send my db backup.

thanks
reddy



[2006-09-25 07:08:07] [EMAIL PROTECTED]

Please provide SHORT but COMPLETE reproduce script.
Avoid posting huge scripts.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38928

-- 
Edit this bug report at http://bugs.php.net/?id=38928&edit=1