这几天一直在想这个问题,困扰我半个多月啊。论坛发的帖子也无人问津,只有发挥自己动手,丰衣足食的毛泽东精神,XXXX
1.全新安装的2003,配置php5+sql5,不行;配置php4+mysql5,还是不行。
2.全新安装xp,还是一样的结果;
3.装了首页的应用程序
服务器3.1,里面用的是apache,居然可以了。然后折腾IIS6.0若干天,该死的差点误入歧途。
4.中间上
www.mambochina.com下载了4.64安装,最后一步出错,差点放弃,今天实在憋不住,再拿出来研究,这时候,真是要感谢万能的google啊。
google安装时的出错讯息:SQL=BLOB/TEXT column 'comments' can't have a default value:
得到如下页面,正是曼波的:
http://forum.mambo-foundation.org/archive/index.php?t-1172.html
虽然,我的英文才过二级,但总算就着牛津词典,看明白了啊!
Is your
MySQL 5 running in strict mode? It would appear so. The first recommendation is to disable strict mode. If you can't and/or your host will not make the change for you then the following statements can be swapped out for the current ones in installation/mambo.sql and they should work:
万能的主啊,感谢圣父圣母,感谢CCTV,XXXX
再次搜索 disable strict mode
答案很明显了啊:
http://community.postnuke.com/Wiki-DisablingMySQL5StrictMode.htm
关键就是这一句啊:
SET @@global.sql_mode='MYSQL40'
再来看4.64的安装正常了,一喜,再看曼波
中文,好了。注册
用户登录没问题,后台也能看到
用户了。神啊。。。。
看来5.50还是不够人性啊,环境检查,安装什么的都十分正常,就是不能正常使用。可怜我头发白了好几根啊。
大家看吧,顶吧。
没有任何技术含量,只是google的功劳。





