{The Complete PHP MVC Course: Build a Modern eCommerce Store }

Posted in CategoryGeneral Discussion
  • Terry Ogbemudia 1 week ago

    Hi Collins, can you create a new thread for this question "tried to download carbon but it failed" so that its easy for others to search and let me see a screenshot of the actual error. Thanks

  • Shaun Collins 1 week ago

    Hi Terry,

    tried to download carbon but it failed, saying requirements could not be resolved to an installable set of packages. Is there another pakage I could install in its place? Maybe chronos!

  • Shaun Collins 1 week ago
    Hi Terry,

      Sorry I have not got back to you, but I am building the same app with Node. Anyway, I managed to find the problem in CSRFToken file, instead of having $requestToken in verifyCSRFToken function, I had $randomToken. All sorted, thank you for your quick response :) 

  • Terry Ogbemudia 3 weeks ago

    something like this

    $request = Request::get('post');
    dd($request->token, Session::get('token'));

  • Terry Ogbemudia 3 weeks ago
    You can dump in the controller 

    Token from request and session token 

  • Shaun Collins 3 weeks ago
    Hi Terry, could you tell me where in the session script and form to var_dump the token values
  • Terry Ogbemudia 3 weeks ago
    Hi Collins, to be sure dump the value of token in session and the one you’re sending from the form let’s see what’s in there 
  • Shaun Collins 3 weeks ago
    Lecture 32: Product Category Part 3.

    Gone over this lesson about 20 times and still get Token mismatch, would the Regex have changed with the latest update of PHP. 

    If anyone has any ideas it would be greatly appreciated.

  • Terry Ogbemudia 7 months ago

    Hi Dmitrijs, I will send the file to you, please email me at support@devscreencast.com

  • Dmitrijs 7 months ago

    Unfortunately, in section 4 there is no such attachment

Please login or register to leave a response.