Laravel error

I updated composer in terminal and upload to server.
All folders uploaded but this error happen
folder structure

htdocs - All files in public folder
- laravel folder - all other files

edit index.php as follow

if (file_exists($maintenance = DIR.‘/laravel/storage/framework/maintenance.php’)) {
require $maintenance;
require DIR.‘/laravel/vendor/autoload.php’;

here error

Warning: require(/home/vol1_3/…/symfony/var-dumper/Resources/functions/dump.php): failed to open stream: No such file or directory in /home/vol1_3/ on line 71

how can solve .

Since you did not provide your website address, make sure your website code is correct.

how edit in env files.

As the error says, the file doesn’t exist or unopenable. Please check if the file exists and the permissions.

You need to upload this file.


1 Like

I already checked in vendor composer , this file exist . I dont know why error happen.

Please provide your URL


Can you please copy lines 69-75 from this file?


function composerRequirebdcb27305ac57e0dc9dcd4a8b0420e4f($fileIdentifier, $file)
    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
        require $file;

        $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

I checked your account and the folder htdocs/laravel/vendor/symfony/var-dumper doesn’t seem to exist. So of course any files in that directory cannot be accessed.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.