Support the ongoing development of →
Configuration Input Database
Last updated 3 months ago.

Are you getting any errors?

Have you checked permissions of the dir?

Last updated 3 months ago.

I would also suggest enabling debug if you already haven't done so and seeing if it throws anything. Alternatively, check the laravel logs inside /app/storage/logs and hunt if there are exceptions being thrown.

Also have you tried stepping into the post method (if possible using a debugger) - or at the very least using basic echo statements just to check upto where you reach before things go wrong? To isolate the statement from where the error is being generated?

Last updated 3 months ago.

thx for your replies, i actually think it is a permission problem (but i'm not sure how to fix this as i've "chmod -R 777 upload" directory already, should i also chmod /public?

debug is on, but it is not returning anything in the browser, also the error messages in my controller are not being returned. the error i am getting is this one (from the log), to do with line 146 in RouteCollection.php, i'm not sure how to decipher this error.

[2014-11-22 23:18:45] production.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:146
Stack trace:
#0 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1021): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request))
#1 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(989): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request))
#2 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#3 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#4 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#5 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#6 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true)
#7 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#8 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#9 /var/www/web/wilcannia/htdocs/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#10 /var/www/web/wilcannia/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#11 /var/www/web/wilcannia/htdocs/public/index.php(49): Illuminate\Foundation\Application->run()
#12 {main} [] []

i'll try to do some die dumps on the controller - see how that goes


Last updated 3 months ago.

just thought i'd update this post with what caused me nearly a week of tearing my hair out - i don't have any left now!

the whole problem was caused because in the process of validation, an error was thrown because i had two form close statements within a blade - i also had two forms within that blade.

being a newbie and thinking one might be enough i took out the first ...

{{ Form::close(); }}

it was all fixed by putting that statement back, and changing public path in \bootstrap\start.php & host in \croppa\config.php back to default. all working now...

Last updated 3 months ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.