0

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

2
Contributors
7
Replies
28
Views
1 Year
Discussion Span
Last Post by SirMahlon
1

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

Edited by diafol

0

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
0

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.

0

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

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.