Support the ongoing development of Laravel.io →
Configuration Cache

I am facing a weird issue with laravel. I copied my view from one of my project from the path ..

app/views/frontend/pages/home.blade.php

to the same path in another project

app/views/frontend/pages/home.blade.php

And it is always showing me the error "View not found". BUT, if I create a fresh folder like ..

app/views/fe/pg/home.blade.php it is working fine. Even renaming the "frontend/pages" to "abc/pg" is not working and showing me the same error. Can someone suggest me what's wrong with it.

I though it might be because of application cache so I have run php artisan cache:clear too but it doesn't work :(

Please help!

Thanks

Last updated 2 years ago.
0

I assume you are running your app in a Unix-like OS (Linux, OS X), and using Apache or Nginx as the webserver. You need to check your permissions of the copied files.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

apsdev apsdev Joined 30 Nov 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2025 Laravel.io - All rights reserved.