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

Home page cannot be saved in Admin Panel
 
chalon
Jr. Member
 
Total Posts:  4
Joined:  2009-05-14
 

Hello Magento fellows,

Greetings!  I am new to Magento and I installed my first Magento system three days ago with no problems in installations.  However, when I try to change the default text content of the main page via the following path:

Admin Panel => CMS => Manage Pages => Homepage ( I open it and change some simple text like telephone numbers then click the save buttom)

I got all this in the main page of the website now:

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 313: parser error : AttValue: “ or ‘ expected in /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Model/Layout/Update.php on line 235
Trace:
#0 /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Model/Layout/Update.php(235): mageCoreErrorHandler(2, ‘simplexml_load_...’, ‘/home/schmidta/...’, 235, Array)
#1 /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Model/Layout.php(155): Mage_Core_Model_Layout_Update->asSimplexml(’generateXml()
#3 /home/anydotcom/public_html/mall/app/code/core/Mage/Cms/Helper/Page.php(76): Mage_Core_Controller_Varien_Action->generateLayoutXml()
#4 /home/anydotcom/public_html/mall/app/code/core/Mage/Cms/controllers/PageController.php(33): Mage_Cms_Helper_Page->renderPage()
#5 /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Cms_PageController->viewAction(Object(Mage_Cms_PageController), ‘2’)
#6 /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch()
#7 /home/anydotcom/public_html/mall/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(’view’)
#8 /home/anydotcom/public_html/mall/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http))
#9 /home/anydotcom/public_html/mall/index.php(52): Mage::run()
#10 {main}

I am using Firefox 3.08.  I have searched the forum before posting here but could not find any answers.  Can someone tell me what’s wrong with my Magento?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ckosny
Guru
 
Total Posts:  349
Joined:  2009-02-28
Luxembourg
 

Most likely you simply miss some quote mark somewhere. Can you post the content of your homepage here? (Not the frontend content, but the one that you see in the backend).

Claudia

 
Magento Community Magento Community
Magento Community
Magento Community
 
chalon
Jr. Member
 
Total Posts:  4
Joined:  2009-05-14
 

Thanks for your kindness in trying to help me, Claudia.  While I was opening the homepage content in admin panel (Admin Panel => CMS => Manage Pages => Homepage), I found that suddenly a lot of “\\\\” appeared but they were not there in the original content as I remember.  Anyway, let me post the current content I see in the backend first, and then I will resintall my Magento and post the original content (still problematic) in my next post.

Here is what I see now in Edit Page ‘Home page’ -

<div class=\\\\\\\\\\\\\\\"ja-banner\\\\\\\\\\\\\\\">
{{block type=\\\\\\\\\\\\\\\"joomlart_jmslideshow/list\\\\\\\\\\\\\\\" name=\\\\\\\\\\\\\\\"home.jmslideshow.list\\\\\\\\\\\\\\\" }}
<!--img alt=\\\\\\\\\\\\\\\"Sample Banner\\\\\\\\\\\\\\\” src=\\\\\\\\\\\\\\\"{{skin url=\\\\\\\\\\\\\\\’images/demo/banner-home-1.jpg\\\\\\\\\\\\\\\’}}\\\\\\\\\\\\\\\” /-->
</div>

{{block type=\\\\\\\\\\\\\\\"joomlart_jmproductsslider/list\\\\\\\\\\\\\\\" title=\\\\\\\\\\\\\\\"What\\\\\\\\\\\\\\\’s New Here\\\\\\\\\\\\\\\” name=\\\\\\\\\\\\\\\"home.jmproductsslider.list\\\\\\\\\\\\\\\" }}

{{block type=\\\\\\\\\\\\\\\"joomlart_jmproducts/list\\\\\\\\\\\\\\\" title=\\\\\\\\\\\\\\\"Featured Products\\\\\\\\\\\\\\\” name=\\\\\\\\\\\\\\\"home.jmproducts.list\\\\\\\\\\\\\\\" }}

{{block type=\\\\\\\\\\\\\\\"joomlart_jmcategorylist/list\\\\\\\\\\\\\\\" name=\\\\\\\\\\\\\\\"home.jmcategorylist.list\\\\\\\\\\\\\\\"}}

<!-- BOTTOM SPOTLIGHT -->
<div id=\\\\\\\\\\\\\\\"ja-botsl\\\\\\\\\\\\\\\">

<div class=\\\\\\\\\\\\\\\"ja-box-left\\\\\\\\\\\\\\\" style=\\\\\\\\\\\\\\\"width: 24.8%;\\\\\\\\\\\\\\\">
<div class=\\\\\\\\\\\\\\\"box\\\\\\\\\\\\\\\">
<h3><span class=\\\\\\\\\\\\\\\"first-word\\\\\\\\\\\\\\\">Latest</span> News</h3>
<ul class=\\\\\\\\\\\\\\\"disc\\\\\\\\\\\\\\\">
<li class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\">
<a href=\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\" class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\"> Logitech MX Revolution Review</a>
</li>
<li class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\">
<a href=\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\" class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\"> Integer auctor nunc ante ullamcorper</a>
</li>
<li class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\">
<a href=\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\" class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\"> Lacinia quis diam dui felis cursus</a>
</li>
<li class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\">
<a href=\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\" class=\\\\\\\\\\\\\\\"latestnews\\\\\\\\\\\\\\\"> Lacus Suspendisse Lorem velit ut</a>
</li>
</ul>
</div>
</div>

<div class=\\\\\\\\\\\\\\\"ja-box-center\\\\\\\\\\\\\\\" style=\\\\\\\\\\\\\\\"width: 24.8%;\\\\\\\\\\\\\\\">
<div class=\\\\\\\\\\\\\\\"box\\\\\\\\\\\\\\\">
<h3><span class=\\\\\\\\\\\\\\\"first-word\\\\\\\\\\\\\\\">Support</span> Center</h3>
<p>Elit mauris consectetuer Curabitur urna Aenean sem consectetuer aliquet eget
</p>
<ul class=\\\\\\\\\\\\\\\"disc\\\\\\\\\\\\\\\">
<li><strong>Tel:</strong> (+844) 2212820
</li>
<li><strong>Fax:</strong> (+844) 2212820
</li>
<li><strong>Email:</strong> contact@joomlart.com
</li>
<li><strong>Website:</strong>www.joomart.com
</li>
</ul>
</div>
</div>
{{block type=\\\\\\\\\\\\\\\"joomlart_jmrss/list\\\\\\\\\\\\\\\" name=\\\\\\\\\\\\\\\"jmrss }}

</div>
<!-- //BOTTOM SPOTLIGHT -->

 
Magento Community Magento Community
Magento Community
Magento Community
 
chalon
Jr. Member
 
Total Posts:  4
Joined:  2009-05-14
 

Sorry for keep you waiting.  I just have a clean install and this is what I see now in Edit Page ‘Home page’ before clicking the “Save Page” buttom -

<div class="ja-banner">
{{block type="joomlart_jmslideshow/list" name="home.jmslideshow.list" }}
<!--img alt="Sample Banner” src="{{skin url=’images/demo/banner-home-1.jpg’}}” /-->
</div>

{{block type="joomlart_jmproductsslider/list" title="What’s New Here” name="home.jmproductsslider.list" }}

{{block type="joomlart_jmproducts/list" title="Featured Products” name="home.jmproducts.list" }}

{{block type="joomlart_jmcategorylist/list" name="home.jmcategorylist.list"}}

<!-- BOTTOM SPOTLIGHT -->
<div id="ja-botsl">

<div class="ja-box-left" style="width: 24.8%;">
<div class="box">
<h3><span class="first-word">Latest</span> News</h3>
<ul class="disc">
<li class="latestnews">
<a href="#" class="latestnews"> Logitech MX Revolution Review</a>
</li>
<li class="latestnews">
<a href="#" class="latestnews"> Integer auctor nunc ante ullamcorper</a>
</li>
<li class="latestnews">
<a href="#" class="latestnews"> Lacinia quis diam dui felis cursus</a>
</li>
<li class="latestnews">
<a href="#" class="latestnews"> Lacus Suspendisse Lorem velit ut</a>
</li>
</ul>
</div>
</div>

<div class="ja-box-center" style="width: 24.8%;">
<div class="box">
<h3><span class="first-word">Support</span> Center</h3>
<p>Elit mauris consectetuer Curabitur urna Aenean sem consectetuer aliquet eget
</p>
<ul class="disc">
<li><strong>Tel:</strong> (+844) 2212820
</li>
<li><strong>Fax:</strong> (+844) 2212820
</li>
<li><strong>Email:</strong> contact@joomlart.com
</li>
<li><strong>Website:</strong>www.joomart.com
</li>
</ul>
</div>
</div>
{{block type="joomlart_jmrss/list" name="jmrss }}

</div>
<!-- //BOTTOM SPOTLIGHT -->

Before I click the “Save Page” buttom, I can still preview the homepage with no issue.  However, once I hit it even I did not make any changes, errors will rush out like in my first post.  Anyway, I will click the button now and then re-open the homepage in backend and see if there will be any changes like those “\\\\\\”.

 
Magento Community Magento Community
Magento Community
Magento Community
 
chalon
Jr. Member
 
Total Posts:  4
Joined:  2009-05-14
 

Ok, I just tried “Save Page” and preview it and I confirmed it that the errors as my first post appeared in front end.  Besides, I look into the backend of the homepage, I see the first “\” added to the content code automatically, as follows:

<div class=\"ja-banner\">
{{block type=\"joomlart_jmslideshow/list\" name=\"home.jmslideshow.list\" }}
<!--img alt=\"Sample Banner\” src=\"{{skin url=\’images/demo/banner-home-1.jpg\’}}\” /-->
</div>

{{block type=\"joomlart_jmproductsslider/list\" title=\"What\’s New Here\” name=\"home.jmproductsslider.list\" }}

{{block type=\"joomlart_jmproducts/list\" title=\"Featured Products\” name=\"home.jmproducts.list\" }}

{{block type=\"joomlart_jmcategorylist/list\" name=\"home.jmcategorylist.list\"}}

<!-- BOTTOM SPOTLIGHT -->
<div id=\"ja-botsl\">

<div class=\"ja-box-left\" style=\"width: 24.8%;\">
<div class=\"box\">
<h3><span class=\"first-word\">Latest</span> News</h3>
<ul class=\"disc\">
<li class=\"latestnews\">
<a href=\"#\" class=\"latestnews\"> Logitech MX Revolution Review</a>
</li>
<li class=\"latestnews\">
<a href=\"#\" class=\"latestnews\"> Integer auctor nunc ante ullamcorper</a>
</li>
<li class=\"latestnews\">
<a href=\"#\" class=\"latestnews\"> Lacinia quis diam dui felis cursus</a>
</li>
<li class=\"latestnews\">
<a href=\"#\" class=\"latestnews\"> Lacus Suspendisse Lorem velit ut</a>
</li>
</ul>
</div>
</div>

<div class=\"ja-box-center\" style=\"width: 24.8%;\">
<div class=\"box\">
<h3><span class=\"first-word\">Support</span> Center</h3>
<p>Elit mauris consectetuer Curabitur urna Aenean sem consectetuer aliquet eget
</p>
<ul class=\"disc\">
<li><strong>Tel:</strong> (+844) 2212820
</li>
<li><strong>Fax:</strong> (+844) 2212820
</li>
<li><strong>Email:</strong> contact@joomlart.com
</li>
<li><strong>Website:</strong>www.joomart.com
</li>
</ul>
</div>
</div>
{{block type=\"joomlart_jmrss/list\" name=\"jmrss }}

</div>
<!-- //BOTTOM SPOTLIGHT -->

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