Welcome Guest, Not a member yet? Register   Sign In
404 - File Not Found
#1

Hi all,
I'm running the ci_news app on my local network:
Code:
php spark serve --host 192.168.1.15


CodeIgniter CLI Tool - Version 4.0.4 - Server-Time: 2020-11-03 09:21:28am
CodeIgniter development server started on http://192.168.1.15:8080
Press Control-C to stop.
[Tue Nov  3 10:21:28 2020] PHP 7.4.12 Development Server (http://192.168.1.15:8080) started
[Tue Nov  3 10:26:26 2020] 192.168.1.5:54946 Accepted
[Tue Nov  3 10:26:26 2020] 192.168.1.5:54945 Accepted
[Tue Nov  3 10:26:26 2020] 192.168.1.5:54945 Closing


I can load the default page into a browser:

http://192.168.1.15:8080/
Welcome to CodeIgniter 4.0.4

But after going through the tutorial I cannot  load the pages.

http://192.168.1.15:8080/pages
404 - File Not Found

[Tue Nov  3 10:45:32 2020] 192.168.1.5:55074 Accepted
[Tue Nov  3 10:45:32 2020] 192.168.1.5:55075 Closing
[Tue Nov  3 10:45:32 2020] 192.168.1.5:55074 [200]: GET /favicon.ico
[Tue Nov  3 10:45:32 2020] 192.168.1.5:55074 Closing


It's throwing the exception called from Controllers/Pages.php:
throw new \CodeIgniter\Exceptions\PageNotFoundException("hmm.. not found: ". $page);

Do you have any advice?
thank you.
Reply


Messages In This Thread
404 - File Not Found - by mainecat - 11-03-2020, 08:46 AM
RE: 404 - File Not Found - by InsiteFX - 11-04-2020, 12:02 AM
RE: 404 - File Not Found - by moonly holds - 11-29-2020, 11:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB