When I left work yesterday the routeing worked perfectly. I haven't touched it since, and the only thing I did after I tested the site (and it worked) was make a new model and migration using php artisan make:model
.
When I came in to work, about 35 minuets ago, poof. site doesn't work. the routes work with a get method (Route::get('/', 'blahContoller@index')
but fails on ALL the Route::post
methods. I'm stumped. Going back to laravel 5 after this project, 5.1 is unbelievably broken and worse then 5.0 and has casued me no end of problems that actually wastes more time then laravel is supposed to save.
The error I get:
NotFoundHttpException in RouteCollection.php line 143
my routes:
Route::get('/', 'TurboController@index');
Route::post('checkout', 'TurboController@checkout');
Route::post('securePayment', 'TurboController@securePayment');
Route::get('thankYou', function(){
return view('thankYou');
});
I dont understand, I havent touched the route file since yesterday at 9:00am and worked up until I tested it today.
I HAVE TRYED DUMPAUTOLOAD before you ask ;)
try to run these in terminal
php artisan clear-compiled, php artisan cache:clear, php artisan route:clear