page with form open in laravel 4.2 is not working. it throws this error
Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

Recommended Answers

All 7 Replies

Member Avatar for diafol

A number of things it could be. But you decided not to show your code or markup nor the full error trace. Crystal balls don't really work. http://stackoverflow.com/a/23594166

pls thus the code

@extend('layout')
@section('content')

<h1>Contact Us</h1>
<p>Please Conatct us by sending a message using the form below</p>
{{ HTML::ul($errors->all(), array('class'=>'errors'))}}
{{form::open(array('url'=>'home'))}}
{{form::label('Subject')}}
{{form::text('subject','Enter your Message')}}
<br/>
{{form::label('Message')}}
{{form::textarea('Message','Enter Your Message')}}
<br />
{{form::submit()}}
{{form::close()}}

@stop
Member Avatar for diafol

Did you read the link post?

yes sir

the issue has to do with forms in laravel 4.2 . So i get suggestions of changing some other things in the app.php file. which i have. runned composer update. it like am new to the framework. i really need help.

Member Avatar for diafol

It is almost impossible (IMO) to get to the heart of the problem without seeing your routes, controllers (and possibly models).

true but it working now. i guess laravel is case sensitive. when i changed from form to Form. it worked. Thanks Team Daniweb

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.