简体   繁体   English

XAMPP - 找不到对象

[英]XAMPP - Object not found

Object not found!找不到对象!

The requested URL was not found on this server.在此服务器上找不到请求的 URL。 The link on the referring page seems to be wrong or outdated.引用页面上的链接似乎有误或已过时。 Please inform the author of that page about the error.请将该错误告知该页面的作者。

If you think this is a server error, please contact the webmaster.如果您认为这是服务器错误,请联系网站管理员。

Error 404错误 404

jw.dev Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/7.1.1 jw.dev Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/7.1.1

I am following the PHP tutorial in Laracasts.我正在关注 Laracasts 中的 PHP 教程。 And on the - Make a router - the 16th episode, after following the up to the middle part, whenever I would run the codes, I would get the "Object not found" error whenever I try to add /about (about.php) on jw.dev (localhost).在 - 制作路由器 - 第 16 集中,在跟踪到中间部分之后,每当我运行代码时,每当我尝试添加 /about (about.php) 时,我都会收到“找不到对象”错误在 jw.dev(本地主机)上。 But if only jw.dev, it is alright.但是如果只有 jw.dev 就可以了。 The default index.php will display.将显示默认的 index.php。

I've tried changing a few settings in httpd.conf but still the same.我试过更改 httpd.conf 中的一些设置,但还是一样。 Followed a couple of instructions here and there but to no avail.在这里和那里遵循了一些说明,但无济于事。

You can take a look on the pic that I've uploaded.你可以看看我上传的图片。

try adding index.php to your url for once.尝试将 index.php 添加到您的网址一次。 So i mean something like mysite.com/index.php/about.所以我的意思是类似于 mysite.com/index.php/about。 If this works then you'll know it is a routing problem.如果这有效,那么您就会知道这是一个路由问题。 If not.如果不。 It could be a missing file or many other things.它可能是丢失的文件或许多其他东西。 Let me know if it works!让我知道它是否有效!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM