ElvinGizWiz

ElvinGizWiz

Member Since 2 Years Ago

Experience Points 1,010
Experience Level 1

3,990 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 8
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.

26 Mar
2 years ago

ElvinGizWiz left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 233

My form open is changed to: {!! Form::open(array('route' => array('posts.show',$page = 'show'),'method' => 'get')) !!}

My route also added Route::get('posts/show','[email protected]');

And the error is fixed. Thanks for the help and guidance.

ElvinGizWiz left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 233

@Snapey I changed the method to "get" but the error code still there.

The form open code is {!! Form::open(['route' => array('posts.show',$page = 'show','method' => 'get')]) !!}

It is weird that, if after I click the submit button, it will link to "../posts/show?method=get", the error code will be prompt out but if I straight go into the URL, it work fine.

ElvinGizWiz left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 233

@Snapey My first form is to upload a zip file, store a record and extract the zip file.

Second form is to read the file, get all png image file and display it out based on the folder name which key-in by the user.

ElvinGizWiz left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 233

@Snapey The first form I create and learn through Jeffrey Way tutorial which I think it will never fail? After the first form succeed, I just try to add more form to test whether it is fine to have multiple form in a page or not.

This is my source code. I just use Laravel for a week. Still in learning process. http://pastebin.com/PAwu6qUV http://pastebin.com/M9Nn4JEe

Thanks for the guide. I will try to use php artisan make::controller more often.

ElvinGizWiz started a new conversation MethodNotAllowedHttpException In RouteCollection.php Line 233

I still new to Laravel and not sure how to fix this error. I tried to have 2 form inside 1 page and both forms do different thing but I end up having this error.

In my views/posts directory, I got create.blade.php and 2 form exists inside it.

First form : {{ Form::open(['route' => 'posts.store', 'files' => true]) }} Second form: {{ Form::open(['route' => array('posts.show',$page = 'show')]) }}

In my postscontroller.php I got

public function create () 
{
    return View::make('posts.create');
}

public function store () 
{
...
}

public function show () 
{
...
}

Lastly, my route

Route::resource('posts','PostsController');

My first form work perfectly fine except my second form. When I click on second form submit button, I end up having "MethodNotAllowedHttpException in RouteCollection.php line 233"

23 Mar
2 years ago

ElvinGizWiz left a reply on Missing Required Parameters For [Route:...]

I changed the code and it worked fine.

{{ Form::open(['route' => array('posts.show',$page='show')]) }}

Thanks for the help.

ElvinGizWiz started a new conversation Missing Required Parameters For [Route:...]

I got 2 buttons which does different thing.

For the first form,

{{ Form::open(['route' => 'posts.store', 'files' => true]) }}

For the second form,

{{ Form::open(['route' => 'posts.show']) }}

With these 2, I get

ErrorException in UrlGenerationException.php line 17: Missing required parameters for [Route: posts.show]

What's the problem over here?

ElvinGizWiz started a new conversation Extract Zip File And Select Png Files

Hi, I am new to Laravel. Is there any ways to extract a zip file and select all the png files from the extracted file and display it out on website? The extracted zip file will have multiple png files as well as other file type.