prudhvi259

prudhvi259

Member Since 2 Years Ago

Experience Points
220
Total
Experience

4,780 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-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

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

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

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

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    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 Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

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

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

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

Level 1
220 XP
Sep
19
2 years ago
Activity icon

Replied to DecryptException In BaseEncrypter.php Line 48: The MAC Is Invalid. In Laravel 5.2

@tisuchi thanks for your reply. i will check your link. One more thing after changing my session cookie form laravel_session to myapp_session my session worked perfectly but at my firsttime login it is showing TokenMismatchException in VerifyCsrfToken.php line 67: error and after refresh everything is working fine.

Sep
18
2 years ago
Activity icon

Started a new conversation DecryptException In BaseEncrypter.php Line 48: The MAC Is Invalid. In Laravel 5.2

I am getting this error when i sent a post request to my resource controller. My controller code is

public function store(Request $request)
{
    //return $request->all(); (here i am checking values sometimes showing values and sometimes showing the mac error.)
    $tags = $request->input('tags');
        if(!empty($tags)){
            $tags = implode(",", $tags);
        }
    //return $request->from;
    $status = FamousPost::create([

        'name' => $request->input('from'),
        'to_name' => $request->input('to'),
        'title' => $request->input('title'),
        'content' => $request->input('content'),
        'avatar' => $request->input('from_avatar'),
        'to_avatar' => $request->input('to_avatar'),
        'tags' => $tags

    ]);

    if($status)
        return json_encode(true);
    else
        return json_encode(false);
}

Sometimes values are coming from request and sometimes(mostly) i am getting the mca error. My frontend is angularjs i am submitting the form using $http service of angularjs.

Sep
14
2 years ago
Activity icon

Replied to Session Is Expiring Automatically In Laravel 5.2

@tisuchi it worked well and thanks a lot. feeling wonder about the issue. previously i worked on a project which was developed in same laravel 5.2 then i didn't get this issue. Can you explain about the reasons behind issue.

Activity icon

Replied to Session Is Expiring Automatically In Laravel 5.2

@tisuchi already lifetime is 120 by default which means 2hrs but my session is expiring on refresh increasing the lifetime doesn't solve my issue.

Activity icon

Started a new conversation Session Is Expiring Automatically In Laravel 5.2

I am using larvel 5.2 for my application, i didn't used laravel authentication and wrote my own code, at the time of successful login i am storing user name in a session variable and checking this for every request after login. I didn't changed any session settings. My problem is session is expiring in lessthan 3mins and sometimes while login it is showing

TokenMismatchException in VerifyCsrfToken.php line 67:

remember only sometimes. After refresh the page everything become normal and after login within 3mins session is expiring. My code in routes is as follows,

Route::get('/', function () {
    if(Session::has('username') && Session::get('username') != ""){
        return view('index');
    }
    else{
        return redirect('login');
    }
});
Route::get('login', function () {
    if(Session::has('username') && Session::get('username') != ""){
        return redirect('/');
    }
    else{
        return view('login');
    }
});

My login and session storing as,

public function checkme(Request $request){
  
    $this->validate($request, [
        'username' => 'required',
        'password' => 'required'
    ]);

    //return $request->all();
    $username = $request->username;
    $password = md5($request->password);

    $admin = Admin::where('username', $username)
                ->where('password', $password)
                ->where('status', 'active')
                ->first();
                
    if(is_null($admin)){

        Session::flash('Invalid','Invalid Credentials..!');
        return redirect('login');
    }
    else{

        Session::put('username',$admin->username);
        return redirect('/');
    }

}

My login form code,

<form class="login" method="post" action="login">
                    <input type="hidden" name="_token" value="<% csrf_token() %>">
                    <input type="text" placeholder="Username" name="username" required="true" />
                    <input type="password" name="password" placeholder="Password" required="true" />
                    <input type="submit" value="Login" class="btn btn-info btn-sm" />
                </form>
Sep
06
2 years ago
Activity icon

Replied to Anyone Actually Using Socialite ?

@sitesense hi i am using socialite library for my website login with twitter functionality and everything worked fine but today i got the below error

Argument 1 passed to League\OAuth1\Client\Server\Server::getTokenCredentials() must be an instance of League\OAuth1\Client\Credentials\TemporaryCredentials, null given

yesterday also it worked good, this error came suddenly and i didn't changed any code regarding twitter login.

Activity icon

Replied to Temporary Token Issues With Socialite/Twitter

hi, did you find any solution..? i got same problem.

Jul
14
2 years ago
Activity icon

Replied to Delete Request Using Guzzle In Laravel Not Working

I am getting the below error when i cal delete request. ServerException in RequestException.php line 113: Server error: DELETE http://localhost:8017/opendemo_old/public/TestAPI/123456 resulted in a 500 Internal Server Error response:

(truncated...)
Jul
13
2 years ago
Activity icon

Started a new conversation Delete Request Using Guzzle In Laravel Not Working

I am developing an API using resource controller in laravel. To call this api from my client i am using guzzle(my client is also laravel). For POST and GET requests it worked fine but for delete request it is showing errors. My Delete request is like, $client = new Client(); $res = $client->delete('http://localhost:8017/opendemo_old/public/TestAPI/123456');