Skip to content
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

WindidUtility.php:怪异的continue。PHP7测试无法登录。 #67

Closed
jia-dai opened this issue Dec 1, 2016 · 6 comments
Closed

Comments

@jia-dai
Copy link

jia-dai commented Dec 1, 2016

src/windid/service/base/WindidUtility.php
第109行。怪异的continue。PHP7测试无法登录。建议考虑注释掉。

            if (!isset($exts[$imageInfo[2]])) {
                //continue;
            }
@medz
Copy link
Owner

medz commented Dec 1, 2016

并没有无法登陆,你应该打印错误信息~而不是删代码~

@medz medz closed this as completed Dec 1, 2016
@jia-dai
Copy link
Author

jia-dai commented Dec 1, 2016

[2016-12-01 07:13:01] ERROR! Message: Class 'WindidUtility' not found
I:\PHPWeb\pw9\src\windid\api\local\WindidUserApi.php:28
#15 I:\PHPWeb\pw9\src\windid\api\local\WindidUserApi.php (28) login("admin","xxxxxxx",2,false,null,null)
#14 I:\PHPWeb\pw9\src\service\user\srv\PwTryPwdBp.php (80) login("admin","xxxxxxx",2,false,null,null)
#13 I:\PHPWeb\pw9\src\service\user\srv\PwLoginService.php (51) auth("admin","xxxxxxx","::1",false,null,null)
#12 I:\PHPWeb\pw9\src\applications\u\controller\LoginController.php (272) login("admin","xxxxxxx","::1",null,null)
#11 I:\PHPWeb\pw9\vendor\medz\windframework\wind\web\WindSimpleController.php (49) dorunAction()
#10 I:\PHPWeb\pw9\vendor\medz\windframework\wind\filter\WindHandlerInterceptorChain.php (68) doAction(WindRouter)
#9 I:\PHPWeb\pw9\vendor\medz\windframework\wind\filter\WindHandlerInterceptor.php (68) handle(WindRouter)
#8 I:\PHPWeb\pw9\vendor\medz\windframework\wind\filter\WindHandlerInterceptor.php (66) handle(WindRouter)
#7 I:\PHPWeb\pw9\vendor\medz\windframework\wind\filter\WindHandlerInterceptor.php (66) handle(WindRouter)
#6 I:\PHPWeb\pw9\vendor\medz\windframework\wind\filter\proxy\WindClassProxy.php (107) handle(WindRouter)
#5 I:\PHPWeb\pw9\vendor\medz\windframework\wind\base\AbstractWindApplication.php (94) __call("doAction",array(
'0' => NULL,
))
#4 I:\PHPWeb\pw9\vendor\medz\windframework\wind\base\AbstractWindFrontController.php (217) run(WindRouter)
#3 I:\PHPWeb\pw9\vendor\medz\windframework\wind\web\WindWebFrontController.php (23) run()
#2 I:\PHPWeb\pw9\src\Wekit.php (41) run()
#1 I:\PHPWeb\pw9\index.php (10) run("phpwind")

@jia-dai
Copy link
Author

jia-dai commented Dec 1, 2016

整个代码没看到循环,不大理解这里continue的作用。

@medz
Copy link
Owner

medz commented Dec 1, 2016

WindidUtility找不到这个类~

@medz medz reopened this Dec 1, 2016
@medz
Copy link
Owner

medz commented Dec 1, 2016

可能是加载问题~什么情况下出现的?请问下~

@medz
Copy link
Owner

medz commented Dec 3, 2016

修复了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants