<?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>Licess&#039;s Blog &#187; 解决方法</title>
	<atom:link href="http://blog.licess.org/tag/%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.licess.org</link>
	<description>关注VPS Linux Nginx MySQL PHP WEB开发 系统管理 服务器架构 Debian CentOS</description>
	<lastBuildDate>Wed, 11 Jan 2012 11:56:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法</title>
		<link>http://blog.licess.org/discuz6-0-chrome/</link>
		<comments>http://blog.licess.org/discuz6-0-chrome/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 04:58:19 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[Web相关]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[切换]]></category>
		<category><![CDATA[编辑器]]></category>
		<category><![CDATA[解决方法]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=956</guid>
		<description><![CDATA[1.直接使用Discuz编辑器的所见即所得模式时： Uncaught TypeError: Cannot call method ‘appendChild’ of /include/javascript/editor.js:129 undefined 2.将Discuz编辑器从代码模式切换到所见即所得模式时（无法切换）： Uncaught TypeError: Cannot call method ‘replace’ of /include/javascript/bbcode.js:387 undefined 第一个错误的出现在editor.js文件中的function setEditorStyle()函数中，解决办法是在 var headNode = editdoc.getElementsByTagName("head")[0]; headNode.appendChild(editcss); 中间加入： if(!headNode){headNode = editdoc.getElementsByTagName("body")[0];}//by ZZR 第二个错误实际是出现在bbcode.js文件中的function bbcode2html(str)函数中，原因是Chrome、Firefox中对函数的处理有点不一样，函数的最后一个元素是push。解决办法是在： re = new RegExp(addslashes(smilies[id]['code']), "g"); 的前面加入： if(isNaN(parseInt(id))) continue; //by ZZR 也可以直接下载：http://bbs.vpser.net/include/javascript/editor.js 和 http://bbs.vpser.net/include/javascript/bbcode.js 覆盖对应目录下的文件 转自：http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html 相关文章：Google浏览器Chrome SSH翻墙设置教程高效率编辑器 VIM－操作篇，非常适合 VIM 新手谷歌拼音输入法同步时提示“网络错误”的解决方法thread.error: can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>1.直接使用Discuz编辑器的所见即所得模式时：<br />
Uncaught TypeError: Cannot call method ‘appendChild’ of /include/javascript/editor.js:129 undefined</p>
<p>2.将Discuz编辑器从代码模式切换到所见即所得模式时（无法切换）：<br />
Uncaught TypeError: Cannot call method ‘replace’ of /include/javascript/bbcode.js:387 undefined</p>
<p>第一个错误的出现在editor.js文件中的function setEditorStyle()函数中，解决办法是在<span id="more-956"></span><br />
var headNode = editdoc.getElementsByTagName("head")[0];<br />
headNode.appendChild(editcss);<br />
中间加入：<br />
if(!headNode){headNode = editdoc.getElementsByTagName("body")[0];}//by ZZR</p>
<p>第二个错误实际是出现在bbcode.js文件中的function bbcode2html(str)函数中，原因是Chrome、Firefox中对函数的处理有点不一样，函数的最后一个元素是push。解决办法是在：<br />
re = new RegExp(addslashes(smilies[id]['code']), "g");<br />
的前面加入：<br />
if(isNaN(parseInt(id))) continue; //by ZZR</p>
<p>也可以直接下载：<a href="http://bbs.vpser.net/include/javascript/editor.js">http://bbs.vpser.net/include/javascript/editor.js</a> 和 <a href="http://bbs.vpser.net/include/javascript/bbcode.js">http://bbs.vpser.net/include/javascript/bbcode.js</a> 覆盖对应目录下的文件</p>
<p>转自：<a href="http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html">http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html</a></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/google-chrome-ssh-switchy/" title="Google浏览器Chrome SSH翻墙设置教程">Google浏览器Chrome SSH翻墙设置教程</a></li><li><a href="http://blog.licess.org/vim/" title="高效率编辑器 VIM－操作篇，非常适合 VIM 新手">高效率编辑器 VIM－操作篇，非常适合 VIM 新手</a></li><li><a href="http://blog.licess.org/google-pinyin-network-error/" title="谷歌拼音输入法同步时提示“网络错误”的解决方法">谷歌拼音输入法同步时提示“网络错误”的解决方法</a></li><li><a href="http://blog.licess.org/thread-error-cant-start-new-thread/" title="thread.error: can&#8217;t start new thread 解决方法">thread.error: can&#8217;t start new thread 解决方法</a></li><li><a href="http://blog.licess.org/htaccess_editor/" title=".htaccess Editor:在线的.htaccess文件生成编辑器">.htaccess Editor:在线的.htaccess文件生成编辑器</a></li><li><a href="http://blog.licess.org/dz60rc1%e7%9a%84htaccess%e6%96%87%e4%bb%b6%e4%b8%8b%e8%bd%bd/" title="DZ60RC1的.htaccess文件下载">DZ60RC1的.htaccess文件下载</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/discuz6-0-chrome/">Permalink</a> |
<a href="http://blog.licess.org/discuz6-0-chrome/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/discuz6-0-chrome/&title=Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/chrome/" rel="tag">Chrome</a>, <a href="http://blog.licess.org/tag/discuz/" rel="tag">discuz</a>, <a href="http://blog.licess.org/tag/%e5%88%87%e6%8d%a2/" rel="tag">切换</a>, <a href="http://blog.licess.org/tag/%e7%bc%96%e8%be%91%e5%99%a8/" rel="tag">编辑器</a>, <a href="http://blog.licess.org/tag/%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" rel="tag">解决方法</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/discuz6-0-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>谷歌拼音输入法同步时提示“网络错误”的解决方法</title>
		<link>http://blog.licess.org/google-pinyin-network-error/</link>
		<comments>http://blog.licess.org/google-pinyin-network-error/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 06:25:57 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[生活琐碎]]></category>
		<category><![CDATA[同步]]></category>
		<category><![CDATA[拼音输入法]]></category>
		<category><![CDATA[网络错误]]></category>
		<category><![CDATA[解决方法]]></category>
		<category><![CDATA[谷歌]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=757</guid>
		<description><![CDATA[昨天刚装完Windows 7，装上谷歌拼音，登录谷歌用户，同步用户设置和输入习惯时，提示“网络错误”，其实原因是GFW引起，直接在hosts文件修改一下。 Hosts文件位于C:\windows\system32\drivers\etc 在后面加上如下一行： 74.125.47.139 clients2.google.com 相关文章：Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法金山快盘 &#8211; 类Dropbox同步软件推荐DBank：代替Dropbox的国产云同步服务Dropbox 免费网络文件同步工具 最高免费10GB空间thread.error: can&#8217;t start new thread 解决方法Google(谷歌)操作系统ChromeOS发布(附下载地址) 2009年11月更新 © licess for Licess&#039;s Blog, 2010. &#124; Permalink &#124; One comment &#124; Add to del.icio.us Post tags: 同步, 拼音输入法, 网络错误, 解决方法, 谷歌 美国VPS推荐 &#124; 军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付 QQ：503228080]]></description>
			<content:encoded><![CDATA[<p>昨天刚装完Windows 7，装上谷歌拼音，登录谷歌用户，同步用户设置和输入习惯时，提示“网络错误”，其实原因是GFW引起，直接在hosts文件修改一下。</p>
<p>Hosts文件位于C:\windows\system32\drivers\etc 在后面加上如下一行：</p>
<p>74.125.47.139 clients2.google.com</p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/discuz6-0-chrome/" title="Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法">Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法</a></li><li><a href="http://blog.licess.org/kuaipan/" title="金山快盘 &#8211; 类Dropbox同步软件推荐">金山快盘 &#8211; 类Dropbox同步软件推荐</a></li><li><a href="http://blog.licess.org/dbank/" title="DBank：代替Dropbox的国产云同步服务">DBank：代替Dropbox的国产云同步服务</a></li><li><a href="http://blog.licess.org/dropbox/" title="Dropbox 免费网络文件同步工具 最高免费10GB空间">Dropbox 免费网络文件同步工具 最高免费10GB空间</a></li><li><a href="http://blog.licess.org/thread-error-cant-start-new-thread/" title="thread.error: can&#8217;t start new thread 解决方法">thread.error: can&#8217;t start new thread 解决方法</a></li><li><a href="http://blog.licess.org/chromeos/" title="Google(谷歌)操作系统ChromeOS发布(附下载地址) 2009年11月更新">Google(谷歌)操作系统ChromeOS发布(附下载地址) 2009年11月更新</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/google-pinyin-network-error/">Permalink</a> |
<a href="http://blog.licess.org/google-pinyin-network-error/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/google-pinyin-network-error/&title=谷歌拼音输入法同步时提示“网络错误”的解决方法">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%90%8c%e6%ad%a5/" rel="tag">同步</a>, <a href="http://blog.licess.org/tag/%e6%8b%bc%e9%9f%b3%e8%be%93%e5%85%a5%e6%b3%95/" rel="tag">拼音输入法</a>, <a href="http://blog.licess.org/tag/%e7%bd%91%e7%bb%9c%e9%94%99%e8%af%af/" rel="tag">网络错误</a>, <a href="http://blog.licess.org/tag/%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" rel="tag">解决方法</a>, <a href="http://blog.licess.org/tag/%e8%b0%b7%e6%ad%8c/" rel="tag">谷歌</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/google-pinyin-network-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>thread.error: can&#039;t start new thread 解决方法</title>
		<link>http://blog.licess.org/thread-error-cant-start-new-thread/</link>
		<comments>http://blog.licess.org/thread-error-cant-start-new-thread/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 18:34:47 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[生活琐碎]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[thread.error]]></category>
		<category><![CDATA[解决方法]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=712</guid>
		<description><![CDATA[最近给一个代购VPS用yum 命令安装软件，报错： File "/usr/lib/python2.4/threading.py", line 416, in start _start_new_thread(self.__bootstrap, ()) thread.error: can't start new thread 解决方法：编辑 /etc/yum/pluginconf.d/fastestmirror.conf 将enabled=1修改为enabled=0，禁用该功能就可以了。 相关文章：Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法谷歌拼音输入法同步时提示“网络错误”的解决方法 © licess for Licess&#039;s Blog, 2010. &#124; Permalink &#124; 3 comments &#124; Add to del.icio.us Post tags: thread, thread.error, 解决方法 美国VPS推荐 &#124; 军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付 QQ：503228080]]></description>
			<content:encoded><![CDATA[<p>最近给一个代购VPS用yum 命令安装软件，报错：</p>
<p>File "/usr/lib/python2.4/threading.py", line 416, in start<br />
_start_new_thread(self.__bootstrap, ())<br />
thread.error: can't start new thread</p>
<p>解决方法：编辑 /etc/yum/pluginconf.d/fastestmirror.conf</p>
<p>将enabled=1修改为enabled=0，禁用该功能就可以了。</p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/discuz6-0-chrome/" title="Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法">Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法</a></li><li><a href="http://blog.licess.org/google-pinyin-network-error/" title="谷歌拼音输入法同步时提示“网络错误”的解决方法">谷歌拼音输入法同步时提示“网络错误”的解决方法</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/thread-error-cant-start-new-thread/">Permalink</a> |
<a href="http://blog.licess.org/thread-error-cant-start-new-thread/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/thread-error-cant-start-new-thread/&title=thread.error: can't start new thread 解决方法">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/thread/" rel="tag">thread</a>, <a href="http://blog.licess.org/tag/thread-error/" rel="tag">thread.error</a>, <a href="http://blog.licess.org/tag/%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" rel="tag">解决方法</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/thread-error-cant-start-new-thread/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

