hasen39

hasen39

Member Since 3 Months Ago

Experience Points 900
Experience Level 1

4,100 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

17 Mar
1 week ago

hasen39 started a new conversation About File

i am working now on clinic managment system and i want to store thier result information but is file or database to read after some times in best way

hasen39 started a new conversation HasManyThrough

how can i write query on hasmanythrough relatioship to a spesfic model

05 Mar
2 weeks ago

hasen39 left a reply on I Cant Retrieve Authenticated User Data

i have a guard named Registerar in what way Auth::user(); access the user data

hasen39 started a new conversation I Cant Retrieve Authenticated User Data

i cant retrieve authenticated user data i have a Registerar Guard my view code is


<div class="mr-5 dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span> {{$Registerar['username']}}</span>
          <i class="fas fa-user"></i>
        
        
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
          <a class="dropdown-item" href="{{route('Registerar.LogOut',['id'=>$Registerar['username']])}}">Log Out</a>
          <a class="dropdown-item" href="{{route('Registerar.Profile',['id'=>$Registerar['username']])}}">Profile</a>
    </div>

i have service provider

public function register()
    {
        //
    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        $Registerar=Auth::guard('Registerar')->user();
        View::share('Registerar',$Registerar);
    }
02 Mar
3 weeks ago

hasen39 left a reply on Laravel Command Not Found

@SERGIU17 - still not work

hasen39 started a new conversation Laravel Command Not Found

i want to install laravel in my linux min 18.3 i install laravel after i install laravel i run this command

composer global require laravel/installer

and i run this command

laravel new project1

laravel command not found error displayed

16 Feb
1 month ago

hasen39 left a reply on Mail Configration

@TYKUS - thank you @tykus it works

hasen39 left a reply on Mail Configration

thank you it works

hasen39 started a new conversation Mail Configration

hi guys i wan to send mail to my app users but i got this error in my laravel app

Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators.

here is my .env file

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
[email protected]
[email protected]
MAIL_ENCRYPTION=null

hasen39 left a reply on Failed To Authenticate On SMTP Server With Username "[email protected]" Using 2 Possible Authenticators

hi guys i want to send mail for my app user and i got this error

Failed to authenticate on SMTP server with username "hasensuadik39@gmail.com" using 3 possible authenticators

my .env file is this

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
[email protected]
[email protected]
MAIL_ENCRYPTION=null


any one who help me?

15 Feb
1 month ago

hasen39 started a new conversation 404 Error

hi guys i am using laravel 5.7 i want to make areset link and i want to accept email addres after i accept the email the route thaat i use ives me 404 error

the view code is this ' ' '

@if(Session::has('ForgotError')) {{Session::get('ForgotError')}}
          </div>
        @endif
        <div class="form-group">
            <form method="POST" action="{{route('ResetPassword')}}">
                @csrf
                <label for="Email">Enter Your Email</label>
                <input type="text" name="Email" id="Email" class="form-control" autofocus>
                <br>
                <input type="submit" name="submit" class="btn btn-primary">
            </form>
        </div>
    </div>

' ' '

and the route code is

' ' ' Route::post('/ResetPassword','[email protected]')->name('ResetPassword'); ' ' '

but it doesnt work any one who can helpe

hasen39 left a reply on Email

i try this code before and now but it doesnt work

hasen39 left a reply on Email

i try this code before and now but it doesnt work

hasen39 left a reply on Email

@CRONIX - thank you for your help

this is my code

<form  enctype="text/plain" method="GET" action="mailto:[email protected]" class="form-group">
                <label for="name">Your Name</label>
                <input type="text" name="name" id="name" class="form-control" autofocus>
                <label for="Email">Email</label>
                <input type="text" name="Email" id="Email" class="form-control">
                <label for="comment">Your Comment</label>
                <textarea name="comment" id="comment" class="form-control"></textarea>
                <br>
                <input type="submit" name="submit" class=" btn-primary">
                
            </form>

hasen39 left a reply on Email

<form  enctype="text/plain" method="GET" action="mailto:[email protected]" class="form-group">
                <label for="name">Your Name</label>
                <input type="text" name="name" id="name" class="form-control" autofocus>
                <label for="Email">Email</label>
                <input type="text" name="Email" id="Email" class="form-control">
                <label for="comment">Your Comment</label>
                <textarea name="comment" id="comment" class="form-control"></textarea>
                <br>
                <input type="submit" name="submit" class=" btn-primary">
                
            </form>

hasen39 left a reply on Email

//////////////////////

@extends('west includes.Top') @section('tittle','Email Us') @section('content')

Your Name Email Your Comment
        </form>

        
    </div>
    
</div>
@endsection

////////////////////

hasen39 left a reply on Email

@extends('west includes.Top') @section('tittle','Email Us') @section('content')

Your Name Email Your Comment
        </form>

        
    </div>
    
</div>
@endsection

hasen39 left a reply on Email

Your Name Email Your Comment
        </form>

hasen39 left a reply on Email

@CRONIX - when i want i want to show the code laracast doesnt show my code i dont know where is the problem

hasen39 left a reply on Email

Your Name Email Your Comment

hasen39 left a reply on Email

Your Name Email Your Comment
        </form>

hasen39 left a reply on Email

@CRONIX - this is my code

Your Name Email Your Comment
        </form>

hasen39 left a reply on Email

@CRONIX - i want to get comments from our website visiter via email and i use mailto in our html tag but it doesnt work

hasen39 left a reply on Email

what i want is when i use mail to it doesnt work for me

hasen39 started a new conversation Email

how can i connect my website to my email

01 Feb
1 month ago

hasen39 left a reply on Web Page In Chrome

@TALINON - Can you explain me what is 1.21 jiggwatts

hasen39 started a new conversation Web Page In Chrome

Why my webpage show un expected display when I refresh it in chrome browser

25 Dec
2 months ago

hasen39 started a new conversation Javascript

how to pass javascript value in hidden input the code is here: but it doesnt work

hasen39 left a reply on Javascript ,php And Laravel

@CRONIX - ok what shall i do in order to execute my code

24 Dec
3 months ago

hasen39 started a new conversation Updating Session In Laravel

how to update session value in laravel

19 Dec
3 months ago

hasen39 started a new conversation Javascript ,php And Laravel

i work with both javascript and php but setTimeout only works one what is the problem

here is the code

setTimeout(function(){

@php

    $database_time=App\time::find(1);
    $hour=$database_time->hour;
    $minute=$database_time->minute;
    $from=date('h:i:s');
    // echo $from;
    if(!(Session::exists('start_time'))){
    Session::put('start_time',strtotime($from));
    }

    $endtime=date('h:i:s',strtotime('+'.$hour.' hours'.' '.$minute.' '.'minutes',Session::get('start_time')));
    $endtime;
    $from=strtotime($from);
    $endtime=strtotime($endtime);
    $differencetime=($endtime-$from);
    $display_date = date('h:i:s',$differencetime);

@endphp var value="" document.getElementById('demo').innerHTML=value;

},500);

and on the above i have

this code
18 Dec
3 months ago

hasen39 left a reply on Laravel Tinker Error

@TISUCHI - $project=new App\Admin; $project->username='user01'; $project->password=bcrypt('123456'); $project->save();

it display the correct out put for the first two steps, but it display null for the last step

hasen39 left a reply on Laravel Tinker Error

$project=new App\Admin; $project->username='user01'; $project->password=bcrypt('123456'); $project->save();

it display the correct out put for the first two steps, but it display null for the last step

hasen39 started a new conversation Laravel Tinker Error

when i insert a data to the database table using laravel tinker it display null what is the problem can someone help me

14 Dec
3 months ago

hasen39 left a reply on Laravel Blade Do Not Display The Fetched Id From The Database

thanks i solve it the error was the data type in the id i just change it to string know it work

12 Dec
3 months ago

hasen39 left a reply on Laravel Blade Do Not Display The Fetched Id From The Database

i pass $data object see above the black code

hasen39 started a new conversation Laravel Blade Do Not Display The Fetched Id From The Database

i fetched data from database using eloquent and i want to display to the view but all fetched data displayed except the id what is the problem my partial controller code is

$find=Student::find($id);

    if(Student::find($id)){
        if(Student::find($id)->Temporary){
            $controller=2;
            return view('home')->with(['data'=>$find,'controller'=>$controller]);
        }

}

and the view code is

name     {{ $data->name }}
id       {{   $data->id }}
department {{ $data->department }}
sex       {{ $data->sex }}

can some one help me

09 Dec
3 months ago

hasen39 left a reply on Laravel Error

thank you the session lifetime were empty i give the lifetime session and it work fine thank you for your help

hasen39 left a reply on Laravel Error

@TYKUS - my project doesnt require the time but how can i set the minute

hasen39 left a reply on Laravel Error

@TYKUS - this is some part of the log file the full can not be posted

#39 C:\xampp\htdocs\project1\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #40 C:\xampp\htdocs\project1\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #41 C:\xampp\htdocs\project1\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #42 C:\xampp\htdocs\project1\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #43 C:\xampp\htdocs\project1\server.php(21): require_once('C:\\xampp\\htdocs...') #44 {main} "}

08 Dec
3 months ago

hasen39 left a reply on Laravel Error

@PRAMANADIPUTRA - the code has'nt error

hasen39 left a reply on Laravel Error

there are many log files written based on thier date.log which can i post for you

hasen39 left a reply on Laravel Error

here is the index page code but the error display at all

@extends('layouts.layout') @section('title') home @endsection @section('content') @include('includes.header') @if($errors->any())

@foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach @endif @if(Session::has('message')) {{ Session::get('message') }} @endif @csrf {{-- username --}}
                </div> 
                <div class="form-group">
                    {{-- <label for="password">username</label> --}}
                    <input type="password" name="password" placeholder="password" class="form-control" autofocus="autofocus" required>
                </div>
                <div class="form-group">
                <input type="submit" name="submit" value="signin" {{-- style="padding:5px 30px;" --}} class="btn btn-primary" class="form-control">
                </div>
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                
            </form>
        </div>
    
    </div>
    

    @endsection

    hasen39 started a new conversation Laravel Error

    i got the error : a non numeric value encounterd in laravel 5.7