GoTesla

GoTesla

Member Since 1 Year Ago

Experience Points 320
Experience Level 1

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

10 Jun
1 month ago

GoTesla left a reply on How To Change Env Variable / Config In Dusk Test?

Thank you, @squibby ! That approach worked well for me.

26 Jan
5 months ago

GoTesla left a reply on Error While Sending STMT_PREPARE Packet On Queued Jobs

@instanceofmichael and @rebelinblue and @jpral

I still have this problem months later (it has been driving me crazy!) and now has a 500-point bounty: https://stackoverflow.com/q/53469793/470749

What should I be investigating at this point?

How can I discover whether any of my cron jobs or queued jobs are problematic? Thanks.

23 Nov
7 months ago

GoTesla left a reply on Error While Sending STMT_PREPARE Packet On Queued Jobs

@instanceofmichael or @rebelinblue Did you ever figure out this 'Error while sending STMT_PREPARE packet. PID=1759' that you received related to Laravel queued jobs?

I'm having the same problem on Laravel 5.7.

In the above comments, I don't understand what "DB::connection()->reconnect()" is about and why someone would recommend that because it doesn't seem to address a root cause.

Thanks!

01 Jul
1 year ago

GoTesla left a reply on Can't Add Foreign Key Constraint

My problem was that I was using $table->dropForeign('someId'); instead of an array such as $table->dropForeign(['someId']); See https://stackoverflow.com/a/30177480/470749

07 May
1 year ago

GoTesla left a reply on How To Test Browser Functionality Of Popups (such As For Payment Request API)

@jlrdw Interesting. Browserstack lets you write tests that click the right buttons on these popups? What would the selector look like for this example?

I searched the website for a while and was having a really hard time finding the right documentation.

https://www.browserstack.com/support?tag=local-testing

Thanks.

GoTesla started a new conversation How To Test Browser Functionality Of Popups (such As For Payment Request API)

How can I write browser tests for modals like this?

enter image description here

In case it matters, I'm using Laravel 5.6 Dusk for browser testing, and my payment request modal is generated via a Stripe Payment Request Button.

Stripe's Payment Request Button uses the cross-browser Payment Request API from W3C.

Chrome doesn't let me "inspect" the HTML of the elements of the modal, so I'm not sure how to write compatible commands in the form of $browser->click('.selector');.

See https://stackoverflow.com/q/50070977/470749

31 Mar
1 year ago

GoTesla left a reply on How To Get Https Certificate Working On Local Laravel Homestead Site

@Cronix I updated the comment above using your 3 backtick approach. Thanks for that hint!

GoTesla left a reply on How To Get Https Certificate Working On Local Laravel Homestead Site

@Cronix No, but it does have a warning about guest additions (and I don't understand what this means or what I could do to resolve it, if it matters). Thanks.

$ vagrant up Bringing machine 'vboxHomestead' up with 'virtualbox' provider... ==> vboxHomestead: Checking if box 'laravel/homestead' is up to date... ==> vboxHomestead: Clearing any previously set forwarded ports... ==> vboxHomestead: Clearing any previously set network interfaces... ==> vboxHomestead: Preparing network interfaces based on configuration... vboxHomestead: Adapter 1: nat vboxHomestead: Adapter 2: hostonly vboxHomestead: Adapter 3: bridged ==> vboxHomestead: Forwarding ports... vboxHomestead: 80 (guest) => 8000 (host) (adapter 1) vboxHomestead: 443 (guest) => 44300 (host) (adapter 1) vboxHomestead: 3306 (guest) => 33060 (host) (adapter 1) vboxHomestead: 4040 (guest) => 4040 (host) (adapter 1) vboxHomestead: 5432 (guest) => 54320 (host) (adapter 1) vboxHomestead: 8025 (guest) => 8025 (host) (adapter 1) vboxHomestead: 27017 (guest) => 27017 (host) (adapter 1) vboxHomestead: 22 (guest) => 2222 (host) (adapter 1) ==> vboxHomestead: Running 'pre-boot' VM customizations... ==> vboxHomestead: Booting VM... ==> vboxHomestead: Waiting for machine to boot. This may take a few minutes... vboxHomestead: SSH address: 127.0.0.1:2222 vboxHomestead: SSH username: vagrant vboxHomestead: SSH auth method: private key vboxHomestead: Warning: Remote connection disconnect. Retrying... ==> vboxHomestead: Machine booted and ready! ==> vboxHomestead: Checking for guest additions in VM... vboxHomestead: The guest additions on this VM do not match the installed version of vboxHomestead: VirtualBox! In most cases this is fine, but in rare cases it can vboxHomestead: prevent things such as shared folders from working properly. If you see vboxHomestead: shared folder errors, please make sure the guest additions within the vboxHomestead: virtual machine match the version of VirtualBox you have installed on vboxHomestead: your host and reload your VM. vboxHomestead: vboxHomestead: Guest Additions Version: 5.0.18_Ubuntu r106667 vboxHomestead: VirtualBox Version: 5.2 ==> vboxHomestead: Setting hostname... ==> vboxHomestead: Configuring and enabling network interfaces... ==> vboxHomestead: Mounting shared folders... vboxHomestead: /vagrant => C:/code/Homestead vboxHomestead: /home/vagrant/Code => C:/code ==> vboxHomestead: Machine already provisioned. Runvagrant provisionor use the--provision==> vboxHomestead: flag to force provisioning. Provisioners marked to run always will still run.

GoTesla left a reply on How To Get Https Certificate Working On Local Laravel Homestead Site

@Cronix Yes. And I've run composer update and homestead.bat reload --provision. Thanks.

GoTesla started a new conversation How To Get Https Certificate Working On Local Laravel Homestead Site

I have a large bounty here: https://stackoverflow.com/q/48969083/470749

I'm getting this problem:

enter image description here

The error that I'm seeing in Windows 10 Chrome Version 65.0.3325.181 (Official Build) (64-bit) is:

Your connection is not private

Attackers might be trying to steal your information from ((mysite)) (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_AUTHORITY_INVALID

This page is not secure (broken HTTPS).

Certificate - missing

This site is missing a valid, trusted certificate (net::ERR_CERT_AUTHORITY_INVALID).

Firefox Quantum 59.0.2 (64-bit) says:

Your connection is not secure

The owner of ((mysite)) has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

Connection is Not Secure

Could not verify this certificate because the issuer is unknown.

I have already tried: https://stackoverflow.com/a/47755133/470749

vboxmanage --version
5.2.6r120293

vagrant -v
Vagrant 2.0.2

git branch
* (HEAD detached at v7.1.2)

vagrant box list
laravel/homestead (virtualbox, 5.1.0)

vagrant box update
==> vboxHomestead: Checking for updates to 'laravel/homestead'
    vboxHomestead: Latest installed version: 5.1.0
    vboxHomestead: Version constraints: >= 4.0.0
    vboxHomestead: Provider: virtualbox
==> vboxHomestead: Box 'laravel/homestead' (v5.1.0) is running the latest version.

I wonder if this means that I'm not yet using release 7.1.0 (which has in its changelog "sign SSL certificates with a custom root certificate"), and I wonder if that's why I have this SSL HTTPS problem.

What are the next steps I should try now to get the certificate working?

20 Feb
1 year ago

GoTesla left a reply on Access Laravel5.2 Website Outside Host Machine With Xip.io DNS

This worked for me: https://stackoverflow.com/a/38714136/470749

No mapping to xip.io seemed necessary in my Hosts file or in Homestead.yaml.

GoTesla left a reply on Access Laravel5.2 Website Outside Host Machine With Xip.io DNS

This worked for me.

Hosts file: 192.168.10.10 mysite.192.168.1.104.xip.io

I didn't do anything special in Homestead.yaml. No mapping to xip.io seemed necessary.

https://mysite.192.168.1.104.xip.io/ works in Chrome on my desktop server (if I do not specify the port in the URL)

https://mysite.192.168.1.104.xip.io:44300/ works in Chrome on iOS (specifying the port in the URL)

08 Feb
1 year ago

GoTesla left a reply on Homestead Default Site

I appreciated @Cinqo's answer and think that @stueynet should mark it as the best answer.

This seems to be true: "The site "default" only works because of the alphabetic order; there is no keyword "default" to specify a site like in nginx. When you reach the IP of the box directly, it goes to the first site you have listed in alphabetic order."

Thanks, @Cinqo!

15 Jan
1 year ago

GoTesla left a reply on Remove Jobs From Database Queue

I have a similar question here but using Redis instead of a database table for the queue: https://stackoverflow.com/q/48255735/470749

I'd LOVE to learn how to be able to delete Mailables that were delayed via the ->later() method.