Re: Unserialize stopped working after php & db upgrade
| From: | Paul Nicholson | Date: | Wed, 18 Sep 2002 19:06:57 +0000 |
| Subject: | Re: Unserialize stopped working after php & db upgrade | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116788@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
There must be an error in the serialized strings....would you mind posting
one for us to look at? How about posting some code?
~Pauly
On Wednesday 18 September 2002 02:02 pm, you wrote:
> Hi folks
>
> Bit of a major panic - any help MUCH appreciated.
>
> I have been storing serialized arrays in MySQL Gemini tables without
> any problems.
>
> But with Gemini looking more and more like a dead duck, I decided to
> take the server down and port from Gemini to InnoDB. I also took the
> opportunity to upgrade from php 4.1 to php 4.2.2
>
> Now, when I run unserialize( ) on the serialized arrays, the strings
> are being returned unchanged. No error - they are simply passing
> through unserialize( ) without being altered.
>
> It is not a backslash issue, as there are no escaped characters in the
> strings affected, nor are the strings urlencoded.
>
> I have no idea how to go about fixing this and I am under serious
> pressure to get the server back up ASAP - so I am very much hoping
> that to get a response from the list.
- --
~Paul Nicholson
Design Specialist @ WebPower Design
"The web....the way you want it!"
paul@webpowerdesign.net
"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9iM4vDyXNIUN3+UQRAmhGAJ9jAX88mO1F7MvFPTy/cB0jNf5d0ACeIaDb
jOLego6+k2mIcplJ3y9uUNs=
=a4Br
-----END PGP SIGNATURE-----