0
votes

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?

2
You have to open this link localhost/phpmyadmin and not this (localhost:8000/phpmyadmin)?Sahil Deliwala
i usually use localhost:8000/phpmyadmin because i configure the setting to call the port code. Before this happened, i can access phpmyadmin through localhost:8000/phpmyadmin.M.S
This might be OT, but instead of phpmyadmin I would just use tools like MySQL Workbench or HeidiSQL. At least for a DB on localhost. Last time I used phpMyAdmin, it was just too slow (in terms of reaction time). So I use HeidiSQL to manage the schema an data. And sometimes I use MySQL Workbench to visualize the schema for people who likes pictires more than code :-).Paul Spiegel
You should run it on a normal webserver. Using the built-in webserver will not behave as you'd expect because Laravel will take over and any .htaccess that comes with phpmyadmin will not work.apokryfos

2 Answers

0
votes

have two different url i mean port for php artisan serve and local server some thing like this,

http://localhost/phpmyadmin/

http://localhost:8000/

don't access phpmyadmin from php artisan serve's server

0
votes

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