I have a system built in Laravel, the system tries to perform an INCLUDE to a certain file using a server variable, the variable returns the following path /home/someuser/…. I get an error in PHP that the file is not found, even though it is found, when I tried to enter the folder path of the file via FTP, I found the file and everything OK when the routing was
/DOMAIN/…
But when the path is /home/someuser/domain.
I am getting that the file is not found. I realized that it is a problem with promission access, probably to the home folder and to the user’s folder. How can I fix this?
this is the error i am getting
require(/home/affy/domains/****/public_html/vendor/itstructure/laravel-multi-menu/src/../config/multimenu.php): Failed to open stream: No such file or directory
i try to change /home to 777 and /home/affy to 777
i change the ftp setting to allow user outside is folder and now i can get to /home from ftp but i still getting an error