Johnston907

Johnston907

Member Since 4 Months Ago

Experience Points 5,440
Experience
Level
Lessons Completed 52
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.

05 Dec
1 week ago

Johnston907 started a new conversation Suggestions On Payment-processing

I am trying to build my very first official website. I have a friend who is trying to be an actor/model, and he has an album he is trying to market. I can play the samples of the music on the webpage just fine, but how do I set up payment for his website? I want end-users to be able to pay with a debit/credit card directly on my clients website (without having to go to Paypal or leave the website.)

Also, the security required to maintain the database..... Does Laravel have sufficient security? I will be hosting the website with Amazon Web Service so I suppose I would trust their server security?

27 Aug
3 months ago

Johnston907 left a reply on Cannot Make Php Artisan Migrate Work

was a permissions thing for the mysql user.....

22 Aug
3 months ago

Johnston907 left a reply on Cannot Make Php Artisan Migrate Work

So i got upset i couldn't solve this and moved onto something else. I tried creating a new user for mysql and in the process found a command specifying grants and permission related to mysql. When i created the new user with these grants and permission it solved every issue and everything works as intended. But why was it wrong in the first place?

21 Aug
3 months ago

Johnston907 left a reply on Cannot Make Php Artisan Migrate Work

Could there possibly be version issues?

Kyles-MBP:blog kylejohnston$ php -v returns: PHP 7.2.8

Kyles-MBP:blog kylejohnston$ laravel -V returns: Laravel Installer 2.0.1

Kyles-MBP:blog kylejohnston$ valet -V returns : Laravel Valet 2.0.12

Kyles-MBP:blog kylejohnston$ composer -V returns: Composer version 1.6.5 2018-05-04 11:44:59

Kyles-MBP:blog kylejohnston$ brew -v returns: Homebrew 1.7.1

Johnston907 left a reply on Cannot Make Php Artisan Migrate Work

oh and i can't get mySQLWorkbench to connect to it, either....

Johnston907 started a new conversation Cannot Make Php Artisan Migrate Work

Im trying to follow the laraval 5.4 from scratch video task by task. I am stuck on episode 4. I have Laravel, Valet, Composer, Php, mysql (on command line) and mySQLWorkbench. i use Atom as my IDE.

in ~/Desktop/Coding is where i saved all of my laravel/valet installations...my project is in ~/Desktop/coding/blog

//****WITHIN ATOM

in /blog i have edited the env file to show the following: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=blog10 DB_USERNAME=root DB_PASSWORD=

//DB_DATABASE is blog10 because i've tried this so many times, the most recent mysql //database that i've created and used is blog10.

//***IN MY TERMINAL

//this is the status of the mysql database in my terminal: mysql> status

mysql Ver 8.0.12 for osx10.13 on x86_64 (Homebrew)

Connection id: 18 Current database: blog10 Current user: [email protected] SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 8.0.12 Homebrew Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: utf8 Db characterset: utf8 Client characterset: utf8mb4 Conn. characterset: utf8mb4 UNIX socket: /tmp/mysql.sock Uptime: 8 hours 58 min 30 sec

Threads: 2 Questions: 133 Slow queries: 0 Opens: 224 Flush tables: 2 Open tables: 200 Queries per second avg: 0.004

//**ALSO IN TERMINAL IN ANOTHER PAGE Kyles-MBP:blog kylejohnston$ php artisan migrate //THIS COMMAND RETURNS ABSOLUTELY NOTHING //when i enter php artisan migrate, the command line has absolutely no response, i've even //left it running overnight. I cannot type anything else into the command line until i hit //control+c or start a new terminal window. If i misspell "migrate" the logs in my //logs/laravel.log will update and my terminal will prompt me with an error message

I want the migrate to automatically make the two default tables in my blog10 database =[

15 Aug
4 months ago

Johnston907 left a reply on Php Artisan Migrate Issues

okay. the video mentioned homestead. I'm sure i'll check it out later. i know its a virtual machine. i don't know anything about virtual machines.

Johnston907 left a reply on Php Artisan Migrate Issues

im asssuming... something like... brew services reinstall mysql57

??

Johnston907 left a reply on Php Artisan Migrate Issues

okay, how do i downgrade? cause yes im on 8

Johnston907 left a reply on Php Artisan Migrate Issues

im on php 7.2.8

Johnston907 left a reply on Php Artisan Migrate Issues

when i type php artisan migrate, it doesn't do anything. My command line gets basically frozen. like if i type anything and hit enter its no longer processing anything. kind of like when you start php artisan serve. so nothing pops up in the laravel log file. if i mistype the word migrate, and the "did you mean migrate" box pops up, then that shows in the log file.

Johnston907 left a reply on Php Artisan Migrate Issues

yes i can use php artisan serve and connect to localhost in browser to view the laravel welcome page. I can connect to the sql database through command line. Yeah theres a lot of stuff in the storage log file. looks like all of my random attempts at making it work.

Johnston907 started a new conversation Php Artisan Migrate Issues

Im trying to mimic the laraval 5.4 from scratch video. I have done everything step by step to this point. I have the latest version oh php, composer, laravel, brew, valet, and mysql. I have created a database called blog. i edited the information in my .env, username is root. password is blank. when i get on the command line and cd into my project folder, i run php artisan migrate and absolutely nothing happens at all. i get no response from the terminal even after long periods of time (30 minutes) and i cant type in that terminal window until i press control+c

i cannot get the database to connect to my app and sql.... the tables aren't being created when i run migrate...i've been trying to figure this out all day. this is my very first post ever asking for help.