Cyber Monday! Get 25% off for as long as you keep your subscription. New subscribers only.

mix5003

mix5003

Member Since 5 Years Ago

Experience Points
151,410
Total
Experience

3,590 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
1452
Lessons
Completed
Best Reply Awards
6
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 31
151,410 XP
Jul
22
4 months ago
Activity icon

Replied to Scheduled Commands

first of all, check if host is correct (default is localhost if you ran on different machine it may connect to different server.

if you sure that you host correct, can you try to redirect stderr (add 2>&1) to file and check what error throw (ex 2>&1 > /path/to/save.sql

Activity icon

Replied to Scheduled Commands

can you try to use full path instead of just mysqldump (ex /usr/bin/mysqldump)

Activity icon

Replied to Laravel Queue Database Help

i think what you need is Task Scheduling

please see this https://laravel.com/docs/7.x/scheduling

Activity icon

Replied to Heroku & Laravel - Views Not Found

can you check config/view.php

  • is it still exists?
  • is path is set to 'paths' => [resource_path('views'),]

check files in bootstrap/cache/* is not on git. if any files already on git please delete it (except .gitignore)

check env/config if any APP_BASE_PATH has been set please delete it.

if it still not works please give a content of Profile and build step (if you has) or create new project from scath from this link https://devcenter.heroku.com/articles/getting-started-with-laravel

Jul
21
4 months ago
Activity icon

Replied to Heroku & Laravel - Views Not Found

can you run this command and run again

php artisan view:clear
php artisan route:cache
php artisan config:cache
Activity icon

Replied to Why I Am Unable To Assert That A Job Has Not Been Dispatched?

i think you forgot this line in test file.

use App\Jobs\AnothertJob;
Jul
12
4 months ago
Activity icon

Awarded Best Reply on Storing Images On AWS S3, But Unable To Read Them Publicly

You can try

$path = $request->file('myphoto')->storePubliclyAs('images', $imageName, 's3');
Jul
11
4 months ago
Activity icon

Replied to Send Email Error Laravel

if i remember correctly. When you send email from new IP you need to verify that IP first. i think there is a link in error message, go to that link to verify you IP. and after that i think you should send email from gmail normally

Jul
10
4 months ago
Activity icon

Replied to INNER JOIN OR LEFT JOIN

i think at least 1 condition should be equals something like

SELECT s.id, s.Fullname, s.Address, s.city, s.Province, s.Zipcode, s.telephone, c.id
FROM scotlist s
JOIN allcustmomers c 
ON c.Fullname = s.Fullname AND (c.city != s.City OR c.Zipcode != s.Zipcode )
order by s.id DESC; 

this mean fetch row that has same fullname but city or zip code note match

Activity icon

Replied to Storing Images On AWS S3, But Unable To Read Them Publicly

You can try

$path = $request->file('myphoto')->storePubliclyAs('images', $imageName, 's3');
Jul
05
4 months ago
Activity icon

Awarded Best Reply on Using An Accessor Or Mutator If The Column Has 2 Consecutive Underscores

i think the correct method name is getStartedTradingCAttribute

Jul
02
4 months ago
Activity icon

Replied to Unable To Access Json Response Outside My Function

no it can use in global variables. but in this case console.log do before success ran. so it has no value because it log before set value.

i think you should move this logic to call in success function

Jul
01
4 months ago
Activity icon

Awarded Best Reply on Where + OrWhere On Two Columns In Filter

try

$query->where(function($subQuery){
$subQuery->where('column1', 1)->orWhereNotNull('column2');
});
Activity icon

Awarded Best Reply on Master Slave In Laravel

laravel didn't do any replication process. you must config mysql to do replication to slave.

try to do something like this: https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql

Activity icon

Replied to Using An Accessor Or Mutator If The Column Has 2 Consecutive Underscores

i think the correct method name is getStartedTradingCAttribute

Activity icon

Replied to Where + OrWhere On Two Columns In Filter

try

$query->where(function($subQuery){
$subQuery->where('column1', 1)->orWhereNotNull('column2');
});
Activity icon

Replied to Upload Files ?

i think it because you use default local as filesystem driver. if you want file to public and store as local file system, i think you should set public to default file driver. or you may specific disk name when you store file like this.

$path = $products->store('customer_order_products', /* disk name */ 'public'); 
// or in fullform
$path = $products->store('customer_order_products', ['disk' => 'public']);
Activity icon

Replied to Master Slave In Laravel

laravel didn't do any replication process. you must config mysql to do replication to slave.

try to do something like this: https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql