CodeIgniter Forums
Upgrade to 4.3 localhost problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Upgrade to 4.3 localhost problem (/showthread.php?tid=87474)



Upgrade to 4.3 localhost problem - pippuccio76 - 04-24-2023

HI , instead to update i create a new application on my localhost and copied The folderĀ  :
-Model
-Controller
-View
-Validation
-Filters
-LanguageĀ 
And the file inside config :
-Filters
-Validation
-Routes
-Email
The system start well but when i try to send data via POST i have this error :
Code:
Cannot access the controller in a CLI Route. Controller: \App\Controllers\Clienti_ricerca_tratte
Code:
But this route are inside config->Route .



How can i solve ?



RE: Upgrade to 4.3 localhost problem - kenjis - 04-24-2023

It seems the controller has a CLI route.

Check your routes.
$ php spark routes
https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html#confirming-routes