Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem with Connect after restore after failed upgrade
 
hackin8
Jr. Member
 
Total Posts:  4
Joined:  2012-10-19
 

Hoping someone can help - at least point me in right direction........

Started with 1.5 - trying to upgrade through connect gave “already installed” problem that seems to be very common in various threads. After reading several posts decided to try upgrading by ssh using diff files.  This totally broke all system - unrecoverable. 

So restored all vhost files from a backup (Using Plesk restore).

Now mostly working - but Magento Connect fails with the following error repeated four times:

*************** *** 20,26 **** * * @category Mage * @package Mage_Connect - * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ --- 20,26 ---- * * @category Mage * @package Mage_Connect + * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */

It does appear to work by going direct to (for example) /downloader/index.php?A=settings, but /downloader/index.php?A=connectPackages seems to work - but lists the same copyright information instead of the extensions?

Front end almost works perfectly - just a couple of image files missing on a couple of products - not a major concern but entioning incase it helps diagnose.

Thanks in advance - any help appreciated.

ADDED:

In case it helps - system.log shows:  (Domain changed to XXX.COM)

2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: Entity: line 67: parser error : Extra content at the end of the document in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php$
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: <config> in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: ^ in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: Entity: line 39: parser error : XML declaration allowed only at the start of the document in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Sim$
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: <?xml version="1.0"?> in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]:  ^ in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: Entity: line 66: parser error : Extra content at the end of the document in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php$
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: <config> in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: ^ in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: Entity: line 39: parser error : XML declaration allowed only at the start of the document in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Sim$
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: <?xml version="1.0"?> in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]:  ^ in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: Entity: line 66: parser error : Extra content at the end of the document in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php$
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: <config> in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510
2012-10-31T22:25:23+00:00 ERR (3): Warning: simplexml_load_string() [<a href=’function.simplexml-load-string’>function.simplexml-load-string</a>]: ^ in /var/www/vhosts/XXX.COM/httpdocs/lib/Varien/Simplexml/Config.php on line 510

Any help appreciated

 
Magento Community Magento Community
Magento Community
Magento Community
 
kalenjordan
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2011-10-31
Pasadena, CA
 

Hey @hackin8, that error message would indicate that an XML file is not being parsed.  I know, a nice “Cannot parse path/to/file.xml” would be convenient wouldn’t it?  What I would normally do is set a breakpoint at the point in Varien/Simplexml/Config.php where it’s failing so you can see which xml file has the problem.

Do you know whether you have any core file modifications?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top