Failed to open stream: No such file or directory in Unknown on line 0 in Laravel

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is Yamin and in this tutorial I am going to show you a solution for a error in laravel and the erode is unknown failed to open Steam no such file or directory in unknown online zero okay and let me just read this error as well fatal erode and do not skip this part just listen to me here uh fail opening required d project Finn dot laravel famous illuminate foundation and here you can see in the resource folder here it is written server.php and there is some more things over here like include pad czamp PR so here you can see server.php this is the issue of our problem so what is happening is that server.pc file is missing in your resource folder so the solution is really simple so first of all you need to go to this resource folder which is inside the vendor folder and we need to create a file server.php so for it we will go to our project and we will directly go to our folder over here you can see vendor folder and inside the vendor folder here you can see laravel folder so we'll go inside this laravel folder then inside the laravel folder we have the framework folder we'll go inside the framework after framework we'll go to this folder SRC source then inside source will find this folder called illuminate and then inside illuminate there is a lot of folder but we need to go to uh this Foundation folder here you can see Foundation will go inside foundation and inside Foundation we will find the folder called resources and here you can see inside resource folder there is no file over here here you can see if I click on it there is no other file inside the resource folder so right now what we'll do is that we'll just right click over here and then click new file and here I am going to say server dot PHP then Ctrl s and Save so right now we have a file inside the resource folder here you can see inside the resource folder we have server.php so right now inside this server.php I am going to paste some code and I will give this code in the first comment so that you can copy it from there so this is the code I am going to copy so Ctrl a control C and I'll paste it inside server.php control V and Ctrl s and I'll give this code in the first comment so do not worry you will find the code over there you can just copy the code and just follow those steps okay so right now if we save it then if we just refresh over here here you can see our problem is gone and we can see the pop-up view in our laravel project so I hope this tutorial was useful to you and I will actually appreciate if you like this video And subscribe this channel thanks again for watching and I'll see you in the next tutorial
Info
Channel: Web Tech Knowledge
Views: 11,045
Rating: undefined out of 5
Keywords: Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0, failed to open stream: no such file or directory laravel, fopen failed to open stream no such file or directory laravel, warning require(vendor/autoload.php) failed to open stream no such file or directory, warning: unknown: failed to open stream: no such file or directory in unknown on line 0, failed to open stream: no such file or directory, server.php' (include_path='C:\xampp\php\PEAR')
Id: KJqrnyyArNw
Channel Id: undefined
Length: 2min 57sec (177 seconds)
Published: Fri Feb 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.