Johnston907

Johnston907

Member Since 1 Year Ago

Experience Points 5,690
Experience Level 2

4,310 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 53
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.

02 Apr
3 months ago

Johnston907 started a new conversation Accessing Localhost From My Iphone?

So i've been testing websites on my laptop using my localhost by using php artisan serve... But i want to be able to test code that is strictly only for touch-screen devices. Currently, I have to upload the code to my amazon server in order to test its functionality on my Iphone. Is there any way my Iphone can access my MacBooks localhost? it'd save SOO much time so i don't have to compress and upload every single time.....

14 Mar
4 months ago

Johnston907 started a new conversation Hosting A Laravel Framework Website With AWS

Maybe this is a wrong section, but I've created (most) of a website. I used the Laravel framework, I have a mysql database attached. I want to host the website through Amazon Web services. Which AWS service would i need? it's a very basic website; users have the ability to download music, and a verryy small mysql database is being used. I would think either EC2 or Elastic Beanstalk? i'm having a hard time determining the exact differences between those.

08 Mar
4 months ago

Johnston907 started a new conversation Making Files Downloadable Only After Pirchase

I have a website I’ve created for a client, and I’ve created an MP3 player to play samples music. I Have links to downloadable files for the full versions of the songs. How can I make the files downloadable only after purchase? I also don’t have a purchase method set up. I’ve heard stripe is a pretty good method?

05 Dec
7 months 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
10 months ago

Johnston907 left a reply on Cannot Make Php Artisan Migrate Work

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

22 Aug
10 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
10 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
11 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.