Friday, March 17, 2017

laravel 5.4 in a local server deployment can't find class

i deployed my laravel application on local server with IP address: 192.168.1.10 and i get the following error: local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Html' not found in C:\xampp\htdocs\Laravel....

that means it's still using local routes even after i deployed it. my .env file

APP_ENV=production
APP_KEY=xxxx
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://192.168.1.10

and my config/app.php file

'url' => env('URL','http://192.168.1.10'),

i even tried

'url' =>'http://192.168.1.10',

any help is appreciated



via Mohamed Gabr

Advertisement