<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SupportSages &#187; magento</title>
	<atom:link href="http://www.supportsages.com/blog/tag/magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Fri, 16 Jul 2010 02:47:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magento Suhosin Values</title>
		<link>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/</link>
		<comments>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 22:29:52 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=583</guid>
		<description><![CDATA[Known .htaccess and php.ini values to override suhosin restrictions for proper working of Magento]]></description>
			<content:encoded><![CDATA[<p>Sometimes Magento admins face the issue of some values missing from the frontend even though the configuration would have shown to be saved from Backend. This could be due the limit in the number of values set by suhosin.</p>
<p>The common override for this issue is to have the following values set in .htaccess</p>
<p>php_value suhosin.mail.protect 0<br />
php_value suhosin.memory_limit 128M<br />
php_value suhosin.post.max_vars 5000<br />
php_value suhosin.post.max_value_length 500000<br />
php_value suhosin.request.max_vars 5000<br />
php_value suhosin.request.max_value_length 500000<br />
php_flag suhosin.session.cryptua off</p>
<p>For php.ini use the variables without php_value or php_flag</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Magento+Suhosin+Values+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F583" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Magento+Suhosin+Values+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F583" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Warning: simplexml_load_file() [function.simplexml-load-file]: (null)</title>
		<link>http://www.supportsages.com/blog/2009/08/magento-warning-simplexml_load_file-function-simplexml-load-file-null/</link>
		<comments>http://www.supportsages.com/blog/2009/08/magento-warning-simplexml_load_file-function-simplexml-load-file-null/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 16:03:48 +0000</pubDate>
		<dc:creator>victor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=552</guid>
		<description><![CDATA[You get this error while entering the magento admin home page after login. The home page has a number of warnings and talks about locales. A sample error listing shown is:
<blockquote>Warning: simplexml_load_file() [function.simplexml-load-file]: (null)(null)/home/runinsty/public_html/paths/lib/Zend/Locale/Data/ko.xml:2780: parser error : out of memory error in /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php on line 146
Trace:

#0 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(146): mageCoreErrorHandler(2, ‘simplexml_load_...’, ‘/home/runinsty/...’, 146, Array)
#1 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(217): Zend_Locale_Data::_findRoute(’/home/runinsty/...’)
#2 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(231): Zend_Locale_Data::_getFile(’ko’, ‘/ldml/localeDis...’, ‘type’, false, Array)
#3 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(787): Zend_Locale_Data::_getFile(’ko’, ‘/ldml/localeDis...’, ‘type’, false, Array)
#4 /home/runinsty/public_html/paths/lib/Zend/Locale.php(594): Zend_Locale_Data::getContent(’ko_KR’, ‘/ldml/localeDis...’, ‘type’)
#5 /home/runinsty/public_html/paths/lib/Zend/Locale.php(611): Zend_Locale::getTranslation(’ko_KR’, ‘language’, ‘ko’)
#6 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Model/Locale.php(246): Zend_Locale::getLanguageTranslation(’ko’, ‘language’, ‘ko_KR’)
#7 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Model/Locale.php(219): Mage_Core_Model_Locale-&#62;_getOptionLocales(’ko’, ‘ko_KR’)
#8 /home/runinsty/public_html/paths/app/code/core/Mage/Adminhtml/Block/Page/Footer.php(67): Mage_Core_Model_Locale-&#62;getTranslatedOptionLocales(true)
#9 /home/runinsty/public_html/paths/app/design/adminhtml/default/default/template/page/footer.phtml(29): Mage_Adminhtml_Block_Page_Footer-&#62;getLanguageSelect()
#10 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/runinsty/...’)</blockquote>
To solve this there are two things to be done, firstly ensure that the ...]]></description>
			<content:encoded><![CDATA[<p>You get this error while entering the magento admin home page after login. The home page has a number of warnings and talks about locales. A sample error listing shown is:</p>
<blockquote><p>Warning: simplexml_load_file() [function.simplexml-load-file]: (null)(null)/home/runinsty/public_html/paths/lib/Zend/Locale/Data/ko.xml:2780: parser error : out of memory error in /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php on line 146<br />
Trace:</p>
<p>#0 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(146): mageCoreErrorHandler(2, ‘simplexml_load_&#8230;’, ‘/home/runinsty/&#8230;’, 146, Array)<br />
#1 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(217): Zend_Locale_Data::_findRoute(’/home/runinsty/&#8230;’)<br />
#2 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(231): Zend_Locale_Data::_getFile(’ko’, ‘/ldml/localeDis&#8230;’, ‘type’, false, Array)<br />
#3 /home/runinsty/public_html/paths/lib/Zend/Locale/Data.php(787): Zend_Locale_Data::_getFile(’ko’, ‘/ldml/localeDis&#8230;’, ‘type’, false, Array)<br />
#4 /home/runinsty/public_html/paths/lib/Zend/Locale.php(594): Zend_Locale_Data::getContent(’ko_KR’, ‘/ldml/localeDis&#8230;’, ‘type’)<br />
#5 /home/runinsty/public_html/paths/lib/Zend/Locale.php(611): Zend_Locale::getTranslation(’ko_KR’, ‘language’, ‘ko’)<br />
#6 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Model/Locale.php(246): Zend_Locale::getLanguageTranslation(’ko’, ‘language’, ‘ko_KR’)<br />
#7 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Model/Locale.php(219): Mage_Core_Model_Locale-&gt;_getOptionLocales(’ko’, ‘ko_KR’)<br />
#8 /home/runinsty/public_html/paths/app/code/core/Mage/Adminhtml/Block/Page/Footer.php(67): Mage_Core_Model_Locale-&gt;getTranslatedOptionLocales(true)<br />
#9 /home/runinsty/public_html/paths/app/design/adminhtml/default/default/template/page/footer.phtml(29): Mage_Adminhtml_Block_Page_Footer-&gt;getLanguageSelect()<br />
#10 /home/runinsty/public_html/paths/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/runinsty/&#8230;’)</p></blockquote>
<p>To solve this there are two things to be done, firstly ensure that the memory_limit value for php is more than 64Mb. Next notice the first line in the error sample:</p>
<blockquote><p>home/runinsty/public_html/paths/lib/Zend/Locale/Data/ko.xml</p></blockquote>
<p>What we are interested here is the locale <strong>ko</strong></p>
<p>Now go to the file /home/runinsty/www/app/etc/config.xml search for the tag &lt;codes&gt; . A listing similar to the below will be seen:</p>
<blockquote><p>&lt;locale&gt;<br />
&lt;allow&gt;<br />
&lt;codes&gt;<br />
&lt;af_ZA/&gt;&lt;!&#8211; Afrikaans (South Africa) &#8211;&gt;<br />
&lt;ar_EG/&gt;&lt;!&#8211; Arabic (Egypt) &#8211;&gt;<br />
&lt;ar_KW/&gt;&lt;!&#8211; Arabic (Kuwait) &#8211;&gt;<br />
&lt;ar_MA/&gt;&lt;!&#8211; Arabic (Morocco) &#8211;&gt;<br />
&lt;ar_SA/&gt;&lt;!&#8211; Arabic (Saudi Arabia) &#8211;&gt;<br />
&lt;az_AZ/&gt;&lt;!&#8211; Azerbaijani (Azerbaijan) &#8211;&gt;<br />
&lt;bg_BG/&gt;&lt;!&#8211; Bulgarian (Bulgaria) &#8211;&gt;<br />
&lt;bn_BD/&gt;&lt;!&#8211; Bengali (Bangladesh) &#8211;&gt;<br />
&lt;bs_BA/&gt;&lt;!&#8211; Bosnian (Bosnia) &#8211;&gt;<br />
&lt;ca_ES/&gt;&lt;!&#8211; Catalan (Catalonia) &#8211;&gt;<br />
&lt;cs_CZ/&gt;&lt;!&#8211; Czech (Czech Republic) &#8211;&gt;<br />
&lt;cy_GB/&gt;&lt;!&#8211; Welsh (United Kingdom) &#8211;&gt;<br />
&lt;da_DK/&gt;&lt;!&#8211; Danish (Denmark) &#8211;&gt;<br />
&lt;km_KH/&gt;&lt;!&#8211; Khmer (Cambodia) &#8211;&gt;<br />
&lt;ko_KR/&gt;&lt;!&#8211; Korean (South Korea) &#8211;&gt;<br />
&lt;lo_LA/&gt;&lt;!&#8211; Lao (Laos) &#8211;&gt;<br />
&lt;lt_LT/&gt;&lt;!&#8211; Lithuanian (Lithuania) &#8211;&gt;<br />
&lt;lv_LV/&gt;&lt;!&#8211; Latvian (Latvia) &#8211;&gt;<br />
&lt;mk_MK/&gt;&lt;!&#8211; Macedonian (Macedonia) &#8211;&gt;<br />
&lt;mn_MN/&gt;&lt;!&#8211; Mongolian (Mongolia) &#8211;&gt;<br />
&lt;ms_MY/&gt;&lt;!&#8211; Malaysian (Malaysia) &#8211;&gt;<br />
&lt;nl_NL/&gt;&lt;!&#8211; Dutch (Netherlands) &#8211;&gt;<br />
&lt;nb_NO/&gt;&lt;!&#8211; Norwegian Bokmål (Norway) &#8211;&gt;</p></blockquote>
<p>Now delete all the xml tag lines beginning with &lt;ko_ .</p>
<p>Next clear your browser cache and revisit your page to see the error fly away.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Magento+Warning%3A+simplexml_load_file%28%29+%5Bfunction.simplexml-load-file%5D%3A+%28null%29+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F552" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Magento+Warning%3A+simplexml_load_file%28%29+%5Bfunction.simplexml-load-file%5D%3A+%28null%29+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F552" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/08/magento-warning-simplexml_load_file-function-simplexml-load-file-null/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
