surabhi

surabhi

Member Since 10 Months Ago

Experience Points 180
Experience Level 1

4,820 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.

18 Apr
1 month ago

surabhi left a reply on Laravel Default Forget Password Mail Not Working

Hello,

I am also not receiving password reset mail after applying ssl on my site.Can anyone pls guide me.Only default laravel mails are not working.

.env code

MAIL_DRIVER=smtp MAIL_HOST=localhost MAIL_PORT=25 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=

23 Jul
10 months ago

surabhi left a reply on (1/1) MethodNotAllowedHttpException

it means...I have to run composer dump auto command on live server?

surabhi left a reply on (1/1) MethodNotAllowedHttpException

Hii,

To solve issue,I have installed new laravel .so the post method working fine but as I add helper file and run composer dump auto command and update composer folder and composer.json file on live server,It redirects to tokenmismatch...whcin files need to update on live server after composer dump autoload??

21 Jul
10 months ago

surabhi left a reply on (1/1) MethodNotAllowedHttpException

Hey I checked it....It shows method=GET in request but I have used method="post" in form tag.

surabhi left a reply on (1/1) MethodNotAllowedHttpException

I have changed APP_URL according to my sub domain url.

surabhi left a reply on (1/1) MethodNotAllowedHttpException

(1/1) MethodNotAllowedHttpException in RouteCollection.php line 251 at RouteCollection->methodNotAllowed(array('PUT')) in RouteCollection.php line 238 at RouteCollection->getRouteForMethods(object(Request), array('PUT')) in RouteCollection.php line 176 at RouteCollection->match(object(Request)) in Router.php line 546 at Router->findRoute(object(Request)) in Router.php line 525 at Router->dispatchToRoute(object(Request)) in Router.php line 511 at Router->dispatch(object(Request)) in Kernel.php line 176 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing{closure}(object(Request)) in RemoteValidationMiddleware.php line 53 at RemoteValidationMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in StartSession.php line 64 at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in TransformsRequest.php line 30 at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in TransformsRequest.php line 30 at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in ValidatePostSize.php line 27 at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Kernel.php line 151 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 53 at require_once('/home/laraextremeorg/public_html/motorbazzar/public/index.php') in index.php line 20

20 Jul
10 months ago

surabhi left a reply on (1/1) MethodNotAllowedHttpException

It is very strange..all get methods are working but not post methods

surabhi left a reply on (1/1) MethodNotAllowedHttpException

I have tried it....still getting same error..

surabhi left a reply on (1/1) MethodNotAllowedHttpException

above is the handler.php code

surabhi left a reply on (1/1) MethodNotAllowedHttpException

// namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Session\TokenMismatchException; //

class Handler extends ExceptionHandler {

/**
 * A list of the exception types that should not be reported.
 *
 * @var array
 */
protected $dontReport = [
    'Symfony\Component\HttpKernel\Exception\HttpException'
];
/**
 * Report or log an exception.
 *
 * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
 *
 * @param  \Exception  $e
 * @return void
 */
public function report(Exception $e)
{
    return parent::report($e);
}
/**
 * Render an exception into an HTTP response.
 *
 * @param  \Illuminate\Http\Request  $request
 * @param  \Exception  $e
 * @return \Illuminate\Http\Response
 */
public function render($request, Exception $e)
{
    if ($e instanceof TokenMismatchException){
        // Redirect to a form. Here is an example of how I handle mine
        return redirect($request->fullUrl())->with('csrf_error',"Oops! Seems you couldn't submit form for a long time. Please try again.");
    }

    return parent::render($request, $e);
}

}

surabhi left a reply on (1/1) MethodNotAllowedHttpException

namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Session\TokenMismatchException;

class Handler extends ExceptionHandler {

/**
 * A list of the exception types that should not be reported.
 *
 * @var array
 */
protected $dontReport = [
    'Symfony\Component\HttpKernel\Exception\HttpException'
];
/**
 * Report or log an exception.
 *
 * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
 *
 * @param  \Exception  $e
 * @return void
 */
public function report(Exception $e)
{
    return parent::report($e);
}
/**
 * Render an exception into an HTTP response.
 *
 * @param  \Illuminate\Http\Request  $request
 * @param  \Exception  $e
 * @return \Illuminate\Http\Response
 */
public function render($request, Exception $e)
{
    if ($e instanceof TokenMismatchException){
        // Redirect to a form. Here is an example of how I handle mine
        return redirect($request->fullUrl())->with('csrf_error',"Oops! Seems you couldn't submit form for a long time. Please try again.");
    }

    return parent::render($request, $e);
}

}

surabhi left a reply on (1/1) MethodNotAllowedHttpException

Hii,

Actually my all forms are working fine on localhost machine,but as I hosted my website on server,then firstly error of Tokenmismatch error found,to solve this problem I have changed code in Exception/handler.php code so I found MethodNotAllowedHttpException error on all post method forms.

19 Jul
10 months ago

surabhi left a reply on (1/1) MethodNotAllowedHttpException

yes I have used post method.

surabhi left a reply on (1/1) MethodNotAllowedHttpException

hey thanks.But I have already used it

surabhi left a reply on (1/1) MethodNotAllowedHttpException

@extends('layouts.app')

@section('content') @include('header_outer') // /** {{ csrf_field() }} / // / **/ @include('footer_outer') @endsection

surabhi left a reply on (1/1) MethodNotAllowedHttpException

view

@extends('layouts.app')

@section('content') @include('header_outer')

{{ csrf_field() }} @include('footer_outer') @endsection

surabhi started a new conversation (1/1) MethodNotAllowedHttpException

Hii,

I am new to laravel.I am facing very strange problem.My post routes are not working properly,as I was continuously getting error Method not allowed exception.Please guide me.

web.php

Auth::routes(); Route::get('/check-token-data','[email protected]_tokens_view'); Route::post('/check-token-view','[email protected]_tokens_data');

Controller