Guides & Tutorials7.7 Update TroubleshootingTroubleshooting an Oops FileNotFoundException Error when downloading a file

Troubleshooting an Oops FileNotFoundException Error when downloading a file

Symptoms

After applying the WHMCS 7.7 update, you may encounter an Oops error message when attempting to download a file:

exception 'League\Flysystem\FileNotFoundException' with message 'File not found at path: filename.zip' in /path/to/whmcs/vendor/league/flysystem/src/Filesystem.php:388

Cause

This error occurs when the file in question does not exist on the server in the /downloads directory.

The file that cannot be found is listed in the error message.

Solution

Upload the file to your server.

The file should be present in the Downloads storage location as defined on Setup > Storage Settings

 

For more information on Storage Settings refer to the documentation: http://docs.whmcs.com/Storage_Settings