Haresh

Haresh

Member Since 7 Months Ago

Experience Points
650
Total
Experience

4,350 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
0
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 1
650 XP
Oct
28
1 month ago
Activity icon

Replied to Getting "failed To Open Stream: Unknown Error 4094" Error

@sergiu17 I have changed permission to 775 but still getting error.

Oct
27
1 month ago
Activity icon

Replied to Getting "failed To Open Stream: Unknown Error 4094" Error

@sergiu17 I have already given 777 permission. Should I remove that and give 775 permission?

Activity icon

Replied to Getting "failed To Open Stream: Unknown Error 4094" Error

@sergiu17 If you know then can you please tell me what is 4094 error code means?

Activity icon

Started a new Conversation Getting "failed To Open Stream: Unknown Error 4094" Error

I'm getting this exception in one of my Laravel projects. Here is a log for that:

[2020-10-27 03:12:06] local.ERROR: ErrorException: file_put_contents(/var/www/html/project_name/storage/framework/sessions/fgJHHdgGBC6DXADHbdhBhdbDNg4Cmw0icndhfBUHkjgqPtg): failed to open stream: Unknown error 4094 in /var/www/html/project_name/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122
Stack trace:

Can anyone please help me to get rid out of this? I searched a lot on google but no one facing this kind of issue and couldn't able to find any solution.

Jul
28
4 months ago
Activity icon

Replied to Need To Add One Key In Musics Collection

@bobbybouwmann I want to add is_favourite in each music. In main question first line is missing I have tried to update question but can't update. I have playlist and each playlist have multiple musics. I think now I'm clear to you.

Activity icon

Replied to Need To Add One Key In Musics Collection

@bobbybouwmann Can I do the same in this relation and how? Each playlist have multiple musics.

Activity icon

Replied to Need To Add One Key In Musics Collection

Don't know but I can't able to update my question Here is my code:

$playlists = Playlist::with(['musics' => function ($query) {
            $query->select('music_id as id', 'category_id', 'name', 'music', 'is_locked', 'duration');
        }])->select('id', 'name')->where('user_id', $userId)->get();
Activity icon

Started a new Conversation Need To Add One Key In Musics Collection

            $query->select('music_id as id', 'category_id', 'name', 'music', 'is_locked', 'duration');
        }])->select('id', 'name')->where('user_id', $userId)->get();

I want to add one key is_favourite with music. How can I achieve that? I have tried with map but it didn't work.

Jun
03
5 months ago
Activity icon

Started a new Conversation Swap Memory On Linux Server

Hi, I have a Linux server with 11GB Storage and 2GB Swap memory.

I'm using Apache and MySql on the server.

Sometimes swap memory goes Out of memory and it deleted MySQL process as it consumes more memory(approx 40%). Log for this error is like this: "kernel out of memory kill process score or sacrifice child'

So, what is the minimum Swap memory required for my server to stop this kind of issue?