Reputation: 75
I tried everything on the internet on error NotFoundHttpException in RouteCollection.php line 161 but it seemed can't to work. I have installed Laravel 5.2 on my computer and XAMPP too. I currently working on project and stuck on phpmyadmin. First, i use php artisan serve and migrate the table to my database and i open http://localhost:8000/phpmyadmin/ and it seemed work. After some work(progress on project like seeding and php), i cant open phpmyadmin on my browser and it says NotFoundHttpException in RouteCollection.php line 161.It works fine when i stop the php artisan serve but when i use it again then it shows error.Can someone tell me how to solve this so i can access my phpmyadmin on browser?
Upvotes: 1
Views: 1319
Reputation: 945
have two different url i mean port for php artisan serve and local server some thing like this,
don't access phpmyadmin from php artisan serve's server
Upvotes: 0
Reputation: 405
In Implicit call
you should define the route only once, Let me know if it works.
Route::controller('collection','CollectionController');
so now in url collection/home if being parsed then laravel will automatically call getHome()
function
Upvotes: 0