Robinvm

Robinvm

Member Since 2 Years Ago

Experience Points 4,380
Experience
Level
Lessons Completed 1
Lessons
Completed
Best Reply Awards 0
Best Answer
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.

25 Dec
3 weeks ago

Robinvm started a new conversation Laravel Cart Package Not Saving Cart Items On Page Refresh

Hello,

Im using https://github.com/darryldecode/laravelshoppingcart But when i add items to the card it is not saving the items in the cart on page refresh, how do i fix this?

03 Nov
2 months ago

Robinvm started a new conversation Laravel Mix Not Encrypting ENV Variables With MIX_ Prefix

Hello,

Im using PusherIO in my VueJS SPA project, so i need webpack to encrypt the pusher app key but if i open my app.js through my website the code is not encryted, how can i hide it?

16 Sep
4 months ago

Robinvm started a new conversation Vue Axios Response Undefined Error

axios .post('/auth/login', {username: username, password: pass}, ).then(function (response) { console.log(response); }).catch(function (error) { console.log(error); }); Does anyone know why response is undefined Responds is good, success, but i cant access the response data

15 Sep
4 months ago

Robinvm left a reply on Cross Project Login

@topvillas i basicly got that in my main project, the other project need to connect to it, and get a token or something, and check that on every load

Robinvm started a new conversation Cross Project Login

Hello,

Is it possible to have cross project login? How can i do this?

Love to have it automated some way aswell

27 Aug
4 months ago

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

@pardeepkumar yes i got that now, and the blog shows how to do custom CSRF check which is usefull so when access for csrf is denied i can still check if maybe they have access through a apikey for example, thanks!

26 Aug
4 months ago

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

Im doing that already, but i also for example have a page with a list of all the users, it has to be received by api and it can be displayed on my website, but other websites should not be able to get to it

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

@Cronix yes i did, but i saw i need to set another guard driver for passport, but i use jwtauth so i need that one already, cant do both

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

@Cronix i need it so nobody can access it from outside the application and this is exactly what that does so

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

I think i got it, i removed throttle and bindings and now it works

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

Yes i did 'api' => [ 'throttle:60,1', 'bindings', \App\Http\Middleware\EncryptCookies::class, \Illuminate\Session\Middleware\StartSession::class, \App\Http\Middleware\VerifyCsrfToken::class, ], @tykus

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

@tykus http://prntscr.com/kn1wp2 and

message: "", exception: "Symfony\Component\HttpKernel\Exception\HttpException",…} exception : "Symfony\Component\HttpKernel\Exception\HttpException" file : "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php" line : 203 message : "" trace : [{,…}, {file: "D:\laragon\www\Project\app\Exceptions\Handler.php", line: 49, function: "render",…},…] 0 : {,…} 1 : {file: "D:\laragon\www\Project\app\Exceptions\Handler.php", line: 49, function: "render",…} 2 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 3 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 4 : {,…} 5 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 6 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 7 : {,…} 8 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 9 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 10 : {,…} 11 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 12 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 13 : {,…} 14 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 15 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 16 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 17 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Router.php",…} 18 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Router.php",…} 19 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Router.php",…} 20 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Router.php",…} 21 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php",…} 22 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 23 : {file: "D:\laragon\www\Project\vendor\fideloper\proxy\src\TrustProxies.php", line: 57,…} 24 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 25 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 26 : {,…} 27 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 28 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 29 : {,…} 30 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 31 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 32 : {,…} 33 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 34 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 35 : {,…} 36 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 37 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php",…} 38 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php",…} 39 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php",…} 40 : {file: "D:\laragon\www\Project\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php",…} 41 : {file: "D:\laragon\www\Project\public\index.php", line: 55, function: "handle",…}

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

No other console errors, only that the request failed, error 419 (unknown status @tykes)

Robinvm left a reply on Adding CSRF-TOKEN To Axios Request, How?

@tykus i have this now but if i add csrf protection to the api route it does not work, it gives a error: http://prntscr.com/kn1ny0

Robinvm started a new conversation Adding CSRF-TOKEN To Axios Request, How?

How can i add the csrftoken to axios request, i want my api routes protected with csrf

Robinvm left a reply on API Protection, How?

@topvillas guests on my website should be able to access it, but people from another website not.

Robinvm left a reply on API Protection, How?

@topvillas but how would I do this for guests then?

Robinvm started a new conversation API Protection, How?

Hello,

Im building a Laravel application using VueJS SPA and a API. What is the best way to protect this api, only requests from the same domain and later from other domains should have access, or with API tokens, but how should i do this?

20 Aug
5 months ago

Robinvm left a reply on VueJS + Vue Router Store User Data With JWT AUTH

How can i set that header? I dont know how to access the access_token. @tykus

Robinvm started a new conversation VueJS + Vue Router Store User Data With JWT AUTH

Hello, Im building a SPA with Laravel, VueJS, vue router and JWT AUTH.

How can i store the user data returned with the /auth/user call so i can send user data with api calls in my vue methods.

I can easily access the data in my templates but not in the scripts. (http://prntscr.com/kkucmj <=== i need it here)

02 Jul
6 months ago

Robinvm started a new conversation Tie Customizer / Generator

Hello,

I would like to build a copy of http://www.ontwerpjedas.nl/ but then in Laravel and perhaps vueJS or something

Does someone know any example projects or has tips which things i can use to reproduce this?

Kind regards,

02 Jun
7 months ago

Robinvm started a new conversation Drag / Resize / Rotate Vue Plugin

Does anyone know a good vue drag / resize / rotate vue plugin?

01 Jun
7 months ago

Robinvm started a new conversation Draggable And Resizable Images Onto Background And Save Into 1 Image

Hello,

I want to make something including this:

  1. Select 1 of 12 background images. It is then loaded full screen onto the webpage
  2. Have a menu that opens from the side with a bunch of hardcoded images they can put on top of the background image. So for example the background is a farm, then the hardcoded assets from the menu can be a tractor or wheelbarrow
  3. These assets they add have to be resizable by the user and movable as well. So they tap on an asset and the re-size box appears around the asset.
  4. They can drag them around as well
  5. They have to also be able to change orientation of the assets from left to right (not top to bottom)

Anybody know how i can best do this?

11 May
8 months ago

Robinvm started a new conversation Building A Menu From Different Modules With Laravel Modules

Hello,

For my own CMS im using nwidart modules and i would like to build the CMS menu with input from all modules, so basicly i need to be able to call a function from all modules on load to add the menuitems from that specific module, and then ofcourse access the variable/function from the master view to echo it, how can i do this?

09 Apr
9 months ago

Robinvm left a reply on Installing Custom VPS Wont Work

@dyoung@volume9inc.com i know how to fix this, you got a twitter or whatsapp or skype i can help you on?

08 Apr
9 months ago

Robinvm started a new conversation 405 (Method Not Allowed) While The Code Is Generated By Postman

Hello, im trying to connect to the feedbackcompany api and i used postman to see if it works, it does and i copied its JS code and posted it in my website but then it gives the following errors, any idea what could fix it?

Thanks!

Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (index):1 Failed to load https://www.feedbackcompany.com/api/v2/review/summary: Response for preflight has invalid HTTP status code 405.

07 Jan
1 year ago

Robinvm left a reply on Installing Custom VPS Wont Work

As soon as the command forge provides is done the server goes on provisioning and keeps stuck on that, i dont have more info then that srry

06 Jan
1 year ago

Robinvm started a new conversation Installing Custom VPS Wont Work

Hello, Im currently installing a custom VPS with forge, but it keeps provisioning,

I think ssh is not set correctly, can anyone help/explain how i should do this or what else the problem may be?

Thanks

18 Nov
1 year ago

Robinvm left a reply on .htaccess Redirects To /public

@Snapey i just added: # Force SSL RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

But now it still redirects to /public in the url

Robinvm left a reply on .htaccess Redirects To /public

Found it, now i just need to make it redirect to https, thanks already though. You know how to redirect to https

Robinvm left a reply on .htaccess Redirects To /public

@Snapey where can i adjust my document root?

Robinvm started a new conversation .htaccess Redirects To /public

Hello,

Ive set my .htaccess to redirect always to https://, this also doesnt work, but now it also redirects to /public behind the url, how can i fix this?

My .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/ [L]

My .htaccess in public folder:

Options -MultiViews

RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ / [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

24 Sep
1 year ago

Robinvm started a new conversation Selectize Multiple Only Sends Last Value In Form

Hello, i want to be able to select multiple countries and also send the value in the form, currently it only sends the last value even though you select more, any idea?

<div class="form-group"><label class="col-sm-3 control-label">Languages</label>
                    <div class="col-sm-9">
                        <select multiple
                                id="countries"  name="countries">
                            <option value="nl">Nederland</option>
                            <option value="de">Duitsland</option>
                            <option value="de1">Duitsland1</option>
                            <option value="de2">Duitsland2</option>
                        </select>
                    </div>
                </div>

<script>
    $('#countries').selectize({
        maxItems: null,
        delimiter: ',',
        persist: true,
        create: function(input) {
            return {
                value: input,
                text: input
            }
        }
    });
</script>
16 Sep
1 year ago

Robinvm left a reply on Best CMS To Use And Customize?

@topvillas its not really like laravel does things and its not easy customizable :(

Robinvm started a new conversation Best CMS To Use And Customize?

Hello,

I want to use a existing CMS which is built with laravel and use it to build/manage my website with but it also has to be a CMS that i can easily extend myself, any preferences?

04 Jun
1 year ago

Robinvm started a new conversation Recurring Payments Through Paypal

Hello, Im building a CMS where people can create subscriptions, what i want is that people can buy the subscription and that every month the money will be transferred from their paypal automaticly. But the price etc will all have to be used that is stored in the database, so this would be best to do through a api or something.

How can i do this the best way? Or with what?

28 May
1 year ago

Robinvm started a new conversation PayPal In Laravel Gives Http 500 Error

Hello, THis is the line which causes the error: $response = $payment->create($this->_apiContext);

And this is the $this->_apiContext:

$this->_apiContext = PayPal::ApiContext( config('services.paypal.client_id'), config('services.paypal.secret'));

  $this->_apiContext->setConfig(array(
      'mode' => 'live',
      'service.EndPoint' => 'https://api.paypal.com',
      'http.ConnectionTimeOut' => 30,
      'log.LogEnabled' => true,
      'log.FileName' => storage_path('logs/paypal.log'),
      'log.LogLevel' => 'FINE'
  ));

Can someone help please? Im stuck

20 May
1 year ago

Robinvm started a new conversation Error: Please Provide A Valid Cache Path. Please Help

Hey, When i deploy my laravel app it gives this error in the browser on the website InvalidArgumentException in Compiler.php line 36: Please provide a valid cache path. How can i fix this?

18 May
1 year ago

Robinvm started a new conversation How To: Use Variables For Paypal Rest Api.

Hey, how can i use variables from the database in here? This gives the error array to string conversion

            $sitesettings->clientid,
            config('services.paypal.secret'));

        $this->_apiContext->setConfig(array(
            'mode' => 'sandbox',
            'service.EndPoint' => 'https://api.sandbox.paypal.com',
            'http.ConnectionTimeOut' => 30,
            'log.LogEnabled' => true,
            'log.FileName' => storage_path('logs/paypal.log'),
            'log.LogLevel' => 'FINE'
        ));```
13 May
1 year ago

Robinvm left a reply on How To: Set The Used Database Ip, And Login With Variables From The Database?

@Thyrosis your right, sorry I mean, i want to set variables in a file, and use those as login, ip etc for the database, is that possible?

Robinvm started a new conversation How To: Set The Used Database Ip, And Login With Variables From The Database?

Hello guys, How can i set the used database ip, and login with variables from the database?

10 May
1 year ago

Robinvm started a new conversation Api Request With Guzzle Wont Work

Hello, Can someone help me make a api request to forge.laravel, i have no idea where to start, i only got guzzle, i need to add authentication, headers but not sure how to, cant find it online either

24 Apr
1 year ago

Robinvm left a reply on How To Sell Subscriptions With Paypal Subscriptions

@Daank86 Is there another alternative for this?

Robinvm left a reply on How To Sell Subscriptions With Paypal Subscriptions

@jekinney Im selling subscriptions on my website, but people need to be billed monthly through paypal, i dont know how to automaticly let them get billed montly

Robinvm started a new conversation How To Sell Subscriptions With Paypal Subscriptions

Hello, How can i sell paypal subscriptions with laravel? Cant seem to find it online

21 Apr
1 year ago

Robinvm started a new conversation 502 Bad Gateway After Accidently Deleting Storage Map

Hey, i accidently deleted storage map on laravel while in production and now it says 502 Bad Gateway all the time and the cpu goes to 100%,

what can i do to fix this?