|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-05-06 18:56 UTC] stefan dot textor at dsi-project dot de
after problemless usage of pear_frontend_Web, i had a few days ago a growing problem with the pear registry: function.unserialize: corruption at offset [bla] i have tested this with the latest packages on pear 1.01 and pear 1.1 and was able to reproduce it. in my opinion it must be a sideeffect of a package released in the last 7 days used by pear installer directly. in the old installation (pear 1.01) i had all stable packages installed and the error should have occured during an upgrade. in the new installation (pear 1.1 out of php 4.3.2rc2 zip package) i had only the basically installed packages and the packages needed for pear_frontend_web. after installation of one or two packages (starting topdown the list) the error occured again. the error is only shown in the comandline installer. the webinstaller does not seem to remark the corrupted registry. sorry for my bad english :( PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
C:\php4>pear list Notice: unserialize(): Error at offset 760 of 1363 bytes in Registry.php on line 327 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 PS I can fix the registry by uninstalling the package using the web interface than installing it again using cli.