No input file specified. |
Hello!
I get this error [b]No input file sNo input file specified.[/b] URL https://site/index.php/pages or https://site/pages or https://site/main app/Controllers/Pages.php PHP Code: <?php Routes.php PHP Code: $routes->get('/', 'Home::index'); Folder structure Views/pages/main.php Views/templates/header.php Views/templates/footer.php Views/default.php Views/home.php What could be the reason? P.S. did everything according to this instruction https://codeigniter.com/user_guide/tutor...pages.html#
Did you do this?
https://codeigniter.com/user_guide/tutor...ng-the-app This topic might help you. https://forum.codeigniter.com/showthread.php?tid=77365 (03-31-2022, 05:49 PM)kenjis Wrote: Did you do this? > https://codeigniter.com/user_guide/tutor...ng-the-app I can't run this command because I have shared hosting > php spark serve > https://forum.codeigniter.com/showthread.php?tid=77365 Yes, I read it, but unfortunately it didn't help. Here is a link site/public/index.php/pages/view/main that eventually worked, but now I don’t remember how to set up links like site/pages/main |
Welcome Guest, Not a member yet? Register Sign In |