mardi 4 septembre 2018

How to change Base URl of a website - Laravel 5.4

I have a website based on laravel 5.4. The site is working fine on my localhost. But when I upload it on my shared hosting. It is giving me an error

"at FileViewFinder->findInPaths('welcome', array('C:\\xampp\\htdocs\\lrl\\resources\\views'))"

C:\xampp\htdocs\lrl\resources\views this is my localhost URL. How can I changed this URl. I have made changes in .env file and I put all the files of public folder at root directory. Also I changed Appserviceprovider.php file.

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Schema;
use DB;
use View;
use Request;

I also cleared the cache but still i am getting this error shown in screenshotenter image description here



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NIZJiM
via IFTTT

Aucun commentaire:

Enregistrer un commentaire