|
I’ve been trying to customize app/design/frontend/default/default/etc/config.xml in order to insert my meta info and site title. Well I tried to update the site title and got this error:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 52: parser error : Extra content at the end of the document in /home/punkshir/public_html/dev/lib/Varien/Simplexml/Config.php on line 314
Then it goes through about 20 more errors, probably the snowball effect.
I made sure that I was ONLY editing the title and not accidentally deleting anything else. Every time I attempt to change the title I get the error if I go beyond a certain amount of characters. Anyone else have this problem or know why its happening? Here is my config.xml:
<?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * @category design_default * @package Mage * @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ --> <config> <page> <head> <title>Punk Shirts</title> <media_type>text/html</media_type> <charset>utf8</charset> <description>Default Description</description> <keywords>Magento, Varien, E-commerce</keywords> <robots>*</robots> </head> <header> <logo_src>images/logo.gif</logo_src> <logo_alt>Magento Commerce</logo_alt> <welcome>Default welcome msg!</welcome> </header> <footer> <copyright><![CDATA[© 2007 Magento Demo Store. All Rights Reserved.]]></copyright> </footer> </page>
<themes> <default>
</default>
<xmas> <fallback_theme>default</fallback_theme> </xmas> </themes> </config>
Here is what I tried to change it to :
<?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * @category design_default * @package Mage * @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ --> <config> <page> <head> <title>Punk Shirts - PunkShirts.Net</title> <media_type>text/html</media_type> <charset>utf8</charset> <description>Default Description</description> <keywords>Magento, Varien, E-commerce</keywords> <robots>*</robots> </head> <header> <logo_src>images/logo.gif</logo_src> <logo_alt>Magento Commerce</logo_alt> <welcome>Default welcome msg!</welcome> </header> <footer> <copyright><![CDATA[© 2007 Magento Demo Store. All Rights Reserved.]]></copyright> </footer> </page>
<themes> <default>
</default>
<xmas> <fallback_theme>default</fallback_theme> </xmas> </themes> </config>
|