<?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>{Complexity} &#187; admin</title>
	<atom:link href="http://technote.wsjoung.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://technote.wsjoung.com</link>
	<description>simple note</description>
	<lastBuildDate>Wed, 09 Nov 2011 02:12:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>convert to utf8</title>
		<link>http://technote.wsjoung.com/2011/11/08/convert-to-utf8/</link>
		<comments>http://technote.wsjoung.com/2011/11/08/convert-to-utf8/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 02:12:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[System]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=196</guid>
		<description><![CDATA[#/bin/bash LIST=`find . -name *.inc` for i in $LIST; do iconv -c -f euc-kr -t utf8 $i -o $i.&#8221;utf8&#8243;; mv $i.&#8221;utf8&#8243; $i; done]]></description>
			<content:encoded><![CDATA[<p>#/bin/bash<br />
LIST=`find . -name *.inc`<br />
for i in $LIST;<br />
do iconv -c -f euc-kr -t utf8 $i -o $i.&#8221;utf8&#8243;;<br />
mv $i.&#8221;utf8&#8243; $i;<br />
done</p>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2011/11/08/convert-to-utf8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento upgrade</title>
		<link>http://technote.wsjoung.com/2011/08/31/magento-upgrade/</link>
		<comments>http://technote.wsjoung.com/2011/08/31/magento-upgrade/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 18:15:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=194</guid>
		<description><![CDATA[rm -rf /var/cache session ./mage mage-setup . ./mage config-set preferred_state stable ./mage list-installed ./mage list-upgrades ./mage install http://connect20.magentocommerce.com/community Mage_All_Latest &#8211;force ./shell php indexer.php reindexall &#160; app/etc/config.xml &#60;initStatements&#62;SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; SET UNIQUE_CHECKS=0;&#60;/initStatements&#62;]]></description>
			<content:encoded><![CDATA[<p>rm -rf /var/cache session<br />
./mage mage-setup .<br />
./mage config-set preferred_state stable<br />
./mage list-installed<br />
./mage list-upgrades<br />
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest &#8211;force<br />
./shell php indexer.php reindexall</p>
<p>&nbsp;</p>
<p>app/etc/config.xml</p>
<p>&lt;initStatements&gt;SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; SET UNIQUE_CHECKS=0;&lt;/initStatements&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2011/08/31/magento-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.5.0.1 core_directory_storage problem</title>
		<link>http://technote.wsjoung.com/2011/05/02/magento-1-5-0-1-core_directory_storage-problem/</link>
		<comments>http://technote.wsjoung.com/2011/05/02/magento-1-5-0-1-core_directory_storage-problem/#comments</comments>
		<pubDate>Tue, 03 May 2011 02:06:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=190</guid>
		<description><![CDATA[/app/code/core/Mage/Core/Model/Mysql4/File/Storage/Directory/Database.php CREATE TABLE IF NOT EXISTS `PREFIX_core_directory_storage` ( `directory_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `path` varchar(255) NOT NULL DEFAULT '', `upload_time` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `parent_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`directory_id`), UNIQUE KEY `IDX_DIRECTORY_PATH` (`name`, `path`), KEY `parent_id` (`parent_id`), CONSTRAINT `FK_DIRECTORY_PARENT_ID` FOREIGN KEY (`parent_id`) REFERENCES `PREFIX_core_directory_storage` (`directory_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Directory storage'; May with SET FOREIGN_KEY_CHECKS = 0;]]></description>
			<content:encoded><![CDATA[<div><em>/app/code/core/Mage/Core/Model/Mysql4/File/Storage/Directory/Database.php</em></div>
<blockquote>
<div><code>CREATE TABLE IF NOT EXISTS `PREFIX_core_directory_storage` (<br />
`directory_id` int(10) unsigned NOT NULL AUTO_INCREMENT,<br />
`name` varchar(255) NOT NULL DEFAULT '',<br />
`path` varchar(255) NOT NULL DEFAULT '',<br />
`upload_time` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,<br />
`parent_id` int(10) unsigned DEFAULT NULL,<br />
PRIMARY KEY (`directory_id`),<br />
UNIQUE KEY `IDX_DIRECTORY_PATH` (`name`, `path`),<br />
KEY `parent_id` (`parent_id`),<br />
CONSTRAINT `FK_DIRECTORY_PARENT_ID` FOREIGN KEY (`parent_id`)<br />
REFERENCES `PREFIX_core_directory_storage` (`directory_id`) ON DELETE CASCADE ON UPDATE CASCADE<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Directory storage'; </code></div>
</blockquote>
<div>May with</div>
<div>
<div><code> SET FOREIGN_KEY_CHECKS = 0; </code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2011/05/02/magento-1-5-0-1-core_directory_storage-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>replace string, sed</title>
		<link>http://technote.wsjoung.com/2011/02/17/replace-string-sed/</link>
		<comments>http://technote.wsjoung.com/2011/02/17/replace-string-sed/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 18:35:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=185</guid>
		<description><![CDATA[$sed -i 's/foo/foo_bar/g' filename.ext $find . -type f -exec sed -i &#8216;s/foo/foo_bar/g&#8216; {} \;]]></description>
			<content:encoded><![CDATA[<blockquote><p><code>$sed -i 's/foo/foo_bar/g' filename.ext</code></p>
<p>$find . -type f -exec sed -i &#8216;<code>s/foo/foo_bar/g</code>&#8216; {} \;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2011/02/17/replace-string-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Magento 1.3 with PHP 5.3</title>
		<link>http://technote.wsjoung.com/2010/12/16/installing-magento-1-3-with-php-5-3/</link>
		<comments>http://technote.wsjoung.com/2010/12/16/installing-magento-1-3-with-php-5-3/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 22:26:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=182</guid>
		<description><![CDATA[lib/Varien/Object.php On line 484, replace public function ___toString(array $arrAttributes = array(), $valueSeparator=&#8217;,') by public function __invoke(array $arrAttributes = array(), $valueSeparator=&#8217;,') app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php On line 139. replace $key.= $taxReq-&#62;__toString(array(), &#8216;_&#8217;); by $key.= $taxReq-&#62;__invoke(array(), &#8216;_&#8217;); app/code/core/Mage/Core/functions.php On line 192, replace ﻿switch($errno){ by switch($errno){ case E_DEPRECATED: return; lib/Zend/Pdf/Resource/Image/Jpeg.php On line 59, replace if (!$gd_options['JPG Support'] ) { by if [...]]]></description>
			<content:encoded><![CDATA[<p><strong>lib/Varien/Object.php</strong><br />
On line 484, replace</p>
<p>public function ___toString(array $arrAttributes = array(), $valueSeparator=&#8217;,')<br />
by<br />
public function __invoke(array $arrAttributes = array(), $valueSeparator=&#8217;,')</p>
<p><strong>app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php</strong><br />
On line 139. replace</p>
<p>$key.= $taxReq-&gt;__toString(array(), &#8216;_&#8217;);<br />
by<br />
$key.= $taxReq-&gt;__invoke(array(), &#8216;_&#8217;);</p>
<p><strong>app/code/core/Mage/Core/functions.php</strong><br />
On line 192, replace</p>
<p>﻿switch($errno){<br />
by<br />
switch($errno){<br />
case E_DEPRECATED:<br />
return;</p>
<p><strong>lib/Zend/Pdf/Resource/Image/Jpeg.php</strong><br />
On line 59, replace</p>
<p>if (!$gd_options['JPG Support'] ) {<br />
by<br />
if ( (!isset($gd_options['JPG Support']) || $gd_options['JPG Support'] != true) &amp;&amp;<br />
(!isset($gd_options['JPEG Support']) || $gd_options['JPEG Support'] != true) ) {</p>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/12/16/installing-magento-1-3-with-php-5-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento Browse By Vs. Shop By</title>
		<link>http://technote.wsjoung.com/2010/11/10/magento-browse-by-vs-shop-by/</link>
		<comments>http://technote.wsjoung.com/2010/11/10/magento-browse-by-vs-shop-by/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 05:15:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=180</guid>
		<description><![CDATA[Catalog Category (Non-Anchor) &#60;block type=&#8221;catalog/navigation&#8221; name=&#8221;catalog.leftnav&#8221; after=&#8221;currency&#8221; template=&#8221;catalog/navigation/left.phtml&#8221;/&#62; Catalog Category (Anchor) &#60;block type=&#8221;catalog/layer_view&#8221; name=&#8221;catalog.leftnav&#8221; after=&#8221;currency&#8221; template=&#8221;catalog/layer/view.phtml&#8221;/&#62;]]></description>
			<content:encoded><![CDATA[<p>Catalog Category (Non-Anchor)</p>
<blockquote><p>&lt;block type=&#8221;catalog/navigation&#8221; name=&#8221;catalog.leftnav&#8221; after=&#8221;currency&#8221; template=&#8221;catalog/navigation/left.phtml&#8221;/&gt;</p></blockquote>
<p>Catalog Category (Anchor)</p>
<blockquote><p>&lt;block type=&#8221;catalog/layer_view&#8221; name=&#8221;catalog.leftnav&#8221; after=&#8221;currency&#8221; template=&#8221;catalog/layer/view.phtml&#8221;/&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/11/10/magento-browse-by-vs-shop-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento disappear poll after voting</title>
		<link>http://technote.wsjoung.com/2010/11/09/magento-disappear-poll-after-voting/</link>
		<comments>http://technote.wsjoung.com/2010/11/09/magento-disappear-poll-after-voting/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:10:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Cookie]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Poll]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=176</guid>
		<description><![CDATA[app/code/core/Mage/Poll/Model/Poll.php public function getVotedPollsIds() { $idsArray = array(); /* foreach ($this-&#62;getCookie()-&#62;get() as $cookieName =&#62; $cookieValue) { $pattern = &#8216;#^&#8217; . preg_quote($this-&#62;_pollCookieDefaultName, &#8216;#&#8217;) . &#8216;(\d+)$#&#8217;; $match = array(); if (preg_match($pattern, $cookieName, $match)) { if ($match[1] != Mage::getSingleton(&#8216;core/session&#8217;)-&#62;getJustVotedPoll()) { $idsArray[$match[1]] = $match[1]; } } } // load from db for this ip foreach ($this-&#62;_getResource()-&#62;getVotedPollIdsByIp(Mage::helper(&#8216;core/http&#8217;)-&#62;getRemoteAddr()) as $pollId) { [...]]]></description>
			<content:encoded><![CDATA[<p>app/code/core/Mage/Poll/Model/Poll.php</p>
<blockquote><p>public function getVotedPollsIds()<br />
{<br />
$idsArray = array();<br />
/*<br />
foreach ($this-&gt;getCookie()-&gt;get() as $cookieName =&gt; $cookieValue) {<br />
$pattern = &#8216;#^&#8217; . preg_quote($this-&gt;_pollCookieDefaultName, &#8216;#&#8217;) . &#8216;(\d+)$#&#8217;;<br />
$match   = array();<br />
if (preg_match($pattern, $cookieName, $match)) {<br />
if ($match[1] != Mage::getSingleton(&#8216;core/session&#8217;)-&gt;getJustVotedPoll()) {<br />
$idsArray[$match[1]] = $match[1];<br />
}<br />
}<br />
}</p>
<p>// load from db for this ip<br />
foreach ($this-&gt;_getResource()-&gt;getVotedPollIdsByIp(Mage::helper(&#8216;core/http&#8217;)-&gt;getRemoteAddr()) as $pollId) {<br />
$idsArray[$pollId] = $pollId;<br />
}*/</p>
<p>return $idsArray;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/11/09/magento-disappear-poll-after-voting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>remove ssl encryption</title>
		<link>http://technote.wsjoung.com/2010/10/30/remove-ssl-encryption/</link>
		<comments>http://technote.wsjoung.com/2010/10/30/remove-ssl-encryption/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 22:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=174</guid>
		<description><![CDATA[openssl rsa -in server.key -out server.key.new mv server.key.new server.key chmod 600 server.key]]></description>
			<content:encoded><![CDATA[<p><code>openssl rsa -in server.key -out server.key.new</code></p>
<p><code>mv server.key.new server.key</code></p>
<p>chmod 600 server.key</p>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/10/30/remove-ssl-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pear mage-setup</title>
		<link>http://technote.wsjoung.com/2010/10/21/pear-mage-setup/</link>
		<comments>http://technote.wsjoung.com/2010/10/21/pear-mage-setup/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 05:08:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Pear]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=170</guid>
		<description><![CDATA[./pear mage-setup . ./pear install magento-core/Mage_All_Latest]]></description>
			<content:encoded><![CDATA[<p>./pear mage-setup .<br />
./pear install magento-core/Mage_All_Latest</p>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/10/21/pear-mage-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento payment do not continue</title>
		<link>http://technote.wsjoung.com/2010/10/16/magento-payment-do-not-continue/</link>
		<comments>http://technote.wsjoung.com/2010/10/16/magento-payment-do-not-continue/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 20:11:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Payment]]></category>

		<guid isPermaLink="false">http://technote.wsjoung.com/?p=164</guid>
		<description><![CDATA[app/design/frontend/yourtheme/youtemplate/layout/page.xml &#60;action method=&#8221;addJs&#8221;&#62;&#60;script&#62;lib/ccard.js&#60;/script&#62;&#60;/action&#62; &#60;block type=&#8221;page/html_head&#8221; name=&#8221;head&#8221; as=&#8221;head&#8221;&#62; &#60;action method=&#8221;addJs&#8221;&#62;&#60;script&#62;prototype/prototype.js&#60;/script&#62;&#60;/action&#62; &#60;action method=&#8221;addJs&#8221; ifconfig=&#8221;dev/js/deprecation&#8221;&#62;&#60;script&#62;prototype/deprecation.js&#60;/script&#62;&#60;/action&#62; &#60;action method=&#8221;addJs&#8221;&#62;&#60;script&#62;lib/ccard.js&#60;/script&#62;&#60;/action&#62; &#60;action method=&#8221;addJs&#8221;&#62;&#60;script&#62;prototype/validation.js&#60;/script&#62;&#60;/action&#62; &#8230;..]]></description>
			<content:encoded><![CDATA[<p>app/design/frontend/yourtheme/youtemplate/layout/page.xml</p>
<blockquote><p>
&lt;action method=&#8221;addJs&#8221;&gt;&lt;script&gt;lib/ccard.js&lt;/script&gt;&lt;/action&gt;</p>
<p>&lt;block type=&#8221;page/html_head&#8221; name=&#8221;head&#8221; as=&#8221;head&#8221;&gt;<br />
&lt;action method=&#8221;addJs&#8221;&gt;&lt;script&gt;prototype/prototype.js&lt;/script&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addJs&#8221; ifconfig=&#8221;dev/js/deprecation&#8221;&gt;&lt;script&gt;prototype/deprecation.js&lt;/script&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addJs&#8221;&gt;&lt;script&gt;lib/ccard.js&lt;/script&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addJs&#8221;&gt;&lt;script&gt;prototype/validation.js&lt;/script&gt;&lt;/action&gt;</p>
<p>&#8230;..</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://technote.wsjoung.com/2010/10/16/magento-payment-do-not-continue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

