Mick79

Mick79

Founder at SongBox

Member Since 1 Year Ago

Glasgow

Experience Points
10,870
Total
Experience

4,130 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
35
Lessons
Completed
Best Reply Awards
1
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.

Level 3
10,870 XP
Nov
04
2 weeks ago
Activity icon

Started a new Conversation Need Help Using A "cmd Tool"

I asked this question on Github: https://github.com/katspaugh/wavesurfer.js/issues/1784

and was pointed to a solution here: https://wavesurfer-js.org/faq/

The guy said "you can use the audiowaveform tool (it's a cmd tool) and then run that from an artisan command"

Run it from an artisan command? cmd tool?

Honestly... would be so grateful for some advice here?

Oct
17
1 month ago
Activity icon

Started a new Conversation Audio Streaming

Hi everyone,

Right now I stream audio in my app (https://songbox.rocks) by loading an mp3 into the browser and playing it.

I need to move to a streaming solution and I honestly don't know where to start. Does anyone have any idea how this is achieved or if there are any packages available?

Thanks

Oct
14
1 month ago
Activity icon

Replied to Weird Scheduling Bug

I just added

return "true"

and now it all deploys and works fine......

Activity icon

Replied to Weird Scheduling Bug

I think the problem is that the method I'm calling doesn't return anything. It's a void.

Activity icon

Started a new Conversation Weird Scheduling Bug

I'm trying and struggling to get scheduling working.

in kernel.php I have added this

  protected function schedule(Schedule $schedule)
    {

$schedule->job(SendText::send_sms($phonenumber, $message))
            ->everyMinute();
    }

on deploy this causes this build error

In Schedule.php line 106:
get_class() expects parameter 1 to be object, null given  

If I take away that $schedule->job then it deploys fine. Even more bizarrely - I can't find a "Schedule.php" anywhere in my app.

Please help me understand this.

Sep
06
2 months ago
Activity icon

Started a new Conversation Wink - Where Are The Blade Files?

I've got Wink working in local, but having issues in production due to the login routes being not secure.

I can't for the life of me find where they are to edit them. Any ideas?

Activity icon

Replied to Laravel Wink - Login Issues

This is solved by visiting /wink/login

The docs should really be updated to reflect this.

Activity icon

Started a new Conversation Laravel Wink - Login Issues

I've installed wink and it all went well until the simple enough instruction

"now just head to yourapp.com/wink and pass in the supplied credentials"

Sadly this is blowing my mind as when I go to myapp/wink it takes me through my own app's auth process.

Can someone please explain this to me? The docs are so straight forward but they seem to have missed the massive fact that many people will be installing this on a pre-existing app.

Aug
25
2 months ago
Activity icon

Replied to Can't Connect To Mysql Locally - Please Help :-(

Odd... I think I'm gonna wipe the Mac and start absolutely from scratch. Haven't done that in about 18 months and its always fun.

Activity icon

Started a new Conversation Can't Connect To Mysql Locally - Please Help :-(

So I'm having a weird issue and I feel like I've tried everything.

Can't connect locally to MySQL via Sequel Pro or my app.

I've run "mysqld" in terminal and this is the output:

mysqld
2019-08-25T15:39:16.887720Z 0 [System] [MY-010116] [Server] /usr/local/Cellar/mysql/8.0.17/bin/mysqld (mysqld 8.0.17) starting as process 49035
2019-08-25T15:39:16.902823Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive
2019-08-25T15:39:16.928337Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2019-08-25T15:39:17.498391Z 1 [ERROR] [MY-010781] [Server] Found ./mysql/index_stats.frm file in mysql schema. DD will create .ibd file with same name. Please rename table and start upgrade process again.
2019-08-25T15:39:17.498448Z 1 [ERROR] [MY-010336] [Server] Found .frm file with same name as one of the Dictionary Tables.
2019-08-25T15:39:17.498914Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2019-08-25T15:39:17.498961Z 0 [ERROR] [MY-013236] [Server] The designated data directory /usr/local/var/mysql/ is unusable. You can remove all files that the server added to it.
2019-08-25T15:39:17.499602Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-08-25T15:39:17.597488Z 0 [System] [MY-010910] [Server] /usr/local/Cellar/mysql/8.0.17/bin/mysqld: Shutdown complete (mysqld 8.0.17)  Homebrew.

WHAT I DID

I had to upgrade my version of PHP from 7.1.something to 7.2. This involved all sorts of brew installs and restarts and what have you. After it's all done I seem to have knackered mysql locally.

WHAT I'VE TRIED

Mysql IS running

MySQL HAS BEEN restarted

MySQL has been stopped and started

... I'm burst.

Jun
03
5 months ago
Activity icon

Replied to Native Logout Not Working With HTTPS

Hi @snapey the login and register forms user "route" - this needs to be changed to "secure_url" otherwise you lose your https padlock and the user gets and warning dialogue in their browser.

Activity icon

Replied to Native Logout Not Working With HTTPS

Thanks.

So here is what it tells me when I run that artisan command:

App\Http\Controllers\Auth\[email protected]

However here is my LoginController in its entirety - there is no logout function:

<?php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;

class LoginController extends Controller
{
    /*
    |--------------------------------------------------------------------------
    | Login Controller
    |--------------------------------------------------------------------------
    |
    | This controller handles authenticating users for the application and
    | redirecting them to your home screen. The controller uses a trait
    | to conveniently provide its functionality to your applications.
    |
    */

    use AuthenticatesUsers;

    /**
     * Where to redirect users after login.
     *
     * @var string
     */
    protected $redirectTo = '/dashboard';

    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('guest')->except('logout');
    }
}

Jun
02
5 months ago
Activity icon

Started a new Conversation Native Logout Not Working With HTTPS

Hi, I've made my site HTTPS and initially I got errors with logging in and registering the forms weren't secure.

This was an easy fix, but I'm now getting the same problem with logout.... however I can't find the logout controller / form in order to make it secure.

Where is it?

Thanks

May
24
5 months ago
Activity icon

Started a new Conversation Laravel Wink

I've installed the blogging platform "Wink".

I cannot for the life of me find where it's controllers are. Out of the box I can create and save articles but I can't see where those routes and controllers live.

Any ideas?