Daniel1836

Daniel1836

Member Since 1 Month Ago

Experience Points
9,600
Total
Experience

400 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
92
Lessons
Completed
Best Reply Awards
0
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 2
9,600 XP
Apr
09
1 day ago
Activity icon

Replied to Dropdown Not Updating On Front End When I Update Database

I solved it by using

@foreach (App\Channel::all() as $channel) instead.

I hope nothing else blows up by doing this.

Activity icon

Replied to Dropdown Not Updating On Front End When I Update Database

The functionality of my app is working properly. However the list in the dropdown menu in my browser reflecting the values in my database from the {{ $channel->name}} part of my code is still displaying the old values, not the new ones I changed in my table in MYSQL

Activity icon

Started a new Conversation Dropdown Not Updating On Front End When I Update Database

As the title says, I updated the 'name' column in my database in PHPmyadmin manually to something different.


@foreach ($channels as $channel)
                      <option value="{{ $channel->id}}" {{old('channel_id')==$channel->id? 'selected' : ''}}>{{ $channel->name}}</option>
                                           @endforeach

But when I see the dropdown on my browser, it is displaying the old values not the new ones.

Anyone know why this is?

Thanks

Apr
07
3 days ago
Activity icon

Replied to Laravel Route Question

Thank you

Activity icon

Started a new Conversation Laravel Route Question

I'm trying to get this code snippet to work.

a href="{{ route('profile', Auth::user()) }}">My Profile</a

It says route not defined.

My web.php route looks like this

Route::get('/profiles/{user}', '[email protected]');

I am not sure if this route is what I should be troubleshooting or if there is a file elsewhere, as I am quite new to Laravel.

I am following a tutorial step by step,I'm not sure where I'm tripping up.

Everything else in the Controller, View, Route is working for this, it just errors when I try the first bit of code I mentioned.

Also, is there any way I can use URL instead of route, then pass the authenticated user? If the URL is http://mysite.com/profile/{user}

(excuse that I did not close the a tag, the forum actually did my html in the browser)

Thanks

Apr
01
1 week ago
Activity icon

Replied to These Credentials Do Not Match Our Records. (Log In) (Laravel)

Not working yet.

I have also tried pulling in different stuff in various files, like (use App\Models\User;)

Activity icon

Replied to These Credentials Do Not Match Our Records. (Log In) (Laravel)

I'm not 100% sure this the correct code snippet. It is from (RegisterController.php)

protected function create(array $data) { return User::create([ 'name' => $data['name'], 'email' => $data['email'], 'password' => Hash::make($data['password']), ]); }

Activity icon

Replied to These Credentials Do Not Match Our Records. (Log In) (Laravel)

They are both being stored in the database. The email appears correct, the password is being hashed in the database so I can't verify that they are a match.

From what I found on google one person recommended (bcrypt password) Checking all the relevant php files I don't think so, it is being hashed.

Activity icon

Replied to These Credentials Do Not Match Our Records. (Log In) (Laravel)

No. Then it says (These credentials do not match our records.) in red. It asks for the email and the password.

Activity icon

Replied to These Credentials Do Not Match Our Records. (Log In) (Laravel)

version 5.2.45

Technically registering automatically logs you in. But I want to be able to log in using credentials after logging out.

Activity icon

Started a new Conversation These Credentials Do Not Match Our Records. (Log In) (Laravel)

Hi,

I am building the Forum app listed in the Laracasts Series (Laravel) on this site.

I can register fine, but the login section I get the error (These credentials do not match our records.) even though the (email etc) information is inside my users table in the database.

The files I am using are the standard boiler plate I get from using the (php artisan make:auth) command.

Does anyone know a solution?

I suspect from my research the password is suspect. (it is being hashed).

Thanks

Mar
31
1 week ago
Activity icon

Replied to How Can I Use The Terminal/tinker Using Laravel On Hostgator?

Thanks for the reply.

I'm able to connect the ssh to my shared hosting site.

When I run the php artisan command though I get this message.

(Could not open input file: artisan)

Activity icon

Started a new Conversation How Can I Use The Terminal/tinker Using Laravel On Hostgator?

I'm building a project using Laravel on HostGator. I'm trying to create a factory to create some dummy data. Is there a way to use the terminal to enter tinker/php artisan commands on HostGator?

I've been creating the files (models, controllers) manually in my cpanel up to this point.

Thanks

Mar
26
2 weeks ago
Activity icon

Started a new Conversation Trouble Connecting To Database Using Laravel On Host Gator

This is the error I get.

Access denied for user 'root'@'localhost' (using password: NO)

I am trying to mess with my .env file. Here is what I have.

DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD=

I have tried creating a user and password and giving privileges for the database and entering it in the .env, but that didn't work.

Thanks

Mar
04
1 month ago
Activity icon

Replied to How Can I Run Laravel In Host Gator?

I have 5.5.37. Will that work?

Activity icon

Started a new Conversation How Can I Run Laravel In Host Gator?

I can run Laravel projects in the browser from my local machine. I uploaded and installed my Laravel project files into my file manager on Host gator in the appropriate places (According to this site referred by technical support) (https://laravel.io/forum/02-13-2014-how-to-install-laravel-on-a-hostgator-shared-server), but the Laravel welcome page won't work. Not sure about the url path to access it either. I am able to run vanilla PHP and connect it to the host gator php my admin database though. That works. Can anyone help on the steps?