RE: [PEAR-DEV] Re[4]: [SOAP] Re[2]: [PEAR-DEV] SMTP SOAP Server problems

From: Date: Tue, 27 May 2003 00:33:51 +0000
Subject: RE: [PEAR-DEV] Re[4]: [SOAP] Re[2]: [PEAR-DEV] SMTP SOAP Server problems
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16734@lists.php.net to get a copy of this message
also RE: [PEAR-DEV] Help needed, weird bug with the PEAR frontends > > By the way, I have no time to check if it's my fault or not, but > > setting the prefered state to any other state than "stable" breaks my > > PEAR Web Installer running on Windows XP with PHP 4.2.0... > > Cannot comment on Windows, fortunately I do not need to use that OS at home or > at work (only Solaris/Irix/AIX/etc.). Check on bugs.php.net to see if there is > a bug report on that respect, and if not, then submit one. > > Before submitting a bug, make sure you have the latest PEAR (1.1 stable > currently). > > > ===== > --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Summary; I don't think this is a problem with latest release but RE: [PEAR-DEV] Help needed, weird bug with the PEAR frontends still is a problem (skip to end for my diagnosis). PEAR 1.1 stable Win2k SP3 PHP 4.3.2RC4 Change preferred_state to and from various states (eg from stable to snapshot) in cli or via web interface and web interface still works fine for me. RE: [PEAR-DEV] Help needed, weird bug with the PEAR frontends After adding a package in the Web interface going back to cli >pear list gives; ================8<===================8<=========== Notice: unserialize(): Error at offset 35002 of 42181 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 723 of 2162 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 404 of 1455 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 664 of 1769 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 870 of 1366 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 838 of 2860 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 5991 of 6795 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 8451 of 8797 bytes in Registry.php on line 327 Notice: unserialize(): Error at offset 760 of 1363 bytes in Registry.php on line 327 INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Benchmark 1.2.1 stable DB 1.4.0 stable HTML_QuickForm 3.0Beta2 beta HTML_TreeMenu 1.1.6 stable Mail 1.0.2 stable Net_SMTP 1.2.3 stable Net_Socket 1.0.1 stable PHPUnit 0.6.1 stable XML_HTMLSax 0.9.0rc2 beta XML_Parser 1.0.1 stable ================8<===================8<=========== Dowloaded and Installed php4-win32-STABLE-200305262030.zip from snaps.php.net C:\php4>php -v PHP 4.3.3-dev (cgi-fcgi), Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies C:\php4>cli/php -v PHP 4.3.3-dev (cli) (built: May 26 2003 22:17:25) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies Var_Dump shows as installed in the HTML (Web) PEAR Package Manager but "pear list" still gives the unserialize() error as before. Adding and removing packages in either the cli or web interface works fine. Everything seems to be fine in the web interface, pear list in the cli is borked. ================8<===================8<=========== Now completly removed php4 and did a complete install from scratch using php4-win32-STABLE-200305262030.zip ================8<===================8<=========== C:\php4>pear install pear_frontend_web downloading PEAR_Frontend_Web-0.2.2.tgz ... ...done: 32,248 bytes requires package `Net_UserAgent_Detect' requires package `Pager' requires package `HTML_Template_IT' PEAR_Frontend_Web: dependencies failed C:\php4>pear install net_useragent_detect downloading Net_UserAgent_Detect-1.0.tgz ... ...done: 7,699 bytes install ok: Net_UserAgent_Detect 1.0 C:\php4>pear install pager downloading Pager-1.0.7.tgz ... ...done: 4,591 bytes install ok: Pager 1.0.7 C:\php4>pear install html_template_it downloading HTML_Template_IT-1.1.tgz ... ...done: 18,563 bytes install ok: HTML_Template_IT 1.1 C:\php4>pear install pear_frontend_web downloading PEAR_Frontend_Web-0.2.2.tgz ... ...done: 32,248 bytes RELEASE WARNINGS ================ install ok: PEAR_Frontend_Web 0.2.2 C:\php4>pear list INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.0 stable Console_Getopt 1.0 stable DB 1.4.0 stable HTML_Template_IT 1.1 stable Mail 1.0.2 stable Net_SMTP 1.2.3 stable Net_Socket 1.0.1 stable Net_UserAgent_Detect 1.0 stable PEAR 1.1 stable PEAR_Frontend_Web 0.2.2 beta PHPUnit 0.6.1 stable Pager 1.0.7 stable XML_Parser 1.0.1 stable XML_RPC 1.0.4 stable C:\php4> ================8<===================8<=========== now run the web installer and cli "pear list" is still OK Installed Var_Dump using the web installer and cli "pear list" is borked; ================8<===================8<=========== C:\php4>pear list Notice: unserialize(): Error at offset 760 of 1363 bytes in Registry.php on line 327 INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.0 stable Console_Getopt 1.0 stable DB 1.4.0 stable HTML_Template_IT 1.1 stable Mail 1.0.2 stable Net_SMTP 1.2.3 stable Net_Socket 1.0.1 stable Net_UserAgent_Detect 1.0 stable PEAR 1.1 stable PEAR_Frontend_Web 0.2.2 beta PHPUnit 0.6.1 stable Pager 1.0.7 stable XML_Parser 1.0.1 stable XML_RPC 1.0.4 stable C:\php4> ================8<===================8<=========== (Change preferred_state to and from various states (eg from stable to snapshot) in cli or via web interface and web interface still works fine for me). Error relates to unserialize() of "Var_Dump.reg"; offset 760 is around; s:11:"description";s:360:"Displays informations about the ... are printed.";s:11:"maintainers"; ^here I count 364 characters for this string. There are 4 lines in this string it includes 4 0x0d0x0A pairs The .reg files created by cli pear install have 0x0a for line feeds. Is there something wrong with the way the web interface serializes line feeds? Regards Andrew Braund

« previous php.pear.dev (#16734) next »