FatalErrorException in RouteServiceProvider.php line 58:
xxxxx\Providers\RouteServiceProvider::xxxxx\Providers\{closure}(): Failed opening required '/home/xxxxx/app/Http/routes.php' (include_path='.:/usr/share/pear:/usr/share/php')
Hi, i have this problem when i try to access into my laravel website. The problem started when i replace the route file from another with a few changes. this is the routes file:
Route::get('/', 'HomeController@index');
Route::resource('cpanel','CpanelController');
Route::get('editmovie','CpanelController@showmovie');
Route::get('selectuser','CpanelController@selectuser');
Route::get('selectpassword','CpanelController@selectpassword');
Route::get('selectrange','CpanelController@selectrange');
Route::get('approvemovie','CpanelController@approvemovie');
Route::get('approveMovieToNotif/{id}','CpanelController@approveMovieToNotif');
Route::get('editfromnotif/{id}','CpanelController@editfromnotif');
Route::resource('user','UserController');
Route::resource('upload','MovieController');
Route::resource('subject','SubjectController');
Route::post('updateMovie','MovieController@upload');
Route::post('approve','MovieController@approveMovie');
Route::get('createplaylist','PlaylistController@index');
Route::get('deleteplaylist','PlaylistController@delete');
Route::get('search','QueryController@search');
Route::get('filter','QueryController@filter');
Route::get('showadver','CpanelController@showadvert');
Route::get('createadver','CpanelController@createadvert');
Route::get('createprogram','CpanelController@createprogram');
Route::post('deleteadvertising','AdvertisingController@delete');
Route::get('showsubject','CpanelController@showsubject');
Route::get('createsubject','CpanelController@createsubject');
Route::post('deletesubject','SubjectController@delete');
Route::resource('subject','SubjectController');
Route::get('showgenre','CpanelController@showgenre');
Route::get('creategenre','CpanelController@creategenre');
Route::post('deletegenre','GenreController@delete');
Route::resource('genre','GenreController');
Route::get('showformat','CpanelController@showformat');
Route::get('createformat','CpanelController@createformat');
Route::post('deleteformat','FormatController@delete');
Route::resource('format','FormatController');
Route::get('showtype','CpanelController@showtype');
Route::get('createtype','CpanelController@createtype');
Route::post('deletetype','TypeController@delete');
Route::resource('type','TypeController');
//Route::get('deletecomment','CommentaryController@delete');
Route::resource('commentary','CommentaryController');
Route::resource('advertising','AdvertisingController');
Route::resource('programing','ProgramingController');
Route::get('showStatistics','CpanelController@showStatistics');
Route::resource('seenby','SeenbyController');
Route::get('showNotifications','NotificationController@index');
Route::get('showVideoStatistics','CpanelController@showVideoStatistics');
Route::group(['middleware' => 'web'], function () {
Route::auth();
});
I don't have idea where is the problem because the changes are only one lyne commented. The website are hosted in a server with centos 5.8
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire