-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用 assemble 方法出现502问题。。。 #134
Comments
hi, 能把相关的错误log发出来看一下么,有没有core dump发生? |
最好提供一个最小化的触发问题的脚本和core的backtrace信息 |
看日志没找到实用的信息 nginx: |
我在本机(ubuntu)是没有问题的,到服务器centos才出现的问题 |
可以重现的脚本发一下,assemble去掉就不502了么? |
不调用assemble 不会出现502 $router = new Yaf_Router();
$route = new Yaf_Route_Rewrite(
"/detail/:id",
array(
'controller' => 'index',
'action' => 'detail',
'module' => 'kfc'
)
);
$router->addRoute("kfc/index/detail", $route);
var_dump($router->getRoute('kfc/index/detail')->assemble(
array(
':id' => '1',
)
));exit; |
我已经定位问题 下个版本会fix这个问题 当前版本 你可以通过 给assemble第二个参数传入 array()来解决 |
哈哈 已解决~~ 多谢!! |
还真有人用assemble啊,我用sprintf来生成。。。 2014-11-07 18:17 GMT+08:00 codejm notifications@github.com:
|
各位大牛。。小弟遇到这个问题,求助。。
php 5.4.25
nginx 1.6.1
centos 5.9
yaf 2.3.3
The text was updated successfully, but these errors were encountered: