Chatter routes in production return 404 Not Found

kiril-kanev

May 16th, 2018 12:16 PM

HI i have problemq with Chatter routes in production My Project is Laravel 5.6 & i install devdojo/chatter buth in production i have problem. All routes without /forums is return 404 Not Found "example: The requested URL /forums/discussion was not found on this server." this is my web.php

Route::get('/forums', '\DevDojo\Chatter\Controllers\ChatterController@index')->name('chatter.home');

Route::get('/forums.atom', '\DevDojo\Chatter\Controllers\ChatterAtomController@index')->name('chatter.atom');

Route::get('/forums/category/{slug}', '\DevDojo\Chatter\Controllers\ChatterController@index')->name('chatter.category.show');

Route::get('/forums/discussion', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@index')->name('chatter.discussion.index');

Route::post('/forums/discussion', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@store')->name('chatter.discussion.store');

Route::get('/forums/discussion/create', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@create')->name('chatter.discussion.create');

Route::get('/forums/discussion/{category}/{slug}', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@show')->name('chatter.discussion.showInCategory');

Route::post('/forums/discussion/{category}/{slug}/email', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@toggleEmailNotification')->name('chatter.discussion.email');

Route::get('/forums/discussion/{discussion}', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@show')->name('chatter.discussion.show');

Route::patch('/forums/discussion/{discussion}', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@update')->name('chatter.discussion.update');

Route::patch('/forums/discussion/{discussion}', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@update')->name('chatter.discussion.update');

Route::delete('/forums/discussion/{discussion}', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@destroy')->name('chatter.discussion.destroy');

Route::get('/forums/discussion/{discussion}/edit', '\DevDojo\Chatter\Controllers\ChatterDiscussionController@edit')->name('chatter.discussion.edit');

Route::get('/forums/login', '\DevDojo\Chatter\Controllers\ChatterController@login')->name('chatter.login');

Route::get('/forums/posts', '\DevDojo\Chatter\Controllers\ChatterPostController@index')->name('chatter.posts.index');

Route::post('/forums/posts', '\DevDojo\Chatter\Controllers\ChatterPostController@store')->name('chatter.posts.store');

Route::get('/forums/posts/create', '\DevDojo\Chatter\Controllers\ChatterPostController@create')->name('chatter.posts.create');

Route::get('/forums/posts/{post}', '\DevDojo\Chatter\Controllers\ChatterPostController@show')->name('chatter.posts.show');

Route::patch('/forums/posts/{post}', '\DevDojo\Chatter\Controllers\ChatterPostController@update')->name('chatter.posts.update');

Route::delete('/forums/posts/{post}', '\DevDojo\Chatter\Controllers\ChatterPostController@destroy')->name('chatter.posts.destroy');

Route::get('/forums/posts/{post}/edit', '\DevDojo\Chatter\Controllers\ChatterPostController@edit')->name('chatter.posts.edit');

Route::get('/forums/register', '\DevDojo\Chatter\Controllers\ChatterController@register')->name('chatter.register');

					I isn't copy any file of vendor folder & isn't create Duplicate Controllers in app/http/controllers. Just i invoke all this functionality of vendor folder of file web.php routes folder
	
	This is adress in to my experiment production domainq, hwere is located project:
https://mybequest.eu/public/
	

	
mark

Jun 5th, 2018 06:53 AM

Is this project online? If so, can you share a URL with this issue?

kiril-kanev

Jun 5th, 2018 08:19 AM

thank you, but i fix the problem