shycat没配置成功,大概是什么问题

8 views
Skip to first unread message

Ymir

unread,
Sep 27, 2009, 3:04:39 AM9/27/09
to kiwiphp

Fatal error: Access to undeclared static property: Db::$server in D:
\AppServ\www\kiwiphp\runtime\extension\db\table.php on line 203

Qin Jianxiang

unread,
Sep 27, 2009, 3:46:22 AM9/27/09
to kiw...@googlegroups.com
用kiwiphp release 0.2.1
不要用kiwiphp trunk,有小改动:)

2009/9/27 Ymir <tia...@gmail.com>:
>
>
> Fatal error: Access to undeclared static property: Db::$server in D:
> \AppServ\www\kiwiphp\runtime\extension\db\table.php on line 203
>
> >
>



--
覃健祥
Qin Jianxiang

Yahoo! China
Bei Jing: +86-10-65986326 13718019218
Hang Zhou: +86-571-26880088-32168 15869189348

TianYi

unread,
Sep 27, 2009, 3:49:46 AM9/27/09
to kiw...@googlegroups.com
Fatal error: Class 'PDO' not found in
D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapterPdo.php on line
35


谢谢啊,换成0.2.1了

2009/9/27 Qin Jianxiang <talkati...@gmail.com>:

Qin Jianxiang

unread,
Sep 27, 2009, 3:53:57 AM9/27/09
to kiw...@googlegroups.com
这个就是没安装php_pdo扩展了
kiwiphp的系统需求参见这里:
http://wiki.kiwiphp.com/System_Requirement/zh

2009/9/27 TianYi <tia...@gmail.com>:

TianYi

unread,
Sep 27, 2009, 4:09:01 AM9/27/09
to kiw...@googlegroups.com
非常感谢,怪我没仔细看配置


有个问题,在db_server.php里配置完了后,怎么没看到需要配置mysql的host

现在报错是数据库没连接


Fatal error: Uncaught exception 'Exception' with message 'No database
server can be connected.' in
D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php:303 Stack
trace: #0 D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapterPdoMysql.php(104):
DbAdapter->query('DESCRIBE ip_bla...') #1
D:\AppServ\www\kiwiphp\runtime\kiwi.php(146):
DbAdapterPdoMysql->showFields('ip_blacklist') #2
D:\AppServ\www\kiwiphp\runtime\kiwi.php(415):
KiwiSystemCache::getConfig('kiwi_conf_20720...', 'D:\AppServ\www\...',
Array) #3 D:\AppServ\www\kiwiphp\runtime\kiwi.php(444):
Kiwi::init(Array, true) #4
D:\AppServ\www\shycat\web_entrance\frontend\index.php(7):
Kiwi::run(Array, 'Index', 'Index') #5 {main} thrown in
D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php on line 303

2009/9/27 Qin Jianxiang <talkati...@gmail.com>:

talkati...@gmail.com

unread,
Oct 21, 2009, 9:19:29 PM10/21/09
to kiwiphp
你用不用旺旺的,淘宝有个同事最近在学习shycat示例
遇到错误的过程和你完全一样,要不我们到一个旺旺群(QQ群)来交流一下?

On Sep 27, 4:09 pm, TianYi <tia...@gmail.com> wrote:
> 非常感谢,怪我没仔细看配置
>
> 有个问题,在db_server.php里配置完了后,怎么没看到需要配置mysql的host
>
> 现在报错是数据库没连接
>
> Fatal error: Uncaught exception 'Exception' with message 'No database
> server can be connected.' in
> D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php:303 Stack
> trace: #0 D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapterPdoMysql.php(104):
> DbAdapter->query('DESCRIBE ip_bla...') #1
> D:\AppServ\www\kiwiphp\runtime\kiwi.php(146):
> DbAdapterPdoMysql->showFields('ip_blacklist') #2
> D:\AppServ\www\kiwiphp\runtime\kiwi.php(415):
> KiwiSystemCache::getConfig('kiwi_conf_20720...', 'D:\AppServ\www\...',
> Array) #3 D:\AppServ\www\kiwiphp\runtime\kiwi.php(444):
> Kiwi::init(Array, true) #4
> D:\AppServ\www\shycat\web_entrance\frontend\index.php(7):
> Kiwi::run(Array, 'Index', 'Index') #5 {main} thrown in
> D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php on line 303
>
> 2009/9/27 Qin Jianxiang <talkativedo...@gmail.com>:
>
>
>
> > 这个就是没安装php_pdo扩展了
> > kiwiphp的系统需求参见这里:
> >http://wiki.kiwiphp.com/System_Requirement/zh
>
> > 2009/9/27 TianYi <tia...@gmail.com>:
>
> >> Fatal error: Class 'PDO' not found in
> >> D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapterPdo.php on line
> >> 35
>
> >> 谢谢啊,换成0.2.1了
>
> >> 2009/9/27 Qin Jianxiang <talkativedo...@gmail.com>:

TianYi

unread,
Oct 21, 2009, 9:25:10 PM10/21/09
to kiw...@googlegroups.com
哈哈,好啊。我的旺旺是Ymir

2009/10/22 Talkati...@gmail.com <talkati...@gmail.com>:

Qin Jianxiang

unread,
Oct 21, 2009, 9:27:21 PM10/21/09
to kiw...@googlegroups.com
kiwiphp user group 群id:109954293

2009/10/22 TianYi <tia...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages