0
Dae pessoall... I need help in setting up the project, because I believe this is the problem.
Scenario: Customer bought a website, little guy did and abandoned, disappeared, full of error and running for half... Client came to me only with the link of the site and the access of the hosting I downloaded the fonts, configured, Netbeans, didn’t run... Started Phpstorm, created project and added the fonts, activated the Lavarel plugin (I got the version by the same framework file), followed the step by step installation from here... https://confluence.jetbrains.com/display/PhpStorm/Laravel+Development+using+PhpStorm
All right, so far...
Ai installed and updated the existing dependencies in Composer.json, I ran the controls: Artisan ide-helper:generate Artisan server run local server:8000 Then I set the PS to start at index.Ph in the project public (using wamp)
In inspecting element, the url points to the controller method, but the http request does not get there, it must be some routing configuration or something like that in Phpstorm itself.
The Home page loads, but when I click on any link, it redirects to a soon page, not to the link controller
Thanks help from now on! Thank you!
It’s too vague this.. could show your route file?
– Don't Panic
Yes, only the code, I cannot post picture... Route::group(['namespace' => 'Offer'], Function () { //Route::get('/offer/category/{Slug}', ['as' => 'front.oferta.category', 'uses' => 'Categoriacontroller@category'])->Where('Slug', '(. *)'); Route::get('/offer/data', ['as' => 'front.oferta.registrar'teresse', 'uses' => 'Offerscontroller@interest']); Route::get('/offer/{Slug}', ['as' => 'front.oferta.offer', 'uses' => 'Offerscontroller@offer']); });
– user3692598
And the result of Artisan route:list | | GET|HEAD | / | front.index | App Http Controllers Front Frontcontroller@index | web |
– user3692598
| | GET|HEAD | advertise | front.usuario.advertise | App Http Controllers Usuario Advertisercontroller@step 1 | web,usuario |
– user3692598