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

报Not Found 错误 #4

Closed
zqsds opened this issue Mar 15, 2018 · 4 comments
Closed

报Not Found 错误 #4

zqsds opened this issue Mar 15, 2018 · 4 comments

Comments

@zqsds
Copy link

zqsds commented Mar 15, 2018

Not Found
#0 D:\phpStudy\WWW\owl_test\mysite\vendor\yeaha\owl-mvc\src\Mvc\Router.php(230): Owl\Http\Exception::factory(404)
#1 D:\phpStudy\WWW\owl_test\mysite\vendor\yeaha\owl-mvc\src\Mvc\Router.php(166): Owl\Mvc\Router->respond(Object(Owl\Http\Request), Object(Owl\Http\Response))
#2 D:\phpStudy\WWW\owl_test\mysite\boot.php(59): Owl\Mvc\Router->execute(Object(Owl\Http\Request), Object(Owl\Http\Response))
#3 [internal function]: {closure}(Object(Owl\Http\Request), Object(Owl\Http\Response))
#4 D:\phpStudy\WWW\owl_test\mysite\vendor\yeaha\owl-core\src\Middleware.php(83): call_user_func_array(Object(Closure), Array)
#5 D:\phpStudy\WWW\owl_test\mysite\vendor\yeaha\owl-mvc\src\Application.php(110): Owl\Middleware->execute(Array)
#6 D:\phpStudy\WWW\owl_test\mysite\vendor\yeaha\owl-mvc\src\Application.php(92): Owl\Application->execute(Object(Owl\Http\Request), Object(Owl\Http\Response))
#7 D:\phpStudy\WWW\owl_test\mysite\index.php(7): Owl\Application->start()
#8 {main}

我的报这个错误

@yeaha
Copy link
Owner

yeaha commented Mar 19, 2018

你的controller没有被找到呗,访问一个不存在的地址,当然会404 Not Found

@zqsds
Copy link
Author

zqsds commented Mar 19, 2018

class的路径前面多了一个Controller,我的apache配置是有问题么

@zqsds
Copy link
Author

zqsds commented Mar 19, 2018

我没有配置nginx进行映射,现在已经解决了

@yeaha
Copy link
Owner

yeaha commented Mar 20, 2018

解决了就好

@yeaha yeaha closed this as completed Mar 20, 2018
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