DavMaxwel

DavMaxwel

Member Since 1 Month Ago

Experience Points
290
Total
Experience

4,710 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 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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
290 XP
Sep
22
1 month ago
Activity icon

Replied to PDOException: Could Not Find Driver

Thanks Sir. After realizing there is a setting here

<env name="DB_CONNECTION" value="sqlite"/>

I have it resolved by turning on pdo_Sqlite.

Thanks once more

Activity icon

Replied to PDOException: Could Not Find Driver

PHPUnit DB Settings

        <env name="DB_CONNECTION" value="sqlite"/>
        <env name="DB_DATABASE" value=":memory:"/>

Yes I restarted apache, php and the terminal

Activity icon

Replied to PDOException: Could Not Find Driver

I just did, but no luck.

Activity icon

Started a new Conversation PDOException: Could Not Find Driver

Hi! I am using Laravel with Laragon on windows 10, php 7.4, everything is working fine except when I run

phpunit --filter it_fetches_a_feed_for_any_user

Then I get

Illuminate\Database\QueryException: could not find driver (SQL: PRAGMA writable_schema = 1;)

If I look down on the error message printed I also see

Caused by
PDOException: could not find driver

Any Assistance will be appreciated.

I have checked php.ini and extension=pdo_mysql is enabled. In laragon settings, PDo_Mysql is checked.

Suggestions online says I should run

sudo apt-get install sqlite php-sqlite3

But this code doesn't work on windows,

Thanks

Sep
20
1 month ago
Activity icon

Replied to Issue With Nginx On My PC

Wow! Thanks, I will give it a try right away and if the problem goes away. I won't hesitate to write about it on my blog - https://sleettech.com/

Activity icon

Started a new Conversation Issue With Nginx On My PC

I don't know if this is a coincidence but I need highlight from someone more experienced than I am.

First I set up homestead and my site won't run, it shows 502 Gateway timeout and then I configured the site from the Homestead.yaml file to use apache and everything worked fine.

Secondly, I move to use Laragon and after all setup, my sites won't run and when I change the settings to use Apache, everything is working fine.

So my confusion is, could it be the problem is from my machine? if so, do you have any idea why my machine wouldn't work with Nginx?

My Machine runs on Win 10.

Activity icon

Started a new Conversation Switching From Homestead To Laragon (Advice Needed)

Recently I ran into this issue of 502 Gateway error while setting up Homestead, I followed the procedures discussed here https://sleettech.com/solution-502-bad-gateway-on-homestead/, I was able to resolve the problem by switching to apache but then I have decided to move to laragon to continue working on a project I started in Homestead.

Please what are the down side of moving from Homestead to Laragon? This will be my first with laragon, are there any features I will not have access to in Laragon? like Unit Testing.

Activity icon

Replied to 502 Bad Gateway

I repeated the same setup on a colleague PC without changing to type: "apache" and I had the same error, then I run this code I found on Github and the error disappear.

sudo phpdismod xdebug

I returned to my PC and did thesame but it dint work. The error persist.

Please I need help

Activity icon

Replied to 502 Bad Gateway

Yes, the folders are sync. I verified by watching the processing when vagrant is loading and I have this line.

 homestead: /vagrant => C:/Users/STECHMAX/Homestead
 homestead: /home/vagrant/code => C:/Laravel_Projects

And also vagrant ssh shows that the folders are in sync.

Sep
19
1 month ago
Activity icon

Replied to 502 Bad Gateway

If I change to Apache like this

sites:
    - map: homestead.test
      to: /home/vagrant/learn/public
      type: "apache"

the error goes away.

Please How do I get this to work without adding that line type: "apache"

Activity icon

Replied to 502 Bad Gateway

I have tried that and have also read through the link you provided, Thank you. But the problem still persist.

Here is my HOmestead.yaml file configuration now

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: c:/Users/STECHMAX/.ssh/id_rsa.pub

keys:
    - c:/Users/STECHMAX/.ssh/id_rsa

folders:
    - map: c:/Laravel_Projects
      to: /home/vagrant/code

sites:
    - map: homestead.test
      to: /home/vagrant/code/testsite/public

databases:
    - homestead

features:
    - mariadb: false
    - ohmyzsh: false
    - webdriver: false

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

Sep
18
1 month ago
Activity icon

Started a new Conversation 502 Bad Gateway

I have repeated followed the procedures in this documentation https://laravel.com/docs/8.x/homestead.

But after running vagrant up and waiting for the process to finish, I visit my website on homestead.test it returns 502 Bad Gateway.

My Host File Configuration

192.168.10.10 homestead.test

My Homestead Yaml File Setup

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/C:\Users\STECHMAX\Homestead\code
      to: /home/vagrant/code

sites:
    - map: homestead.test
      to: /home/vagrant/code/public

databases:
    - homestead

features:
    - mariadb: false
    - ohmyzsh: false
    - webdriver: false

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp