lrobi2015

lrobi2015

Member Since 4 Years Ago

Kingston, Jamaica

Software Engineer at trivago

Experience Points 4,850
Experience Level 1

150 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 56
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.

07 Aug
3 years ago

lrobi2015 left a reply on Authentication In Laravel 5.1

So you said that you have tried to change the column name from usr_username to username and it still did not work? Yes, double checking the password hash too is an excellent idea :), and remember that Laravel uses bcrypt for password encryption

lrobi2015 left a reply on Authentication In Laravel 5.1

Hi,

I am not very sure if I am understanding you correctly, but I think the problem has to do with what you named your username column => "usr_username". I believe that the authentication class it uses looks for columns called username and/or email.

31 Jul
3 years ago

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

Okay, so for those of you who are having this problem using shared hosting and Laravel 5.1, I found the problems. Take a look at the comments I liked!

  1. There were still some files that did not have the correct permissions - CHECK THIS BY FOLLOWING @ian_h STEPS!!!
  2. The php version that is set in the cPanel of the shared hosting account was lower than 5.5 - DOUBLE CHECK THIS!!!!
  3. @ian_h steps work for uploading files to the server. If you want to upload the project files in their own folder instead of all at the root, make sure you edit the index.php file in public as follows:
require __DIR__.'/../[name of project folder]/bootstrap/autoload.php';

/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/

$app = require_once __DIR__.'/../[name of project folder]/bootstrap/app.php';

If you don't put the project in its own folder, these lines remain unchanged.

There is no need to include this:

$app->bind('path.public_html', function() {
    return __DIR__;
});

I hope this helps some people...Thanks again everyone!

29 Jul
3 years ago

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

@ian_h Okay so this problem is really weird. I am still getting a blank screen after I have checked the permissions to ensure that directories are set to 0755 and files to 0644. I am using godaddy shared hosting (not by choice), and my Laravel version is 5.1.

I uploaded a Laravel 5 project to another godaddy shared hosting account, and it is working fine. For this particular project, I added the following to the index.php file in the public directory:

$app->bind('path.public_html', function() {
    return __DIR__;
});

I even tried to put this in the Laravel 5.1 project, but it failed...

I did exactly what you said, and read this article for additional reference in case I misunderstood something: https://medium.com/laravel-news/the-simple-guide-to-deploy-laravel-5-application-on-shared-hosting-1a8d0aee923e

Please help me :( I have no idea what else to try.

Thank a lot in advance!

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

@ian_h Okay, I will give this a shot today and post my progress here. Thank you!

27 Jul
3 years ago

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

@ian_h I see... I am very afraid to delete the public_html folder...but I need to do this in order for the symlink to work, correct?

@rosswilson252 - Thanks, I will try this and let you know if this is the issue.

I wish there was a simplier, more straightforward way to deal with this drama >.>

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

Ok so I changed my directory structure to the way @kodemania has his, which is what I had done for a Laravel 5 project, now I am not getting a 500 error anymore, but a blank screen :....

It doesn't seem that error logging in enabled on this server...if I turn it on now, it will take about 24 hours for the changes to take effect.

Can anyone say what is the best way to upload files to shared hosting? Should I just throw all the project files into public_html? Or should I leave everything except what is in public outside of public_html and only put the content of the public folder inside public_html?

lrobi2015 left a reply on Laravel 5.1 On Shared Hosting Not Working

Yeah I am having this problem as well >.>

29 Jun
4 years ago

lrobi2015 left a reply on Eloquent, Query Builder, And Basic Usage Can't Update Row

Hi Mohammed,

What is the error message you are receiving (if any)?

26 Jun
4 years ago

lrobi2015 left a reply on 413 Request Entity Too Large - After Upping The Max Size To 1000M

Thank you for your quick reply! I changed the memory_limit to 1024 ;)

I checked the max_file_uploads fields...it was set to 100. I restarted nginx and PHP and resubmitted the form...still getting the same error :(

lrobi2015 started a new conversation 413 Request Entity Too Large - After Upping The Max Size To 1000M

Hey Guys,

So I'm having a serious problem :|

I have been getting this error when trying to send a post request with 27 files...it worked before on the settings that were there, but when I tried again with another set of 27 files, I got the error:

413 Request Entity Too Large

I am using Laravel Homestead. I changed the nginx.conf client_max_upload field to 800M, and updated the php.ini file as follows:

upload_max_fille_size = 800M post_max_size = 900M memory_limit = 1000M

I restarted both php and nginx, and I am still getting the error :(

Can someone help? Thanks