桑葚你好,最近我在 wp mu 上安装”中文 WordPress 工具箱”后出现错误,提示为 WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE post_status = 'publish' AND post_password ='' ORDER BY pos]
SELECT ID, post_title, post_date, post_content FROM WHERE post_status = ‘publish’ AND post_password =” ORDER BY post_date DESC LIMIT 0, 5 我想可能是数据库版本不同引起的语法错误,服务器Mysql版本是4.1.20,在本地MySQL 5.0.19下测试无此问题.我对数据库知识了解不多,请问这个错误形成的原因以及有什么好的方法来解决这个问题?
WordPress 数据库错误: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE post_status = 'publish' AND post_password ='' ORDER BY post_date DESC LIMI' at line 1]
SELECT ID, post_title, post_date, post_content FROM WHERE post_status = ‘publish’ AND post_password =” ORDER BY post_date DESC LIMIT 0, 5
Warning: Invalid argument supplied for foreach() in /www/users/underone.com/wp-content/plugins/mulberrykit.php on line 179
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
———————————————————————-
Invalid at the top level of the document. Error processing resource ‘http://www.ixuewen.net/?feed=rss2′. Line 1, Position 1
hi,不知道你有没有装过多用户版的wordpress。我在安装的时候出现无法找到数据库表的错误
Fatal Error
Could Not Find Blog!
Searched for 202.X.X.X/ in wpmu::wpmu_blogs table. Is that right?
Please check that your database contains the following tables:
wpmu_blogs
wpmu_users
wpmu_usermeta
wpmu_site
wpmu_sitemeta
wpmu_sitecategories
——————————————————–
January 10th, 2007 at 1:45 pm
这里的留言已经关闭,有问题去这里提。
December 22nd, 2006 at 12:36 pm
桑葚:
你好。
假如我想在blog文章的前后分别显示两篇随机文章,于是分别调用一次这个函数,那么调用出来的前后随机文章是不是有可能重复了?怎么解决?
random_posts()的$length的数值是表示字符吧?可不可以设置成一定范围内的随机数,比如200~300这个范围的随机数。
December 10th, 2006 at 8:44 am
请教一下,为什么我的WP安装到主机上后,启用了固定链接功能后就出现”服务器内部错误”提示,FTP重新上传文件以及设了个新的数据库,再次安装仍旧提示”服务器内部错误”,我记得网管跟我说过我的空间不支持固定链接,究竟是什么问题呢?
还有就是您前面说的Permalink是什么东西?我是一个菜鸟,对于这方面不懂;如果FTP客户端不支持显示.为前缀的文件,要怎么才能显示出.htaccess文件?我使用的是CuteFTP客户端.谢谢
November 18th, 2006 at 6:57 am
桑葚你好,最近我在 wp mu 上安装”中文 WordPress 工具箱”后出现错误,提示为
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE post_status = 'publish' AND post_password ='' ORDER BY pos]我想可能是数据库版本不同引起的语法错误,服务器Mysql版本是4.1.20,在本地MySQL 5.0.19下测试无此问题.我对数据库知识了解不多,请问这个错误形成的原因以及有什么好的方法来解决这个问题?SELECT ID, post_title, post_date, post_content FROM WHERE post_status = ‘publish’ AND post_password =” ORDER BY post_date DESC LIMIT 0, 5
November 17th, 2006 at 3:01 am
怎么修改哇??教教偶咯,嘿嘿
November 16th, 2006 at 10:15 pm
GJ,两个东西我都没用过,所以不清楚了
氧气层,你得自己修改一些插件
November 16th, 2006 at 5:48 am
我用你的中文工具箱,文章显示摘要是点点点。不能出现显示全文或者阅读全文四个字么?
November 11th, 2006 at 6:48 am
你好,我是个刚用Wordpress2.0.5的新手.想请教一下我装了
(ImageManager和wp-lightboxJS_latest) 2个插件会出现网页错误.
如果装以上单个插件不会出现网页错误.虽然是个小问题。但是有错误总感觉不
爽。希望大大能帮忙看下是什么问题。有什么解决方法吗?谢先
October 20th, 2006 at 8:17 am
你是不是在自己电脑上修改,然后再上传这样的?
如果是的话,试试直接在 wordpress 的后台修改。
October 19th, 2006 at 10:58 am
你好,想请教一下,我使用K2 0.9.1模版,在header.php添加自定义连接,
举例说明后,前台会变成乱码,footer也一样,这里需要修改哪个文件不会乱码?September 21st, 2006 at 5:50 pm
想请教,K2模版中Rolling Archives功能滑杆两边的”newer”和”older”的字体在哪里定义?
其他的都搞定了,就这里找不到….郁闷ing
谢谢了先^_^
September 6th, 2006 at 2:15 am
wordpress 后台管理里中设置显示文章摘要,但在主页中却无法显示摘要,这是为什么?如何解决?
August 29th, 2006 at 12:37 pm
使用参数为
最新文章
August 29th, 2006 at 12:35 pm
您好,我有个这样的问题
WP版本是2.1Alpha2
如果使用插件的话,会显示一下内容
WP2.04没有问题:)
WordPress 数据库错误: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE post_status = 'publish' AND post_password ='' ORDER BY post_date DESC LIMI' at line 1]
SELECT ID, post_title, post_date, post_content FROM WHERE post_status = ‘publish’ AND post_password =” ORDER BY post_date DESC LIMIT 0, 5
Warning: Invalid argument supplied for foreach() in /www/users/underone.com/wp-content/plugins/mulberrykit.php on line 179
August 5th, 2006 at 12:42 pm
桑葚,你有没有碰到过Allowed memory错误.我折腾了半天也搞不定.详细情况可以看一下我的Blog!有空给看看.呵呵
August 2nd, 2006 at 7:31 am
http://blog.wangpoker.com
1、老桑帮我看看我的blog。怎么在加keywords和description?我的就一个title。
2、怎么加tags?
我是个新手,才使用wordpress几天。希望指教。
July 26th, 2006 at 2:35 pm
好像两个问题是同一个问题。我也不清楚了。
July 26th, 2006 at 4:52 am
忘了还有一个问题就是,我的blog基本上每次打开一个页面都是一个空白页,必须要刷新一次才能看到内容。不知道别人看是怎么样的。我查了wordpress.org的support,也没找到解决办法。头好大!
July 26th, 2006 at 4:47 am
有问题要请教桑葚了。
我的WP无法用rss输出。我输入http://www.ixuewen.net/?feed=rss2之后就会出现下列的报错信息。
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
———————————————————————-
Invalid at the top level of the document. Error processing resource ‘http://www.ixuewen.net/?feed=rss2′. Line 1, Position 1
^
这个到底是什么意思呢?刚开始用WP,对PHP也不熟,怎么也解决不了啊
July 20th, 2006 at 3:41 am
我用的wordpress2.0.3cn,可是自带的备份插件无法正常使用,每次到4%的时候就停住不用了(另装有中文工具箱插件),会不会是他们之间的问题?
其他还有什么好的备份插件?哪里可以下?
谢谢
July 3rd, 2006 at 3:48 pm
实际上用 e 文好,快一点。
July 2nd, 2006 at 10:10 am
唉,我也不知道是什么原因,config里面我已经把define (’WPLANG’, ‘zh_CN’);改成这样了,还是不行。算了,还是用E文吧:(,谢谢!
July 2nd, 2006 at 8:04 am
回wlev,不要用configuration 里的Automatically include primary tag links,把它关掉。然后到模板编辑里找到single post,在里面加
关键字: “>即可。
至于为什么要放到span 里,可参看
http://www.caoshouguang.com/blog/?p=91
July 1st, 2006 at 3:53 pm
wlev,我没用 UTW,我想你只要在调用的函数前面写上关键字:就可以了。
zhu8,不会吧。会不会忘了改 wp-config.php 里面的设置?
July 1st, 2006 at 9:51 am
你好,桑葚!不知道为什么现在我重新安装的WP2.0.3无法汉化后台?
zh_CN.mo根本不起作用,我设置肯定没问题,原来1.5的时候没这种情况。很是郁闷。
谢谢!
June 30th, 2006 at 5:45 pm
我已经使用了UTW,而且能够显示tag,tag显示在正文下方.
我想在tag前面加上”关键字:”,改怎么加呢?谢谢!
June 12th, 2006 at 12:05 pm
wpmu 需要 .htacess支持 ,Apache mod_rewrite
June 11th, 2006 at 5:24 am
hi,不知道你有没有装过多用户版的wordpress。我在安装的时候出现无法找到数据库表的错误
Fatal Error
Could Not Find Blog!
Searched for 202.X.X.X/ in wpmu::wpmu_blogs table. Is that right?
Please check that your database contains the following tables:
wpmu_blogs
wpmu_users
wpmu_usermeta
wpmu_site
wpmu_sitemeta
wpmu_sitecategories
——————————————————–
但是我的数据库wpmu是正常的,我看了看,里面也是有这些表的:wpmu_blogs,wpmu_users,wpmu_usermeta,wpmu_site,wpmu_sitemeta,wpmu_sitecategories
请教一下,我应该怎么作呢!!
在网上找了找,有人说跟.htaccess这个文件有关,我不会改,就把这个文件删掉了,但是还是有以上的错误:(
June 2nd, 2006 at 8:59 am
edong的300型空间不支持.htaccess