Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86072 invoked by uid 1010); 11 Sep 2004 16:05:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86033 invoked from network); 11 Sep 2004 16:05:11 -0000 Received: from unknown (HELO air638.startdedicated.com) (69.64.38.41) by pb1.pair.com with SMTP; 11 Sep 2004 16:05:11 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by air638.startdedicated.com (Postfix) with ESMTP id 4C233294316; Sat, 11 Sep 2004 11:00:23 -0500 (CDT) Received: from air638.startdedicated.com ([127.0.0.1]) by localhost (air638.startdedicated.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23486-06; Sat, 11 Sep 2004 11:00:23 -0500 (CDT) Received: from [192.168.11.2] (66-65-38-153.nyc.rr.com [66.65.38.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by air638.startdedicated.com (Postfix) with ESMTP id C9D70294312; Sat, 11 Sep 2004 11:00:22 -0500 (CDT) Message-ID: <41432234.7050503@php.net> Date: Sat, 11 Sep 2004 12:05:08 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nuno Lopes Cc: PHPdev , Marcus Boerger References: <009201c49765$f4d494c0$0100a8c0@pc07653> <158434281.20040910233218@marcus-boerger.de> <00e801c49816$09076ac0$0100a8c0@pc07653> In-Reply-To: <00e801c49816$09076ac0$0100a8c0@pc07653> Content-Type: multipart/mixed; boundary="------------090305070502000704090307" X-Virus-Scanned: by amavisd-new at bluga.net Subject: Re: [PHP-DEV] unserialize() and pear From: cellog@php.net (Greg Beaver) --------------090305070502000704090307 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Nuno Lopes wrote: > Hello Marcus, > > PHP prints an error for every file in /usr/local/lib/php/.registry > One of those files: http://testes.aborla.net/pear.reg > > prints: > "Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on > line 5" This file is truncated, please verify that it indeed does not start with a:{ A valid .reg file (for the Cache package) is attached, perhaps you could use it to test unserialize on your end. I suspect something happened and a program ate something from your PEAR installation. Greg --------------090305070502000704090307 Content-Type: text/plain; name="cache.reg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="cache.reg.txt" a:13:{s:8:"provides";a:0:{}s:8:"filelist";a:19:{s:9:"Cache.php";a:4:{s:4:= "role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"0907fd6= e62afac15fd49004fc8f87531";s:12:"installed_as";s:35:"C:\Program Files\php= \pear\Cache.php";}s:15:"Application.php";a:4:{s:4:"role";s:3:"php";s:14:"= baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"961109c1150fa2c591d489d09a= 482c1a";s:12:"installed_as";s:47:"C:\Program Files\php\pear\Cache\Applica= tion.php";}s:13:"Container.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinsta= lldir";s:5:"Cache";s:6:"md5sum";s:32:"de8b04fb0b7718bb82902d89eb40db85";s= :12:"installed_as";s:45:"C:\Program Files\php\pear\Cache\Container.php";}= s:6:"DB.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";= s:6:"md5sum";s:32:"8858357777f9d79c18f56e544fd3bda9";s:12:"installed_as";= s:38:"C:\Program Files\php\pear\Cache\DB.php";}s:9:"Error.php";a:4:{s:4:"= role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"cf5f= f11a4b03b492ff83a112053c68b0";s:12:"installed_as";s:41:"C:\Program Files\= php\pear\Cache\Error.php";}s:12:"Function.php";a:4:{s:4:"role";s:3:"php";= s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"5067874709b31f699109= 0f9a623cde6c";s:12:"installed_as";s:44:"C:\Program Files\php\pear\Cache\F= unction.php";}s:12:"Graphics.php";a:4:{s:4:"role";s:3:"php";s:14:"baseins= talldir";s:5:"Cache";s:6:"md5sum";s:32:"4c32296f6589a6acac526168b1b77985"= ;s:12:"installed_as";s:44:"C:\Program Files\php\pear\Cache\Graphics.php";= }s:16:"HTTP_Request.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";= s:5:"Cache";s:6:"md5sum";s:32:"5bf41e4e9806e7bd3352202010b6205a";s:12:"in= stalled_as";s:48:"C:\Program Files\php\pear\Cache\HTTP_Request.php";}s:10= :"Output.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache"= ;s:6:"md5sum";s:32:"fec392bdeffe859ceea6827862a0d8d2";s:12:"installed_as"= ;s:42:"C:\Program Files\php\pear\Cache\Output.php";}s:21:"OutputCompressi= on.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"= md5sum";s:32:"096dffd59f720666014f4b475712eeaa";s:12:"installed_as";s:53:= "C:\Program Files\php\pear\Cache\OutputCompression.php";}s:16:"Container/= db.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"= md5sum";s:32:"4bee336dcb776eb49a438bc43efa9539";s:12:"installed_as";s:48:= "C:\Program Files\php\pear\Cache\Container\db.php";}s:17:"Container/dbx.p= hp";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5s= um";s:32:"24a825e7b306e80c33e80e38c2c6f207";s:12:"installed_as";s:49:"C:\= Program Files\php\pear\Cache\Container\dbx.php";}s:17:"Container/mdb.php"= ;a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum"= ;s:32:"0bf176516a288a2bc97947ecb99107d0";s:12:"installed_as";s:49:"C:\Pro= gram Files\php\pear\Cache\Container\mdb.php";}s:30:"Container/mdb_cache_s= chema.xml";a:4:{s:4:"role";s:4:"data";s:14:"baseinstalldir";s:5:"Cache";s= :6:"md5sum";s:32:"f769958f25c4b7d56835c7366392dad4";s:12:"installed_as";s= :61:"C:\Web Pages\chiara\pear\Cache\Container\mdb_cache_schema.xml";}s:18= :"Container/file.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5= :"Cache";s:6:"md5sum";s:32:"8a2c816f639fec7a8f5b06f843b3c537";s:12:"insta= lled_as";s:50:"C:\Program Files\php\pear\Cache\Container\file.php";}s:22:= "Container/msession.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";= s:5:"Cache";s:6:"md5sum";s:32:"bcac46a48655bafa2db66cab5c5a085e";s:12:"in= stalled_as";s:54:"C:\Program Files\php\pear\Cache\Container\msession.php"= ;}s:20:"Container/phplib.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstall= dir";s:5:"Cache";s:6:"md5sum";s:32:"85eea28e98ec4d6b9f27c8fee46d8e1f";s:1= 2:"installed_as";s:52:"C:\Program Files\php\pear\Cache\Container\phplib.p= hp";}s:17:"Container/shm.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstall= dir";s:5:"Cache";s:6:"md5sum";s:32:"b4c92b8a9281ab613f671f08178a6c0e";s:1= 2:"installed_as";s:49:"C:\Program Files\php\pear\Cache\Container\shm.php"= ;}s:7:"dirtree";a:5:{s:25:"C:\Program Files\php\pear";b:1;s:31:"C:\Progra= m Files\php\pear\Cache";b:1;s:41:"C:\Program Files\php\pear\Cache\Contain= er";b:1;s:40:"C:\Web Pages\chiara\pear\Cache\Container";b:1;s:40:"C:\Web = Pages\chiara\pear\\CacheContainer";b:1;}}s:7:"package";s:5:"Cache";s:7:"s= ummary";s:40:"Framework for caching of arbitrary data.";s:11:"description= ";s:151:"With the PEAR Cache you can cache the result of certain function= calls, as well as the output of a whole script run or share data between applications.";s:11:"maintainers";a:3:{i:0;a:4:{s:6:"handle";s:6:= "chregu";s:4:"name";s:17:"Christian Stocker";s:5:"email";s:14:"chregu@php= =2Enet";s:4:"role";s:4:"lead";}i:1;a:4:{s:6:"handle";s:9:"sebastian";s:4:= "name";s:18:"Sebastian Bergmann";s:5:"email";s:24:"sb@sebastian-bergmann.= de";s:4:"role";s:4:"lead";}i:2;a:4:{s:6:"handle";s:2:"uw";s:4:"name";s:10= :"Ulf Wendel";s:5:"email";s:20:"ulf.wendel@phpdoc.de";s:4:"role";s:9:"dev= eloper";}}s:7:"version";s:5:"1.5.3";s:12:"release_date";s:10:"2003-02-19"= ;s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stab= le";s:13:"release_notes";s:229:"- Added Lorenzo Alberton's MDB_Container - added max_userdata_filelength as option to file container - added (optional) filelocking to file container (by dave winer) - fixes in errorchecking and garbage collection in db container";s:12:"re= lease_deps";a:1:{i:1;a:3:{s:4:"type";s:3:"pkg";s:3:"rel";s:3:"has";s:4:"n= ame";s:12:"HTTP_Request";}}s:13:"_lastmodified";i:1070488922;} --------------090305070502000704090307--