Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

manish@13's avatar

Upload laravel 5.3 project on cpenal

InvalidArgumentException in /home/amlkocpusr/class.abhishekmishralko.com/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php line 137: View [login] not found.

in FileViewFinder.php line 137 at FileViewFinder->findInPaths('login', array('D:\xampp\htdocs\class-pro\resources\views')) in FileViewFinder.php line 79

how to solive this issue

0 likes
2 replies
Cronix's avatar

looks like you have the path hardcoded to your dev environment. Never seen a cPanel host using windows (D:\xampp...)

Your code should work on any system, not just your dev environment. Try using Config::get('view.paths')[0], which should work everywhere.

Another way is base_path('resources/views')

Please or to participate in this conversation.