近期国内访问picasa不畅,但本站有些文章的配图是存于picasa相册的,所以图片也就看不到了,特此知会一声~~
如果想要能正常查看,Window 系统请按以下方法处理。
1、用记事本打开 C:WINDOWSsystem32driversetchosts
2、填加如下内容:
203.208.39.104 picasaweb.google.com
203.208.39.99 lh1.ggpht.com
203.208.39.99 lh2.ggpht.com
203.208.39.99 lh3.ggpht.com
203.208.39.99 lh4.ggpht.com
203.208.39.99 lh5.ggpht.com
203.208.39.99 lh6.ggpht.com
3、保存。
Updated WP to 2.8 , then I soloved a permission problem of phpbb3. The owner of some files created by PHP is nobody , and the Public permissions of them is 0 ,that means other users can not read them at least, so I could not backup files via ftpclient and I could not chmod via ftpclient obviously.
I wrote some codes,
<?php
$sign=chmod(‘filename’,0644);
echo $sign;
?>
Then uploaded it to the directories via ftpclient and ran them via web browser, all things became OK.
wordpress还有这样的礼遇。话说,某晚,突然发现有个帖子被疯狂的评论,10分钟之内剧增到40个评论,遂感不妙,被垃圾评论盯上了,而且一个评论一个IP,连mail 都不同。赶紧到网上求援,于是装了Akismet插件,总算拦截住,第二天早上一看,乖乖,看统计
Akismet has protected your site from 170 spam comments already, and there’s 160 comment in your spam queue right now.
这要是靠我手工删还不把我累死?于是赶紧关闭了那个帖子的评论功能。话说Akismet安装时还需要个code到wordpress展上申请,不过发现居然打不开页面,最后翻墙过去,无语。
http://bbs.davidrobot.com/
希望可以有志同道合者共同来一起交流!
如果想取得好的效果,必定要有一些差异化的特色,这个只有随着对行业认识的加深慢慢来领悟了。
早上起来照例打开我的小站,不料却发现首页赫然不是我熟悉的页面,然后反应过来,被黑了!幸好我有备份,hacker也手下留情只是改了一个页面。于是赶紧恢复,然后修改所有密码。Damn hacker!
<image>
晚上8点,居然又被改了,气坏. 找support(我以为是ISP的问题),人家回复说:
“Hackers penetrates into your domain with use if improper permission setup and i have found most of the folder’s having 777 setup. Now i have reverted all permission setup for your domain. Please try to upload your site content freshly.”
记不得我才安装时的权限设置了,也许我真的设置了777? 让人哭笑不得的是support那位仁兄热心查看我的database,说
“I have found that hacker coding is being injected in the table wp-posts and i have removed it successfully. Please check it now.”
岂有此理,居然不事先通知我就删我数据。我回本站一看,哟,这个帖子不见了,赶紧回复他,他说
“If you need to restore the Db to previous stage,then i will do it right now. Please update me and i have removed only the hack image and their post found in wp_posts tables under ID 358, 359.”
那就恢复吧,然后我一看,可不,把我写的这个post当作hacker写的了,真不知道老外怎么想的,当时心里就想,这老外要是懂中文看我这帖子也不会说这帖子是hacker搞的阿,看来普及中文任重道远!
不管怎样,在support帮我改了权限后,看那个无聊的hacker还不会惹事不。
p.s. 考虑到不能为hacker免费宣传,图片还是下掉了。
终于把以前在roboticfan的blog文章转了过来,彼blog用的oblog程序,需要转成此wordpress能导入的。不过网上的文章都是转来转去,难免有些不适合自己。
在 http://www.52004.com.cn/897.html 写道
首先进入Oblog的后台,选择日志里的备份日志,导出XML格式。
使用记事本打开,将 ]]> 替换为 ]]></content:encoded>,<![CDATA[#isubb 替换为 <content:encoded><![CDATA[,将文档内的<description> 与</description>全部删除(就是这条,冰古大大没有写)。将头部的encoding=”gb2312″修改为 encoding=”utf-8″。另存时选择UTF-8格式。
然后选择WordPress里管理,导入,RSS导入。
之后呢就是漫长的整理分类了。
<![CDATA[#isubb 实际上我没有发现#isubb,所以我改成替换<![CDATA[
不过,以前post的commnet内容没有转过来,也就算了。
Recent Comments