2016-03-28 25 views
-1

Bir laravel (4.2) uygulamasına sahibim, yerel sistemimde yapılandırmayı denedim, aşağıdaki hataları alıyorum.Laravel Uygulama Yapılandırma sorunları

Görüntüler: Uygulamayı yapılandırılırken özlediğim gerektiğini

Not found http exception

fatel error application

. İşte

benim Rotalar /app/routes.php klasörünü olduğu 'NotFoundHttpException' laravel istek için bir rota bulmak mümkün değildi anlamına

+0

'Composer install' ı denediniz mi? – Vagabond

+0

Besteci ile çalıştım, satıcı klasörünü kaldırdım ve besteci yükledim, sonuç yok .. – ubuntuUser

+0

İlk hata, laravel'in tanımlanmayan bir rotaya gitmesi gerektiği söylendi. Yani bunun için route.php üzerinden gitmek gerekiyor. İkinci hata söz konusu olduğunda, Laravel'in bulamadığı bir ServiceProvider'da bir Sınıf bulmayı beklediği anlamına gelir. Sorununuzu (adreslerinizi) tek tek ele alalım. Rotalarınızı paylaşabilir misiniz? Php? – Vagabond

cevap

0


<?php 
 
Route::group(array("prefix" => "api"), function() 
 
{ 
 
    Route::resource('user', 'UserController'); 
 
    Route::get('user/verify/{confirmation_code}', '[email protected]'); 
 
    Route::post('user/login', '[email protected]'); 
 
    Route::post('user/guest', '[email protected]'); 
 
    Route::post('user/update', '[email protected]'); 
 
    Route::post('user/change_password', '[email protected]'); 
 
    Route::get('user/reset_password/{code}', '[email protected]'); 
 
    Route::post('user/forgot_password', '[email protected]'); 
 
    Route::resource('feedback', 'FeedbackController'); 
 
    Route::group(array("before" => "auth.basic"), function() { 
 
    Route::get('user/cio/favpoint/{id}', '[email protected]'); 
 
    Route::post('user/cio/favpoint', '[email protected]'); 
 
    Route::get('user/cio/favpoint', '[email protected]'); 
 
    Route::post('user/cio/favpoint/edit', '[email protected]'); 
 
    Route::get('user/citizen/favpoint/{id}', '[email protected]'); 
 
    Route::post('user/citizen/favpoint', '[email protected]'); 
 
    Route::get('user/citizen/favpoint', '[email protected]'); 
 
    Route::post('user/citizen/favpoint/edit', '[email protected]'); 
 
    Route::get('url', '[email protected]'); 
 
    }); 
 
}); 
 
?>
.

Umarım bunu windows makinesinden kullanırsınız. Ve laravel'i çalıştırmak için sanal sunucu kurdunuz mu?

Sanal konak için bu sorunu düşünüyorum. Lütfen kontrol et