I'm facing a problem in uploading images to server in laravel 5, the problem is some images uploaded normally, and other images breaks the server, and I got this message
The specified URL cannot be found.
I'm using this route in routes.php
Route::any('/{lang}/REGISTER','createAccountController@index');
My class is :
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Foundation\Application;
use App\Http\Requests;
use Request;
use Route;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Lang;
use App\ImageCircleCrop;
class createAccountController extends Controller
{
public function index($lang,Request $request){
// process form data here
}
}
I don't get any error messages in server logs, in fact, the application does not reach the controller code at all. Any help?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire