<?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>電腦茶包 Blog &#187; VirtueMart</title>
	<atom:link href="http://www.minitw.com/archives/category/server/virtuemart/feed" rel="self" type="application/rss+xml" />
	<link>http://www.minitw.com</link>
	<description>解決資訊問題分享，電腦隨手筆記</description>
	<lastBuildDate>Sun, 29 Jan 2012 10:24:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>解決VirtueMart編修商品時發生&quot;操作已終止&quot;</title>
		<link>http://www.minitw.com/archives/331</link>
		<comments>http://www.minitw.com/archives/331#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:35:45 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[Bug]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=331</guid>
		<description><![CDATA[使用 IE 7 進入 VirtueMart 1.1.3 的後台管理介面編修商品時 會發生"操作已終止"的情況，這是 IE 的問題，微軟的本身也說明了這個問題 . 為什麼我收到下列錯誤訊息當我造訪 Internet Explorer 中的網頁？ Internet Explorer 無法開啟網際網路網站 http://&#60;Web site&#62;.com. 作業已中止。 答案 ： Internet Explorer 7 無法顯示特定的項目，以在該網站 Web 網頁上。 我如何做修正這個問題？ loadTOCNode(2, 'symptoms'); 要修正這個問題，最簡單的方法是升級至 Internet Explorer 8。 這個問題不再發生在 Internet Explorer 8 中。 若要升級此項為 Internet Explorer 8，請造訪下列 Microsoft 網站 (英文)： Windows Internet Explorer 8： 首頁 http://www.microsoft.com/windows/internet-explorer/beta/default.aspx . [...]]]></description>
			<content:encoded><![CDATA[<p>使用 IE 7 進入 VirtueMart 1.1.3 的後台管理介面編修商品時</p>
<p>會發生"操作已終止"的情況，這是 IE 的問題，微軟的本身也<a href="http://support.microsoft.com/kb/927917/zh-tw" target="_blank">說明了這個問題</a></p>
<p><a href="http://lh5.ggpht.com/_HUcF0uqL0MM/SeSoiuv-mHI/AAAAAAAAAa8/bCyU6qYbr3I/s800/20090415_1.jpg"><img class="alignnone" src="http://lh5.ggpht.com/_HUcF0uqL0MM/SeSoiuv-mHI/AAAAAAAAAa8/bCyU6qYbr3I/s800/20090415_1.jpg" alt="" width="529" height="138" /></a></p>
<p><span style="color: #ffffff;">.</span></p>
<p style="padding-left: 60px;">為什麼我收到下列錯誤訊息當我造訪 Internet Explorer 中的網頁？</p>
<div class="kb_errormsgbody" style="padding-left: 60px;">
<div class="kb_errorcontent">
<div class="errormsg">Internet Explorer 無法開啟網際網路網站 http://<var>&lt;Web site&gt;</var>.com.      作業已中止。</div>
</div>
</div>
<p style="padding-left: 60px;"><em><strong> 答案 </strong></em>： Internet Explorer 7 無法顯示特定的項目，以在該網站 Web 網頁上。</p>
<h3 id="tocHeadRef" style="padding-left: 60px;">我如何做修正這個問題？</h3>
<p style="padding-left: 60px;"><script type="text/javascript">
                loadTOCNode(2, 'symptoms');
            </script> 要修正這個問題，最簡單的方法是升級至 Internet Explorer 8。 這個問題不再發生在 Internet Explorer 8 中。 若要升級此項為 Internet Explorer 8，請造訪下列 Microsoft 網站 (英文)：<strong> Windows Internet Explorer 8： 首頁 </strong><br />
<a href="http://www.microsoft.com/windows/internet-explorer/beta/default.aspx">http://www.microsoft.com/windows/internet-explorer/beta/default.aspx</a></p>
<p><span style="color: #ffffff;">.</span></p>
<p>官方說只要裝 IE8 就能解決此問題。但如果不想裝 IE8 呢?</p>
<p>很簡單，只要<a href="http://sites.google.com/site/minitwfile/Home/file/virtuemart-ie-fix_Unzip_Me.zip?attredirects=0" target="_blank">下載這個檔案</a>，解壓縮後蓋過下列檔案</p>
<p>Root/administrator/components/com_virtuemart/toolbar.html.php<br />
Root/administrator/components/com_virtuemart/classes/htmlTools.class.php<br />
Root/administrator/components/com_virtuemart/classes/menuBar.class.php<br />
Root/administrator/components/com_virtuemart/classes/ps_config.php<br />
Root/administrator/components/com_virtuemart/html/product.product_form.php</p>
<p>Root/components/com_virtuemart/js/wz_tooltip.js<br />
Root/components/com_virtuemart/js/slimbox/css/slimbox.css<br />
Root/components/com_virtuemart/js/slimbox/js/slimbox.js</p>
<p>最後記得把 IE 裡的快取檔案清空，重新進入。問題就解決了</p>
<p>參考資料：</p>
<p style="padding-left: 30px;"><a href="http://forum.virtuemart.net/index.php?topic=51089.0" target="_blank">Fix for Internet Explorer (IE7) Operation Aborted issue.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/331/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>解決 VirtueMart 類別樹(Category Tree)顯示的 Bug</title>
		<link>http://www.minitw.com/archives/319</link>
		<comments>http://www.minitw.com/archives/319#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:46:01 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[Category Tree]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=319</guid>
		<description><![CDATA[如果你的 VirtueMart 是 1.1.3 的版本，那就可能會有這個問題

就是如果你的分類有2~3層，而每層又有數個分類

那麼你就會發現，該層的其中幾個不能調上下順序....]]></description>
			<content:encoded><![CDATA[<p>如果你的 VirtueMart 是 1.1.3 的版本，那就可能會有這個問題</p>
<p>就是如果你的分類有2~3層，而每層又有數個分類</p>
<p>那麼你就會發現，該層的其中幾個不能調上下順序(見圖)</p>
<p><a href="http://lh5.ggpht.com/_HUcF0uqL0MM/SeLnHbSB4kI/AAAAAAAAAZk/p-_xDbUj_3M/s800/20090413_1.jpg"><img class="alignnone" src="http://lh5.ggpht.com/_HUcF0uqL0MM/SeLnHbSB4kI/AAAAAAAAAZk/p-_xDbUj_3M/s800/20090413_1.jpg" alt="" width="521" height="182" /></a></p>
<p><span style="color: #ffffff;">.</span></p>
<p>一開始使用 VirtueMart 討論區的 code 來修正，結果還是一樣</p>
<p>花了一點時間研究一下，改了一些 code 就 OK 了</p>
<p>首先，先<a href="http://sites.google.com/site/minitwfile/Home/file/product.product_category_list.php?attredirects=0" target="_blank">下載這個檔案</a></p>
<p>然後放到 administrator/components/com_virtuemart/html 蓋過舊檔(請視需要先備份舊檔)</p>
<p>這樣子就OK了</p>
<p><a href="http://lh5.ggpht.com/_HUcF0uqL0MM/SeLnHxk3UuI/AAAAAAAAAZs/YUn4YY3jrsQ/s800/20090413_2.jpg"><img class="alignnone" src="http://lh5.ggpht.com/_HUcF0uqL0MM/SeLnHxk3UuI/AAAAAAAAAZs/YUn4YY3jrsQ/s800/20090413_2.jpg" alt="" width="519" height="182" /></a></p>
<p><span style="color: #ffffff;">.</span></p>
<p>參考資料：<a href="http://forum.virtuemart.net/index.php?topic=33720.0" target="_blank">http://forum.virtuemart.net/index.php?topic=33720.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/319/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解決 VirtueMart 的 timeoutID 錯誤</title>
		<link>http://www.minitw.com/archives/290</link>
		<comments>http://www.minitw.com/archives/290#comments</comments>
		<pubDate>Fri, 03 Apr 2009 07:14:37 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=290</guid>
		<description><![CDATA[在使用 VirtueMart 的購物車時，如果你是使用1.1.3版的AJAX 加入購物車

在第1次把商品加到購物車時是沒問題的，但是同一頁面要繼續購物時就會發生問題]]></description>
			<content:encoded><![CDATA[<p>在使用 VirtueMart 的購物車時，如果你是使用1.1.3版的AJAX 加入購物車</p>
<p>在第1次把商品加到購物車時是沒問題的，但是同一頁面要繼續購物時就會發生問題</p>
<p><a href="http://lh6.ggpht.com/_HUcF0uqL0MM/SdWy4LcoqPI/AAAAAAAAAXU/GbIVB_hhZGg/20090403_1.jpg"><a href="http://lh6.ggpht.com/_HUcF0uqL0MM/SdWy4LcoqPI/AAAAAAAAAXU/GbIVB_hhZGg/s800/20090403_1.jpg"><img class="alignnone" src="http://lh6.ggpht.com/_HUcF0uqL0MM/SdWy4LcoqPI/AAAAAAAAAXU/GbIVB_hhZGg/s800/20090403_1.jpg" alt="" width="485" height="250" /></a><br />
</a></p>
<p><span style="color: #ffffff;">.</span></p>
<p>解決方法是修改 /components/com_virtuemart/themes/default/theme.js 這個檔案</p>
<p>大約在第35行的地方</p>
<p>找到下面這個程式碼</p>
<pre class="brush: jscript; title: ;">

if (document.boxB) {
document.boxB.close();
clearTimeout(timeoutID);
}
</pre>
<p>修改成以下的程式碼</p>
<pre class="brush: jscript; title: ;">

if (document.boxB) {
document.boxB.close();
clearTimeout();
}
</pre>
<p>儲存後就不會有這個問題了</p>
<p>要測試時，記得要先<span style="color: #ff0000;">清除瀏覽器的離線快取</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/290/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解決Joomla VirtueMart中文亂碼</title>
		<link>http://www.minitw.com/archives/264</link>
		<comments>http://www.minitw.com/archives/264#comments</comments>
		<pubDate>Tue, 24 Mar 2009 00:41:04 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[網站架設]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=264</guid>
		<description><![CDATA[雖然官方的語言包中文還不算太完整，不過多少也可以勉強用了 安裝完官方語言包你會發現VM(VirtueMart)會是亂碼 這是因為預設的中文語系檔是用big5存的，而Joomla是預設是用UTF-8 把中文語系檔traditional_chinese.php改為以UTF-8存檔就可以解決亂碼的問題 不過因為官方預設是用big5碼存檔的關係，所有的中文語系檔都會有"許蓋功"的問題 也就是說如果文字中有"成功"這2個字，就會變成"成?"，接連後面的字串也會受到影響，導致程式錯誤 目前我修正了一些文字上的錯誤，不嫌棄的話可以拿去使用 VirtueMart 1.1.3 繁體中文語系修正 使用前記得先安裝 VirtueMart 1.1.3 繁體中文語系修正檔，下載後於 Joomla 的目錄下解開蓋過舊檔即可]]></description>
			<content:encoded><![CDATA[<p>雖然<a href="https://dev.virtuemart.net/cb/displayDocument/Language_Pack_for_VirtueMart_1.1.3.zip?doc_id=2870" target="_blank">官方的語言包</a>中文還不算太完整，不過多少也可以勉強用了</p>
<p>安裝完官方語言包你會發現VM(VirtueMart)會是亂碼</p>
<p>這是因為預設的中文語系檔是用big5存的，而Joomla是預設是用UTF-8</p>
<p>把中文語系檔traditional_chinese.php改為以UTF-8存檔就可以解決亂碼的問題</p>
<p>不過因為官方預設是用big5碼存檔的關係，所有的中文語系檔都會有<a href="http://www.twvbb.com/vbb/thread/15/163/">"許蓋功"的問題</a></p>
<p>也就是說如果文字中有"成功"這2個字，就會變成"成?"，接連後面的字串也會受到影響，導致程式錯誤</p>
<p>目前我修正了一些文字上的錯誤，不嫌棄的話可以拿去使用</p>
<p><a href="http://sites.google.com/site/minitwfile/Home/file/VirtueMart_LangFix_20090323.zip?attredirects=0" target="_blank">VirtueMart 1.1.3 繁體中文語系修正</a></p>
<p>使用前記得先安裝 VirtueMart 1.1.3</p>
<p>繁體中文語系修正檔，下載後於 Joomla 的目錄下解開蓋過舊檔即可</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/264/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>解決Joomla VirtueMart修改&quot;運送者&quot;為中文時會出現錯誤</title>
		<link>http://www.minitw.com/archives/261</link>
		<comments>http://www.minitw.com/archives/261#comments</comments>
		<pubDate>Mon, 23 Mar 2009 07:13:44 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[網站架設]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=261</guid>
		<description><![CDATA[在VirtueMart 1.1.3 中，如果修改運送者為中文名稱時，會出現下面錯誤 Warning: Missing argument 2 for vmGet(), called in /var/www/vhosts/all4everyone.de/httpdocs/administrator/components/com_virtuemart/classes/ps_shipping.php on line 113 and defined in /var/www/vhosts/all4everyone.de/httpdocs/administrator/components/com_virtuemart/classes/request.class.php on line 26 解決方法如下 開啟 administrator/components/com_virtuemart/classes/ps_shipping.php 把 113 與 138 這2行中的程式碼 ($fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),) 取代為 $fields = array( 'shipping_carrier_name' => vmGet($d, 'shipping_carrier_name'), 然後存檔，收工 參考資料： http://forum.virtuemart.net/index.php?action=printpage;topic=50772.0]]></description>
			<content:encoded><![CDATA[<p>在VirtueMart 1.1.3 中，如果修改運送者為中文名稱時，會出現下面錯誤</p>
<p>Warning: Missing argument 2 for vmGet(), called in /var/www/vhosts/all4everyone.de/httpdocs/administrator/components/com_virtuemart/classes/ps_shipping.php on line 113 and defined in /var/www/vhosts/all4everyone.de/httpdocs/administrator/components/com_virtuemart/classes/request.class.php on line 26</p>
<p>解決方法如下</p>
<p>開啟 administrator/components/com_virtuemart/classes/ps_shipping.php</p>
<p>把 113 與 138 這2行中的程式碼<br />
($fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),)</p>
<p>取代為<br />
$fields = array( 'shipping_carrier_name' => vmGet($d, 'shipping_carrier_name'),</p>
<p>然後存檔，收工</p>
<p>參考資料：<br />
<a href="http://forum.virtuemart.net/index.php?action=printpage;topic=50772.0">http://forum.virtuemart.net/index.php?action=printpage;topic=50772.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在 000Webhost 中安裝 Joomla 的 VirtureMart 外掛</title>
		<link>http://www.minitw.com/archives/57</link>
		<comments>http://www.minitw.com/archives/57#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:32:57 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[網站架設]]></category>
		<category><![CDATA[000WebHost]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.minitw.com/?p=57</guid>
		<description><![CDATA[當你使用Joomla的介面，快樂安裝完VirtureMart後
當你要把VirtureMart加上中文化時你會發現檔案傳不上去
這是因為使用Joomla的介面安裝，所產生的擁有都與群組都會是"網頁使用者(99)"
在000Webhost中我們並沒有該群組的權限，所以才會變成這樣子]]></description>
			<content:encoded><![CDATA[<p>000Webhost是一個限期免費的免費空間，有提供空間、MySQL、PHP等服務</p>
<p>詳細的介紹可以用Google搜尋"000Webhost"會出現一堆文章</p>
<p>不過當你要用FTP上傳你的網站上去時，你會發現速度慢到一個爆炸</p>
<p>不過免費的，你也不能說什麼~~</p>
<p>不過還好它有提供1個還不錯用的工具，就是可以先把檔案壓縮成ZIP</p>
<p>再透過網頁的介面傳上去，檔案會在系統那邊自已解壓縮</p>
<p>好了~~開始進入主題了，以下的Joomla的版本都是1.5</p>
<p><a href="http://lh6.ggpht.com/_HUcF0uqL0MM/SZtsI1b7-HI/AAAAAAAAAGY/Hs8G1dwkYSM/s400/20090218_1.JPG"><img class="alignnone" src="http://lh6.ggpht.com/_HUcF0uqL0MM/SZtsI1b7-HI/AAAAAAAAAGY/Hs8G1dwkYSM/s400/20090218_1.JPG" alt="" width="400" height="247" /></a></p>
<p>當你使用Joomla的介面，快樂安裝完VirtureMart後</p>
<p>當你要把VirtureMart加上中文化時你會發現檔案傳不上去</p>
<p>這是因為使用Joomla的介面安裝，所產生的擁有都與群組都會是"網頁使用者(99)"</p>
<p>在000Webhost中我們並沒有該群組的權限，所以才會變成這樣子</p>
<p><a href="http://lh4.ggpht.com/_HUcF0uqL0MM/SZtsIshiWOI/AAAAAAAAAGQ/4jMa7dXbWE4/s400/20090218_2.JPG"><img class="alignnone" src="http://lh4.ggpht.com/_HUcF0uqL0MM/SZtsIshiWOI/AAAAAAAAAGQ/4jMa7dXbWE4/s400/20090218_2.JPG" alt="" width="400" height="256" /></a></p>
<p><a href="http://lh4.ggpht.com/_HUcF0uqL0MM/SZtsIshiWOI/AAAAAAAAAGQ/4jMa7dXbWE4/s400/20090218_2.JPG"></a><a href="http://lh5.ggpht.com/_HUcF0uqL0MM/SZtsId_EnLI/AAAAAAAAAGI/ZHpU8eiDdd4/s400/20090218_3.JPG"><img class="alignnone" src="http://lh5.ggpht.com/_HUcF0uqL0MM/SZtsId_EnLI/AAAAAAAAAGI/ZHpU8eiDdd4/s400/20090218_3.JPG" alt="" width="354" height="155" /></a></p>
<p>解決方法就是使用Joomla的介面把該元件移除</p>
<p>然後再手動安裝VirtureMart元件</p>
<p><a href="http://lh4.ggpht.com/_HUcF0uqL0MM/SZtsIMSIWUI/AAAAAAAAAGA/Tsl9sSpwA2s/s400/20090218_4.JPG"><img class="alignnone" src="http://lh4.ggpht.com/_HUcF0uqL0MM/SZtsIMSIWUI/AAAAAAAAAGA/Tsl9sSpwA2s/s400/20090218_4.JPG" alt="" width="400" height="362" /></a></p>
<p>完成移除後，首先先去下載VirtureMart的手動安裝檔VirtueMart_1.1.3-<span style="color: #ff0000;">Manual_Installation_Package</span></p>
<p>可以到<a href="http://virtuemart.net/index.php?option=com_content&amp;task=view&amp;id=54&amp;Itemid=147" target="_blank">這裡</a>下載，如果連結失效就<a href="http://www.google.com.tw/search?q=virtuemart+download" target="_blank">問一下Google大神</a></p>
<p>下載回來後呢，不要老實的解壓縮，然後用FTP傳上去，除非你很有耐心。</p>
<p>我建議你把檔案在你的電腦解開後，依照你000Webhost放Joomla的目錄格式建好</p>
<p>然後再壓縮成檔案(限.zip or .tar.gz格式)，再透過000Webhost的介面傳上去</p>
<p><a href="http://lh6.ggpht.com/_HUcF0uqL0MM/SZtsH6QvCgI/AAAAAAAAAF4/pYsEMFmYFZk/s400/20090218_5.JPG"><img class="alignnone" src="http://lh6.ggpht.com/_HUcF0uqL0MM/SZtsH6QvCgI/AAAAAAAAAF4/pYsEMFmYFZk/s400/20090218_5.JPG" alt="" width="400" height="172" /></a></p>
<p>接下來呢，登入你的Joomla管理介面，然後在後面補上 "?option=com_virtuemart"</p>
<p>例如：http://xxx.xxx.com/joomla/administrator/index.php?option=com_virtuemart</p>
<p>接下來就是按下"Install SAMPLE DATA"，來安裝範例資料囉</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minitw.com/archives/57/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

