Configuration Phpstorm 2017.1.1 + Lavarel 5.3 - Problems in routing / Project execution

Asked

Viewed 103 times

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

Sequencia

Thanks help from now on! Thank you!

  • It’s too vague this.. could show your route file?

  • 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']); });

  • And the result of Artisan route:list | | GET|HEAD | / | front.index | App Http Controllers Front Frontcontroller@index | web |

  • | | GET|HEAD | advertise | front.usuario.advertise | App Http Controllers Usuario Advertisercontroller@step 1 | web,usuario |

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.