ruhul

Experience

7,290

0 Best Reply Awards

  • Member Since 2 Years Ago
  • 75 Lessons Completed
  • 0 Favorites

12th January, 2017

ruhul started a new conversation Best Way To Add Css And Js Files From Node_modules • 8 months ago

I am trying to add fullcalendar css file in this way:

<link rel="stylesheet" href="{{asset('node_modules/fullcalendar/dist/fullcalendar.css')}}"/>

But not working.

16th November, 2016

ruhul started a new conversation I Really Hate Video On Full Screen. • 10 months ago

When I am watching tutorial. I see the videos height is not fit on my screen. I need to scroll top to bottom to see it properly. I am using Chrome in Mac Can you fix this?

1st August, 2016

ruhul left a reply on Suddenly My App Stop Working • 1 year ago

master.blade.php

ruhul left a reply on Suddenly My App Stop Working • 1 year ago

''

''

This is how I added on blade.

ruhul started a new conversation Suddenly My App Stop Working • 1 year ago

18th July, 2016

ruhul left a reply on Laravel 5 Php Artisan Migrate Does Not Work • 1 year ago

if you are using MAMP then add this>> 'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',

more details: http://stackoverflow.com/questions/19475762/setting-up-laravel-on-a-mac-php-artisan-migrate-error-no-such-file-or-directory

12th April, 2016

ruhul left a reply on Class Cookie Does Not Exist Laravel 5.2 • 1 year ago

no, I am not using this middleware.

ruhul left a reply on Class Cookie Does Not Exist Laravel 5.2 • 1 year ago

ReflectionException in .... vendor/laravel/framework/src/Illuminate/Container/Container.php line 738: Class cookie does not exist

in Container.php line 738 at ReflectionClass->__construct('cookie') in Container.php line 738 at Container->build('cookie', array()) in Container.php line 633 at Container->make('cookie', array()) in Application.php line 697 at Application->make('Illuminate\Contracts\Cookie\QueueingFactory') in Container.php line 853 at Container->resolveClass(object(ReflectionParameter)) in Container.php line 808 at Container->getDependencies(array(object(ReflectionParameter)), array()) in Container.php line 779 at Container->build('Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse', array()) in Container.php line 633 at Container->make('Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse', array()) in Application.php line 697 at Application->make('Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse') in Pipeline.php line 123 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}(object(Request)) in EncryptCookies.php line 59 at EncryptCookies->handle(object(Request), object(Closure)) at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103 at Pipeline->then(object(Closure)) in Kernel.php line 132 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99 at Kernel->handle(object(Request)) in index.php line 54

ruhul started a new conversation Class Cookie Does Not Exist Laravel 5.2 • 1 year ago

everything was working perfectly. I tried to add https://laravelcollective.com/docs/5.2/html and updated composer and after that I am getting error.

I am not getting any clue to solve this problem.

7th March, 2016

ruhul started a new conversation Can't Use Php Code Into Forum Discussion • 1 year ago

where('id', '=', $id);
$sql = $this->grammar->compileDelete($this);
return $this->connection->delete($sql, $this->getBindings());

}

ruhul left a reply on Can't Redirect User After Registration • 1 year ago

@tykus_ikus: your code redirecting me but I am getting an weird problem now.

if($user) {
            if (Auth::attempt(['email' => $user['email'], 'password' => $unchanged_pass])) {
                // Authentication passed...
                return Redirect::to('/home')->send();
            } else {
            return Redirect::to('/')->with('message',"Herzlichen Glückwunsch! Sie haben Ihr Konto erfolgreich aktiviert. Sie können sich jetzt einloggen.")->send();
        }
When I am using return Redirect::to('/home')->send(); user considering as not logged in but when I am using return Redirect::to('/home'); user considering as logged in but not redirecting to home page. Do you know why?

@moharrum Yes, I used FormRequests to validation and it passed and user also creating into database. Let me know if you need more info

ruhul started a new conversation Can't Redirect User After Registration • 1 year ago

I created RegisterController to register new user with some data. then I used a method in that controller. I want to redirect that user to home page after successfull registration as logged in. To do so >>

protected function createuser($data, $unchanged_pass){
        $user = User::create($data);
        if($user) {
            if (Auth::attempt(['email' => $user['email'], 'password' => $unchanged_pass])) {
                // Authentication passed...
                return Redirect::to('/home');
            } else {
            return Redirect::to('/')->with('message',"Herzlichen Glückwunsch! Sie haben Ihr Konto erfolgreich aktiviert. Sie können sich jetzt einloggen.");
        }
    }
   
}

But it's always going to url I used as route: Route::post('registerUser', 'RegisterController@registerUser');

I don't know what's wrong. Can you help?

16th February, 2016

ruhul left a reply on .gitignore What Should Be Ignored? • 1 year ago

It does not make sense to me that, why should I ignore vendor folder? I hope someone already has this explanation.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.