惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - 尉迟方

华容道研究 - 华容道资料大全 - 华容道完全求解 最近做的在线游戏:华容道(53关),界面古朴典雅,过关过程可回放 zz代码发芽网更新 - 界面清晰、支持论坛(Discuz!)、一键复制HTML/BBcode 代码发芽网更新了22个颜色主题zz 代码发芽网(Beta版)发布,欢迎测试、试用zz 如何编写PocketPC上的输入法 如何向目标窗口发送一个Unicode 字符? firefox使用技巧 - 公司内部站点 如何实现快速的diff工具(windiff, winmerge)? 决定搬家到 http://www.2maomao.com/blog/ ,这里以后只更新一些技术问题 整理了一下IE的右键菜单 - 直接禁止add on,爽 猛烈推荐开源编辑器notepad2,替换notepad 搞笑创意 zz 消遣一下:这舞跳的真tmd绝了 Bill Gate & Microsoft Windows's *BLUE* time. 中国工商银行网上银行,客户权利那么少,义务那么多,敢开吗? C# String 的问题:immutable why? how? 传值?传引用?string/String? 争论webos是否是os有什么意义? 以前看古龙时的选摘
如何搞定Bluehost.com上面wordpress中文版
尉迟方 · 2006-05-25 · via 博客园 - 尉迟方

不知道什么原因,wordpress在bluehost.com上面的中文版始终不能显示中文。查了google,似乎有许多道友也一样始终只能用英文。
我查了一下,曾经有人因为bluehost.com上面的PHP函数设置问题在联系bluehost.com客服之后搞定了

很久没有联系客服了,大体是中国这边的客服态度一直让人来气,早已忘记还有客服可以请教

于是乎就在bluehost.com上面帖了一个问题:

Hey,

I am from China, I just made a blog on 2maomao.com by wordpress, but it seems doesn't work in Chinese language, but the same code works just fine on my local machine(I work on local machine first then upload).

wordpress is based on php+mysql, and the version on bluehost is higher than the requirement as I have checked. But it still don't work correctly on Chinese language.

wordpress use wp-config.php and zh_CN.mo to configure into Chinese language mode.

I know from here that bluehost have some limits on php which can cause problem when using wordpress: http://wordpress.org/support/topic/35294

Is my blog problem caused by php limits of bluehost? How can I get it work?

过了两天才收到回信:

I am sorry but we can not provide support for third party programs. This is a wordpress bug, I suggest you contact work press about help with their product.

Please be aware that we can not normally provide support for a 3rd party program, however I have seen this issue before with wordpress and it may help you to know this is a bug with their MAGIC1 and MAGIC2 variables in the gettext.php file. You are using a custom install of workpress so I can not say this will solve the issue for sure, but replacing the $MAGIC1 line with:

$MAGIC1 = 2500072158;

and the $MAGIC2 line with:

$MAGIC2 = 3725722773;

may solve this problem for you.

Thank you,
Spencer
BlueHost Support Team

意思是说他们对第三方程序无法提供支持然后建议更改gettext.php中两个MAGIC变量值

去看了一下源码,那段代码的注释中说MAGIC1和MAGIC2是因为PHP5的Bug而存在的,不管了,死马当活马医,做了更改:

$MAGIC1 = 2500072158;
$MAGIC2 = 3725722773;

然后更新了一下网站,居然神奇的搞定了。

从这件事情来看,Bluehost.com的客服还是不错的,随机发了表扬信:D


posted on 2006-05-25 14:58  尉迟方  阅读(1523)  评论()    收藏  举报