- 主题:charset `GBK' not supported, apache里面已经添加AddDefaultCh
花了一下午的时间~~基本安装完成了,不过头部广告位置显示下面的错误:啥原因?apache里面已经添加AddDefaultCharset gb2312了。
Notice (8): Uninitialized string offset: 0 [APP/tmp/compile/3c6549e6ca8b36461c9be3656150544e1495178b.file.front.tpl.php, line 65] javascript:void(0);"
Warning: htmlspecialchars() [function.htmlspecialchars]: charset `GBK' not supported, assuming iso-8859-1 in /var/www/html/nForum/cake/basics.php on line 206
--
FROM 106.187.50.*
啥版本php啊
【 在 MZC (忘我) 的大作中提到: 】
: 花了一下午的时间~~基本安装完成了,不过头部广告位置显示下面的错误:啥原因?apache里面已经添加AddDefaultCharset gb2312了。
: Notice (8): Uninitialized string offset: 0 [APP/tmp/compile/3c6549e6ca8b36461c9be3656150544e1495178b.file.front.tpl.php, line 65] javascript:void(0);"
: Warning: htmlspecialchars() [function.htmlspecialchars]: charset `GBK' not supported, assuming iso-8859-1 in /var/www/html/nForum/cake/basics.php on line 206
: ...................
--
FROM 114.241.179.*
PHP Version 5.1.6
【 在 fancyrabbit 的大作中提到: 】
: 啥版本php啊
--
FROM 106.187.50.*
运行源码根目录下的install.sh没有指定对cakephp的路径?在install的时候会对cake的代码打patch,这个warning会被patch掉
还有就是你的app/config/nforum.php的site.prefix是nForum么
【 在 MZC (忘我) 的大作中提到: 】
: 花了一下午的时间~~基本安装完成了,不过头部广告位置显示下面的错误:啥原因?apache里面已经添加AddDefaultCharset gb2312了。
: Notice (8): Uninitialized string offset: 0 [APP/tmp/compile/3c6549e6ca8b36461c9be3656150544e1495178b.file.front.tpl.php, line 65] javascript:void(0);"
: Warning: htmlspecialchars() [function.htmlspecialchars]: charset `GBK' not supported, assuming iso-8859-1 in /var/www/html/nForum/cake/basics.php on line 206
: ...................
--
修改:xw2423 FROM 210.76.114.*
FROM 210.76.114.*
1、: 运行源码根目录下的install.sh没有指定对cakephp的路径? 怎么指定呢?
2、app/config/nforum.php的site.prefix是nForum
【 在 xw2423 的大作中提到: 】
: 运行源码根目录下的install.sh没有指定对cakephp的路径?在install的时候会对cake的代码打patch,这个warning会被patch掉
: 还有就是你的app/config/nforum.php的site.prefix是nForum么
--
FROM 116.226.64.*
./install.sh cake
1 out of 3 hunks FAILED -- saving rejects to file console/cake.php.rej
哪儿的问题呢
【 在 xw2423 的大作中提到: 】
: 运行源码根目录下的install.sh没有指定对cakephp的路径?在install的时候会对cake的代码打patch,这个warning会被patch掉
: 还有就是你的app/config/nforum.php的site.prefix是nForum么
--
FROM 116.226.64.*
你看一下那个rej,手动打一下补丁
【 在 MZC (忘我) 的大作中提到: 】
: ./install.sh cake
: 1 out of 3 hunks FAILED -- saving rejects to file console/cake.php.rej
: 哪儿的问题呢
: ...................
--
FROM 114.241.179.*
手动还不会......
运行那个命令的时候,不需要做对patch/cake.patch 做什么修改吧?
这个文件的48行:+define(CURRENTFILE, "/path/to/cake/console/cake.php");
需要修改吗?
【 在 fancyrabbit 的大作中提到: 】
: 你看一下那个rej,手动打一下补丁
:
--
FROM 116.226.64.*