'Can't run an old laravel project

so i've beein struggling with an old laravel project from 2018 that i can't seen to run. The probem is that the project i splittedinto two folders not a classic laravel one, there's an other one named "httpdocs" and the index.php is there, so i managed to install everything and running the migrations, but noti can't run the website ? idk why it said:

Warning: require(C:\xampp\htdocs\httpdocs/../daddyshop_app/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\httpdocs\index.php on line 24

the autoload.php file exists



Solution 1:[1]

I think this part is wired, see / and \ on the require: require(C:\xampp\htdocs\httpdocs/../daddyshop_app/vendor/autoload.php)

Maybe you are setting wrongly the folder structure, or in the index.php file, you are searching in the wrong path.

For example, try checking paths are correct:

Maybe /../../laravel-app or ../.. or /../laravel-app.

You get the point, make sure paths are correct.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Guille