Я новичок в Laravel подножка проект в нем, я получил сообщение об ошибке, когда я ввести имя модуля URL-адрес NotFoundHttpException в RouteCollection.php линии 161 Laravel выпуск 5 маршрутизации на перенаправление URL
И вот мой routes.php файл Код:
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', ['as' => 'home', 'uses' => '[email protected]']);
Route::get('/buyerregistration',['as' => 'buyerregistration', function() {
return view('buyerregistration');
}]);
Route::get('owarehouse/{id}', ['as' => 'owarehouse',function() {
return view('owarehouse');
}]);
Route::get('/SMM', ['as' => 'SMM',function() {
return view('SMM');
}]);
Route::get('productconsumer/{id}/{openwish_id?}',array(
'as' => 'productconsumer',
'uses' => '[email protected]'));
у меня есть .htacces файл в моей/папки как:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
Может кто-нибудь помочь мне разобраться в этом, Благодаря
Попробуйте ввести символы нижнего регистра – kotapeter
@kotapeter это не работает. – Priyank
странно, что делает 'php artisan route: list' выдал? –