[Tickets #9902] List of installed applications corrupted

bugs at horde.org bugs at horde.org
Wed Apr 13 17:53:47 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9902
------------------------------------------------------------------------------
  Ticket             | 9902
  Created By         | jacob-horde at vindvejr.dk
  Summary            | List of installed applications corrupted
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | check_for_new_versions.png
------------------------------------------------------------------------------


jacob-horde at vindvejr.dk (2011-04-13 17:53) wrote:

I have just upgraded from Horde 3.3 to 4.0. I did a fresh install,  
reconfigured everything and let Horde upgrade the DB schemas.

At some point during the upgrade the application list stopped working  
correctly -- see screenshot. When I click "Check for newer versions",  
I get this error:

Short:

HORDE: HORDE [horde] String could not be parsed as XML [pid 1362 on  
line 127 of "/usr/local/lib/php/Horde/Config.php"]

Long:

-->
A fatal error has occurred

String could not be parsed as XML

1. Horde_Config->checkVersions()  
/var/www/secure/horde4/admin/config/index.php:68
2. SimpleXMLElement->__construct() /usr/local/lib/php/Horde/Config.php:127
Details

The full error message is logged in Horde's log file, and is shown  
below only to administrators. Non-administrative users will not see  
error details.

Exception Object
(
     [message:protected] => String could not be parsed as XML
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /usr/local/lib/php/Horde/Config.php
     [line:protected] => 127
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /usr/local/lib/php/Horde/Config.php
                     [line] => 127
                     [function] => __construct
                     [class] => SimpleXMLElement
                     [type] => ->
                     [args] => Array
                         (
                             [0] => <?xml version="1.0"?><versions>
  <stable>
   <application name="horde">
     <version>4.0</version>
     <url>
                         )

                 )

             [1] => Array
                 (
                     [file] => /var/www/secure/horde4/admin/config/index.php
                     [line] => 68
                     [function] => checkVersions
                     [class] => Horde_Config
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

         )

     [previous:Exception:private] =>
)
<--

I have tried to output the XML it tries to parse (in line 127) - the  
string $xml contains "4.0" at this point. I'm not sure where to look  
for the error.






More information about the bugs mailing list