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 Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    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.