mrakodol/Laravel-5-Bootstrap-3-Starter-Site

Not able to upload the photos in articles

prakashjha1956 opened this issue · 5 comments

HI,
I am not able to upload the photos in backend, can you please suggest me better solution. my project is: http://laravel.customerparadise.in/admin/ userID: admin Password: admin@123

Hi @prakashjha1956 the route admin doesn't exist on your website.
However if you're having issues uploading things it could very well be your file permissions.

What is mean of route admin and how can i resolve it?

I can see this page: http://laravel.customerparadise.in/auth/login
but your login details don't work.

oh.. sorry, userID: admin@admin.com password: admin

Have you kept these routes?

/*************** Admin routes **********************************/ Route::group(['prefix' => 'admin', 'middleware' => 'admin'], function() { # Admin Dashboard Route::get('dashboard', 'Admin\DashboardController@index'); # Language Route::get('language/data', 'Admin\LanguageController@data'); Route::get('language/{language}/show', 'Admin\LanguageController@show'); Route::get('language/{language}/edit', 'Admin\LanguageController@edit'); Route::get('language/{language}/delete', 'Admin\LanguageController@delete'); Route::resource('language', 'Admin\LanguageController'); # Article category Route::get('articlecategory/data', 'Admin\ArticleCategoriesController@data'); Route::get('articlecategory/{articlecategory}/show', 'Admin\ArticleCategoriesController@show'); Route::get('articlecategory/{articlecategory}/edit', 'Admin\ArticleCategoriesController@edit'); Route::get('articlecategory/{articlecategory}/delete', 'Admin\ArticleCategoriesController@delete'); Route::get('articlecategory/reorder', 'ArticleCategoriesController@getReorder'); Route::resource('articlecategory', 'Admin\ArticleCategoriesController'); # Articles Route::get('article/data', 'Admin\ArticleController@data'); Route::get('article/{article}/show', 'Admin\ArticleController@show'); Route::get('article/{article}/edit', 'Admin\ArticleController@edit'); Route::get('article/{article}/delete', 'Admin\ArticleController@delete'); Route::get('article/reorder', 'Admin\ArticleController@getReorder'); Route::resource('article', 'Admin\ArticleController'); # Photo Album Route::get('photoalbum/data', 'Admin\PhotoAlbumController@data'); Route::get('photoalbum/{photoalbum}/show', 'Admin\PhotoAlbumController@show'); Route::get('photoalbum/{photoalbum}/edit', 'Admin\PhotoAlbumController@edit'); Route::get('photoalbum/{photoalbum}/delete', 'Admin\PhotoAlbumController@delete'); Route::resource('photoalbum', 'Admin\PhotoAlbumController'); # Photo Route::get('photo/data', 'Admin\PhotoController@data'); Route::get('photo/{photo}/show', 'Admin\PhotoController@show'); Route::get('photo/{photo}/edit', 'Admin\PhotoController@edit'); Route::get('photo/{photo}/delete', 'Admin\PhotoController@delete'); Route::resource('photo', 'Admin\PhotoController'); # Users Route::get('user/data', 'Admin\UserController@data'); Route::get('user/{user}/show', 'Admin\UserController@show'); Route::get('user/{user}/edit', 'Admin\UserController@edit'); Route::get('user/{user}/delete', 'Admin\UserController@delete'); Route::resource('user', 'Admin\UserController'); });

as some pages return a not found exception