Welcome Guest, Not a member yet? Register   Sign In
File not found
#1

Hi !

My application is working fine with wamp + virtual host
Moving the app online is causing some routing problems.

I've succeed to have a home page working fine but each link gives a simple "File not found." without any styling or precision concerning the file not found.

I've applied indications of this tuto in order to 'clean' my urls :
https://www.tutsmake.com/codeigniter-4-r...-from-url/

I've also realized that added routes are case-sensitive in Routes.php
PHP Code:
$routes->add('/''pages::view');   // gives a styled 404 error page 
PHP Code:
$routes->add('/''Pages::view');    // working fine
$routes->add('(:any)/''Pages::view/$1');     // just display "file not found" 

Hope somebody can help me !
Thanks!
Reply


Messages In This Thread
File not found - by the_steff - 06-03-2020, 08:58 AM
RE: File not found - by the_steff - 06-03-2020, 12:57 PM
RE: File not found - by the_steff - 06-03-2020, 02:57 PM
RE: File not found - by InsiteFX - 06-04-2020, 03:10 AM
RE: File not found - by the_steff - 06-04-2020, 07:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB