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()函数中,解决办法是在 (更多...)
» 阅读全文...
昨天刚装完Windows 7,装上谷歌拼音,登录谷歌用户,同步用户设置和输入习惯时,提示“网络错误”,其实原因是GFW引起,直接在hosts文件修改一下。
Hosts文件位于C:\windows\system32\drivers\etc 在后面加上如下一行:
74.125.47.139 clients2.google.com
» 阅读全文...
最近给一个代购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,禁用该功能就可以了。
» 阅读全文...